Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001565, allocations: 187 kB / 16.63 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 90.3 kB / 269.9 MB, free: 8.449 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3821/0.3821, allocations: 43.49 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001097, allocations: 59.91 kB / 429.2 MB, free: 6.414 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1595, allocations: 57.77 MB / 487 MB, free: 12.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004448/0.164, allocations: 2.566 MB / 489.6 MB, free: 9.984 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.1652, allocations: 0.6474 MB / 490.2 MB, free: 9.328 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.1654, allocations: 4 kB / 490.2 MB, free: 9.324 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.1656, allocations: 35.77 kB / 490.3 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.1657, allocations: 63.45 kB / 490.3 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.166, allocations: 51.95 kB / 490.4 MB, free: 9.176 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003198/0.1663, allocations: 274.8 kB / 490.6 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.1666, allocations: 81 kB / 490.7 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.1667, allocations: 115.6 kB / 490.8 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.1669, allocations: 111.4 kB / 490.9 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.1669, allocations: 16 kB / 491 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.201e-05/0.167, allocations: 16 kB / 491 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/0.167, allocations: 39.84 kB / 491 MB, free: 8.531 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.1672, allocations: 123.4 kB / 491.1 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.1675, allocations: 271.2 kB / 491.4 MB, free: 8.145 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1675, allocations: 0 / 491.4 MB, free: 8.145 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1675, allocations: 0 / 491.4 MB, free: 8.145 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1675, allocations: 0 / 491.4 MB, free: 8.145 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008722/0.1684, allocations: 0.5302 MB / 491.9 MB, free: 7.566 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1684, allocations: 12.03 kB / 491.9 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.287e-05/0.1685, allocations: 28.66 kB / 492 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.1688, allocations: 247.7 kB / 492.2 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1688, allocations: 16.81 kB / 492.2 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.176e-05/0.1689, allocations: 20.38 kB / 492.2 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.1692, allocations: 195.6 kB / 492.4 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1693, allocations: 0 / 492.4 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.1693, allocations: 8 kB / 492.4 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.1693, allocations: 8 kB / 492.4 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.1696, allocations: 141.7 kB / 492.6 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.1708, allocations: 0.8024 MB / 493.4 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.171, allocations: 102.5 kB / 493.5 MB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.935e-05/0.1711, allocations: 40.84 kB / 493.5 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.1711, allocations: 4.188 kB / 493.5 MB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.1712, allocations: 42.48 kB / 493.6 MB, free: 5.773 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.136e-06/0.1712, allocations: 3.984 kB / 493.6 MB, free: 5.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001648/0.1728, allocations: 0.7173 MB / 494.3 MB, free: 4.992 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.1729, allocations: 51.41 kB / 494.3 MB, free: 4.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.1731, allocations: 211.8 kB / 494.6 MB, free: 4.715 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.1732, allocations: 25.7 kB / 494.6 MB, free: 4.684 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.1733, allocations: 171.8 kB / 494.7 MB, free: 4.512 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.1733, allocations: 55.89 kB / 494.8 MB, free: 4.457 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.1734, allocations: 41.62 kB / 494.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1736, allocations: 338.8 kB / 495.2 MB, free: 4.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.1737, allocations: 59.97 kB / 495.2 MB, free: 4.012 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.1739, allocations: 105.1 kB / 495.3 MB, free: 3.891 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.1742, allocations: 176.9 kB / 495.5 MB, free: 3.699 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1742, allocations: 7.938 kB / 495.5 MB, free: 3.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004996/0.1747, allocations: 282.5 kB / 495.8 MB, free: 3.406 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1747, allocations: 7.938 kB / 495.8 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1747, allocations: 4 kB / 495.8 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002371/0.175, allocations: 65.67 kB / 495.9 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.1751, allocations: 27.98 kB / 495.9 MB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.1775, allocations: 2.815 MB / 498.7 MB, free: 216 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.1776, allocations: 8 kB / 498.7 MB, free: 208 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.1776, allocations: 8 kB / 498.7 MB, free: 200 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.1778, allocations: 145.8 kB / 498.9 MB, free: 44 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.1779, allocations: 19.81 kB / 498.9 MB, free: 24 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.383e-05/0.1779, allocations: 25.89 kB / 498.9 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1779, allocations: 0 / 498.9 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.1779, allocations: 4 kB / 498.9 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.178, allocations: 3.984 kB / 498.9 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.1783, allocations: 281.6 kB / 499.2 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1783, allocations: 4 kB / 499.2 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.072e-05/0.1784, allocations: 15.98 kB / 499.2 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001774/0.1786, allocations: 69.67 kB / 499.3 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.1786, allocations: 11.92 kB / 499.3 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/0.1808, allocations: 2.784 MB / 0.4903 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/0.1808, allocations: 12.02 kB / 0.4903 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003661/0.1845, allocations: 3.324 MB / 0.4936 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/0.1846, allocations: 100.9 kB / 0.4937 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.1846, allocations: 0 / 0.4937 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.1848, allocations: 15.98 kB / 0.4937 GB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.046e-05/0.1849, allocations: 19.97 kB / 0.4937 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.1849, allocations: 4 kB / 0.4937 GB, free: 8.734 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000156/0.185, allocations: 161.6 kB / 0.4939 GB, free: 8.578 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.185, allocations: 0 / 0.4939 GB, free: 8.578 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004818/0.1855, allocations: 88 kB / 0.4939 GB, free: 8.492 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001275/0.1857, allocations: 95.25 kB / 0.494 GB, free: 8.391 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007238/0.1864, allocations: 413.1 kB / 0.4944 GB, free: 7.961 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.1864, allocations: 3.938 kB / 0.4944 GB, free: 7.957 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000435/0.1869, allocations: 321.3 kB / 0.4947 GB, free: 7.617 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.1873, allocations: 40.27 kB / 0.4948 GB, free: 7.578 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.1886, allocations: 0.8853 MB / 0.4956 GB, free: 6.641 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.189, allocations: 0.748 MB / 0.4964 GB, free: 5.867 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.1891, allocations: 17.95 kB / 0.4964 GB, free: 5.848 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.1892, allocations: 15.44 kB / 0.4964 GB, free: 5.832 MB / 394.7 MB Notification: Performance of SimCode: time 1.91e-07/0.1892, allocations: 0 / 0.4964 GB, free: 5.832 MB / 394.7 MB Notification: Performance of Templates: time 0.00633/0.1955, allocations: 3.01 MB / 0.4993 GB, free: 2.832 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches