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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 105 kB / 18.9 MB, free: 3.164 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 197.9 kB / 22.06 MB, free: 16 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 207.6 MB / 232.6 MB, free: 11.05 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2403/0.2403, allocations: 44.24 MB / 328.9 MB, free: 10.14 MB / 270.1 MB [Timeout remaining time 89] 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 71.89 kB / 465.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1543, allocations: 61 MB / 0.5146 GB, free: 8.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004436/0.1587, allocations: 2.539 MB / 0.517 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.16, allocations: 0.6513 MB / 0.5177 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.1601, allocations: 4 kB / 0.5177 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.1603, allocations: 47.56 kB / 0.5177 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.1605, allocations: 71.34 kB / 0.5178 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.1608, allocations: 63.91 kB / 0.5179 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004199/0.1612, allocations: 290.7 kB / 0.5181 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.1614, allocations: 72.52 kB / 0.5182 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.1616, allocations: 115.6 kB / 0.5183 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.1618, allocations: 115.5 kB / 0.5184 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.1618, allocations: 24 kB / 0.5184 GB, free: 4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.654e-05/0.1619, allocations: 28 kB / 0.5185 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.783e-05/0.1619, allocations: 51.84 kB / 0.5185 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.1621, allocations: 127.4 kB / 0.5186 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.1625, allocations: 278.8 kB / 0.5189 GB, free: 3.523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1625, allocations: 0 / 0.5189 GB, free: 3.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1625, allocations: 0 / 0.5189 GB, free: 3.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.1625, allocations: 0 / 0.5189 GB, free: 3.523 MB / 398.1 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.00106/0.1636, allocations: 0.5416 MB / 0.5194 GB, free: 2.934 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1636, allocations: 11.89 kB / 0.5194 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.479e-05/0.1637, allocations: 24.8 kB / 0.5195 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.1641, allocations: 252.4 kB / 0.5197 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.1642, allocations: 16.81 kB / 0.5197 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.1642, allocations: 20.38 kB / 0.5197 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.1646, allocations: 191.6 kB / 0.5199 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1646, allocations: 4 kB / 0.5199 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.1646, allocations: 11.94 kB / 0.5199 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.1646, allocations: 8 kB / 0.5199 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.1649, allocations: 141.6 kB / 0.5201 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.1663, allocations: 0.8027 MB / 0.5209 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.1665, allocations: 98.42 kB / 0.521 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.527e-05/0.1666, allocations: 44.84 kB / 0.521 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.1666, allocations: 0 / 0.521 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.1667, allocations: 30.56 kB / 0.521 GB, free: 1.152 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 8.32e-07/0.1667, allocations: 0 / 0.521 GB, free: 1.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.00185/0.1685, allocations: 0.718 MB / 0.5217 GB, free: 384 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.1686, allocations: 51.41 kB / 0.5218 GB, free: 320 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.1688, allocations: 215.7 kB / 0.522 GB, free: 92 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.1688, allocations: 33.7 kB / 0.522 GB, free: 52 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.169, allocations: 172.1 kB / 0.5222 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.361e-05/0.169, allocations: 51.55 kB / 0.5222 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.32e-05/0.1691, allocations: 49.66 kB / 0.5223 GB, free: 15.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1693, allocations: 334.8 kB / 0.5226 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.1694, allocations: 55.97 kB / 0.5227 GB, free: 15.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.1696, allocations: 105.1 kB / 0.5228 GB, free: 15.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.1699, allocations: 173 kB / 0.5229 GB, free: 15.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1699, allocations: 4 kB / 0.5229 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005378/0.1705, allocations: 278.9 kB / 0.5232 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1705, allocations: 8 kB / 0.5232 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1705, allocations: 4.156 kB / 0.5232 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002532/0.1707, allocations: 73.66 kB / 0.5233 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.1709, allocations: 39.91 kB / 0.5233 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002706/0.1736, allocations: 3.002 MB / 0.5262 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.1737, allocations: 19.95 kB / 0.5263 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.1738, allocations: 8 kB / 0.5263 GB, free: 11.34 MB / 414.1 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.0001883/0.174, allocations: 141.8 kB / 0.5264 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.174, allocations: 24 kB / 0.5264 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.41e-05/0.1741, allocations: 29.84 kB / 0.5265 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1741, allocations: 0 / 0.5265 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.1741, allocations: 7.938 kB / 0.5265 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1741, allocations: 0 / 0.5265 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003609/0.1744, allocations: 285.4 kB / 0.5267 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1744, allocations: 4 kB / 0.5267 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.829e-05/0.1745, allocations: 19.92 kB / 0.5268 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002044/0.1747, allocations: 69.67 kB / 0.5268 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1748, allocations: 4 kB / 0.5268 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002662/0.1774, allocations: 3.009 MB / 0.5298 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1774, allocations: 0 / 0.5298 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006723/0.1781, allocations: 398.6 kB / 0.5301 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.764e-05/0.1782, allocations: 89.05 kB / 0.5302 GB, free: 6.895 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.1782, allocations: 4 kB / 0.5302 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.1784, allocations: 19.98 kB / 0.5303 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.1784, allocations: 11.97 kB / 0.5303 GB, free: 6.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.1784, allocations: 8 kB / 0.5303 GB, free: 6.852 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001664/0.1786, allocations: 157.5 kB / 0.5304 GB, free: 6.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1786, allocations: 0 / 0.5304 GB, free: 6.699 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003626/0.179, allocations: 64 kB / 0.5305 GB, free: 6.637 MB / 414.1 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.0001303/0.1791, allocations: 103.2 kB / 0.5306 GB, free: 6.523 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007244/0.1798, allocations: 401.2 kB / 0.531 GB, free: 6.105 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1798, allocations: 0 / 0.531 GB, free: 6.105 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004436/0.1803, allocations: 320.9 kB / 0.5313 GB, free: 5.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.1806, allocations: 40.22 kB / 0.5313 GB, free: 5.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.1817, allocations: 0.5454 MB / 0.5318 GB, free: 5.156 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.1821, allocations: 0.748 MB / 0.5326 GB, free: 4.383 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.659e-05/0.1822, allocations: 19.42 kB / 0.5326 GB, free: 4.363 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1822, allocations: 0 / 0.5326 GB, free: 4.363 MB / 414.1 MB Notification: Performance of Templates: time 0.2836/0.4658, allocations: 4.547 MB / 0.537 GB, free: 28.39 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches