Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002482/0.002482, allocations: 212.8 kB / 22.98 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2436/0.2436, allocations: 44.26 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002659/0.002659, allocations: 71.84 kB / 468 MB, free: 3.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1472, allocations: 61.05 MB / 0.5166 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.005371/0.1525, allocations: 2.799 MB / 0.5194 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000933/0.1535, allocations: 422.4 kB / 0.5198 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.1536, allocations: 11.94 kB / 0.5198 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.1538, allocations: 63.31 kB / 0.5198 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.1541, allocations: 170.5 kB / 0.52 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.1544, allocations: 99.88 kB / 0.5201 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005798/0.155, allocations: 0.5364 MB / 0.5206 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.1552, allocations: 109.2 kB / 0.5207 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003548/0.1556, allocations: 215.3 kB / 0.5209 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.1559, allocations: 191 kB / 0.5211 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.185e-05/0.1559, allocations: 40 kB / 0.5212 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.374e-05/0.156, allocations: 40 kB / 0.5212 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.1561, allocations: 95.69 kB / 0.5213 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002476/0.1564, allocations: 207.1 kB / 0.5215 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006758/0.157, allocations: 0.533 MB / 0.522 GB, free: 1.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.157, allocations: 3.938 kB / 0.522 GB, free: 1.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.157, allocations: 0 / 0.522 GB, free: 1.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.1571, allocations: 0 / 0.522 GB, free: 1.137 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001088/0.1581, allocations: 0.6533 MB / 0.5226 GB, free: 460 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1582, allocations: 8.031 kB / 0.5227 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.1583, allocations: 56.61 kB / 0.5227 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.1586, allocations: 241.5 kB / 0.5229 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.527e-05/0.1587, allocations: 29.38 kB / 0.523 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.321e-05/0.1588, allocations: 60.33 kB / 0.523 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008305/0.1596, allocations: 454.7 kB / 0.5235 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.271e-05/0.1596, allocations: 12.08 kB / 0.5235 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.191e-05/0.1597, allocations: 27.94 kB / 0.5235 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.1597, allocations: 12 kB / 0.5235 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004388/0.1601, allocations: 255.7 kB / 0.5238 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.1625, allocations: 1.5 MB / 0.5252 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/0.163, allocations: 403.6 kB / 0.5256 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.1633, allocations: 147.7 kB / 0.5257 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1633, allocations: 8 kB / 0.5258 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/0.1633, allocations: 50.48 kB / 0.5258 GB, free: 12.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 1.793e-06/0.1633, allocations: 0 / 0.5258 GB, free: 12.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008116/0.1641, allocations: 353.4 kB / 0.5261 GB, free: 12.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002151/0.1644, allocations: 269 kB / 0.5264 GB, free: 12.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.1646, allocations: 246.5 kB / 0.5266 GB, free: 12.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.1647, allocations: 41.69 kB / 0.5267 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.1649, allocations: 252.1 kB / 0.5269 GB, free: 11.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.1651, allocations: 190.4 kB / 0.5271 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.1653, allocations: 118.6 kB / 0.5272 GB, free: 11.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002828/0.1655, allocations: 346.8 kB / 0.5275 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.1657, allocations: 114 kB / 0.5276 GB, free: 10.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006469/0.1664, allocations: 417.6 kB / 0.528 GB, free: 10.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008025/0.1672, allocations: 0.5732 MB / 0.5286 GB, free: 9.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.1672, allocations: 4 kB / 0.5286 GB, free: 9.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009341/0.1681, allocations: 0.5672 MB / 0.5292 GB, free: 9.152 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.1682, allocations: 8 kB / 0.5292 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.1682, allocations: 12 kB / 0.5292 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.687e-05/0.1682, allocations: 12.75 kB / 0.5292 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/0.1688, allocations: 183.7 kB / 0.5294 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.773e-05/0.1688, allocations: 23.86 kB / 0.5294 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.1691, allocations: 64.2 kB / 0.5295 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.406e-05/0.1692, allocations: 32 kB / 0.5295 GB, free: 8.824 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002873/0.1694, allocations: 185.5 kB / 0.5297 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.1696, allocations: 35.81 kB / 0.5297 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.767e-05/0.1697, allocations: 45.64 kB / 0.5297 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.1697, allocations: 8 kB / 0.5297 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.1697, allocations: 7.938 kB / 0.5298 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.1697, allocations: 7.984 kB / 0.5298 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008999/0.1706, allocations: 305 kB / 0.53 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.1707, allocations: 4 kB / 0.5301 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005401/0.1712, allocations: 123.9 kB / 0.5302 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.1712, allocations: 4 kB / 0.5302 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.1712, allocations: 15.92 kB / 0.5302 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.1712, allocations: 4 kB / 0.5302 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.1713, allocations: 7.938 kB / 0.5302 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009829/0.1722, allocations: 1.083 MB / 0.5313 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/0.1723, allocations: 39.64 kB / 0.5313 GB, free: 6.895 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/0.1723, allocations: 16 kB / 0.5313 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.1727, allocations: 12 kB / 0.5313 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.1728, allocations: 43.8 kB / 0.5314 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.1728, allocations: 12 kB / 0.5314 GB, free: 6.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.173, allocations: 161.2 kB / 0.5315 GB, free: 6.652 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.173, allocations: 0 / 0.5315 GB, free: 6.652 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008207/0.1738, allocations: 135.8 kB / 0.5317 GB, free: 6.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002206/0.174, allocations: 111.2 kB / 0.5318 GB, free: 6.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005633/0.1746, allocations: 337.5 kB / 0.5321 GB, free: 6.074 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1746, allocations: 0 / 0.5321 GB, free: 6.074 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.1748, allocations: 124.6 kB / 0.5322 GB, free: 5.953 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.176, allocations: 93.72 kB / 0.5323 GB, free: 5.863 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.1791, allocations: 1.973 MB / 0.5342 GB, free: 3.836 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.1794, allocations: 232.3 kB / 0.5344 GB, free: 3.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001762/0.1796, allocations: 51.44 kB / 0.5345 GB, free: 3.539 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.17e-05/0.1797, allocations: 31.44 kB / 0.5345 GB, free: 3.508 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1797, allocations: 0 / 0.5345 GB, free: 3.508 MB / 414.1 MB Notification: Performance of Templates: time 0.2482/0.4279, allocations: 4.728 MB / 0.5391 GB, free: 27.36 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.944485394284129]