Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009491/0.0009491, allocations: 179.2 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.6 MB / 223.7 MB, free: 8.961 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006959/0.0006957, allocations: 94.36 kB / 272.1 MB, free: 8.148 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003344, allocations: 4 kB / 329 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.225, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.01915/0.2442, allocations: 25.76 MB / 402.4 MB, free: 22.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01376/0.258, allocations: 8.522 MB / 410.9 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00623/0.2643, allocations: 207.3 kB / 411.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006298/0.2706, allocations: 2.026 MB / 413.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01086/0.2815, allocations: 3.245 MB / 416.4 MB, free: 8.203 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005006/0.2865, allocations: 2.199 MB / 418.6 MB, free: 5.898 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02015/0.3067, allocations: 18.51 MB / 437.1 MB, free: 3.316 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08523/0.392, allocations: 54.37 MB / 491.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01443/0.4065, allocations: 7.319 MB / 498.8 MB, free: 2.742 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3414/0.7479, allocations: 8.626 MB / 0.4955 GB, free: 49.21 MB / 378.8 MB Notification: Performance of NFPackage.collectConstants: time 0.004126/0.752, allocations: 1.168 MB / 0.4966 GB, free: 49.21 MB / 378.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005313/0.7574, allocations: 1.403 MB / 0.498 GB, free: 49.21 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003611/0.761, allocations: 3.529 MB / 0.5014 GB, free: 49.21 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01502/0.776, allocations: 8.744 MB / 0.51 GB, free: 47.33 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0316/0.8077, allocations: 37.29 MB / 0.5464 GB, free: 27.72 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.8077, allocations: 3.188 kB / 0.5464 GB, free: 27.72 MB / 378.8 MB Notification: Performance of FrontEnd: time 2.184e-06/0.8077, allocations: 0 / 0.5464 GB, free: 27.72 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.00122/0.809, allocations: 0 / 0.5464 GB, free: 27.72 MB / 378.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.04688/0.8559, allocations: 18.8 MB / 0.5648 GB, free: 13.88 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.8559, allocations: 16.03 kB / 0.5648 GB, free: 13.87 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06084/0.9168, allocations: 12.34 MB / 0.5768 GB, free: 2.309 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02194/0.9387, allocations: 10.56 MB / 0.5871 GB, free: 11.97 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001476/0.9403, allocations: 1.398 MB / 0.5885 GB, free: 11.18 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007704/0.948, allocations: 1.828 MB / 0.5903 GB, free: 9.961 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08053/1.029, allocations: 30.75 MB / 0.6203 GB, free: 11.55 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000618/1.029, allocations: 13.78 kB / 0.6203 GB, free: 11.54 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006447/1.036, allocations: 0.7578 MB / 0.6211 GB, free: 10.79 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001138/1.037, allocations: 0.9879 MB / 0.622 GB, free: 9.805 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2885/1.325, allocations: 27.75 MB / 0.6491 GB, free: 133.7 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1555/1.481, allocations: 94.63 MB / 0.7415 GB, free: 72.53 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03019/1.511, allocations: 53.34 MB / 0.7936 GB, free: 14.31 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01013/1.521, allocations: 5.895 MB / 0.7994 GB, free: 8.402 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02646/1.548, allocations: 16.88 MB / 0.8159 GB, free: 7.199 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.583e-05/1.548, allocations: 77.95 kB / 0.816 GB, free: 7.113 MB / 474.8 MB Notification: Performance of pre-optimization done (n=439): time 5.01e-06/1.548, allocations: 0 / 0.816 GB, free: 7.113 MB / 474.8 MB Notification: Performance of matching and sorting (n=439): time 0.03139/1.579, allocations: 13.43 MB / 0.8291 GB, free: 9.641 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/1.579, allocations: 120.5 kB / 0.8292 GB, free: 9.504 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01196/1.591, allocations: 7.434 MB / 0.8364 GB, free: 2.078 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007346/1.592, allocations: 97.69 kB / 0.8365 GB, free: 1.977 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.1932/1.785, allocations: 8.515 MB / 0.8449 GB, free: 161.3 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001578/1.787, allocations: 1.592 MB / 0.8464 GB, free: 160.4 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006302/1.788, allocations: 218.4 kB / 0.8466 GB, free: 160.4 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0004917/1.788, allocations: 0.7621 MB / 0.8474 GB, free: 160.1 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006725/1.795, allocations: 4.739 MB / 0.852 GB, free: 160 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009224/1.804, allocations: 10.44 MB / 0.8622 GB, free: 150.9 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01642/1.82, allocations: 16.1 MB / 0.8779 GB, free: 138.3 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003092/1.821, allocations: 55.44 kB / 0.878 GB, free: 138.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.02271/1.843, allocations: 16.08 MB / 0.8937 GB, free: 131.8 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/1.844, allocations: 91.94 kB / 0.8937 GB, free: 131.7 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002541/1.844, allocations: 196 kB / 0.8939 GB, free: 131.5 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005005/1.849, allocations: 1.702 MB / 0.8956 GB, free: 130.2 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007111/1.856, allocations: 2.498 MB / 0.898 GB, free: 128 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/1.868, allocations: 10.78 MB / 0.9086 GB, free: 118.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008845/1.876, allocations: 1.552 MB / 0.9101 GB, free: 117.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001192/1.878, allocations: 0.6044 MB / 0.9107 GB, free: 116.5 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1318): * Single equations (assignments): 1309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01042/1.888, allocations: 7.397 MB / 0.9179 GB, free: 110.3 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000908/1.889, allocations: 0.6338 MB / 0.9185 GB, free: 109.6 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/1.899, allocations: 8.23 MB / 0.9265 GB, free: 102.7 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007499/1.907, allocations: 6.611 MB / 0.933 GB, free: 97.01 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/1.907, allocations: 12 kB / 0.933 GB, free: 97 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-05/1.907, allocations: 22.97 kB / 0.933 GB, free: 97 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02695/1.934, allocations: 20.99 MB / 0.9535 GB, free: 76.28 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/1.934, allocations: 0 / 0.9535 GB, free: 76.28 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002885/1.937, allocations: 0.7645 MB / 0.9543 GB, free: 75.52 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004518/1.941, allocations: 1.454 MB / 0.9557 GB, free: 74.06 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002581/1.942, allocations: 91.98 kB / 0.9558 GB, free: 73.97 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01223/1.954, allocations: 10.42 MB / 0.966 GB, free: 63.42 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.954, allocations: 0 / 0.966 GB, free: 63.42 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/1.967, allocations: 11.93 MB / 0.9776 GB, free: 51.44 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002336/1.969, allocations: 1.382 MB / 0.979 GB, free: 50.03 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006775/1.97, allocations: 76 kB / 0.979 GB, free: 49.95 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002341/1.972, allocations: 303.6 kB / 0.9793 GB, free: 49.66 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005723/1.973, allocations: 307.8 kB / 0.9796 GB, free: 49.36 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002441/1.973, allocations: 124 kB / 0.9797 GB, free: 49.23 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.006239/1.979, allocations: 4.871 MB / 0.9845 GB, free: 44.38 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.5e-07/1.979, allocations: 0 / 0.9845 GB, free: 44.38 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.009705/1.989, allocations: 4.188 MB / 0.9886 GB, free: 40.18 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (source.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (387): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000682/1.99, allocations: 277.2 kB / 0.9888 GB, free: 39.92 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01395/2.004, allocations: 11.07 MB / 0.9997 GB, free: 28.87 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/2.004, allocations: 8.062 kB / 0.9997 GB, free: 28.86 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004607/2.008, allocations: 4.022 MB / 1.004 GB, free: 24.82 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00731/2.016, allocations: 1.45 MB / 1.005 GB, free: 23.37 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2533/2.269, allocations: 37.62 MB / 1.042 GB, free: 138.1 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01898/2.288, allocations: 11.61 MB / 1.053 GB, free: 136.5 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.01166/2.3, allocations: 3.981 MB / 1.057 GB, free: 136.1 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001677/2.301, allocations: 0.503 MB / 1.057 GB, free: 136.1 MB / 490.8 MB Notification: Performance of SimCode: time 9.92e-07/2.302, allocations: 0 / 1.057 GB, free: 136.1 MB / 490.8 MB Notification: Performance of Templates: time 0.1457/2.447, allocations: 95.01 MB / 1.15 GB, free: 46.26 MB / 490.8 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches