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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 107.2 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 192.9 kB / 22.98 MB, free: 5.062 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.624/1.624, allocations: 207.6 MB / 233.7 MB, free: 10 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.2571/0.2571, allocations: 44.24 MB / 330.2 MB, free: 9.551 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.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.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.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.002223/0.002223, allocations: 71.89 kB / 467.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1468, allocations: 61.03 MB / 0.5166 GB, free: 6.879 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.005264/0.1521, allocations: 3.094 MB / 0.5196 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1533, allocations: 414.5 kB / 0.52 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004256/0.1538, allocations: 11.94 kB / 0.52 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.154, allocations: 67.3 kB / 0.5201 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006368/0.1547, allocations: 170.5 kB / 0.5202 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.155, allocations: 95.88 kB / 0.5203 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008238/0.1559, allocations: 0.5442 MB / 0.5209 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003074/0.1562, allocations: 117.2 kB / 0.521 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003723/0.1565, allocations: 207.4 kB / 0.5212 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003169/0.1569, allocations: 215 kB / 0.5214 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.652e-05/0.1569, allocations: 40 kB / 0.5214 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.378e-05/0.157, allocations: 43.94 kB / 0.5215 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.865e-05/0.1571, allocations: 95.67 kB / 0.5215 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000291/0.1574, allocations: 258.8 kB / 0.5218 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000625/0.158, allocations: 0.5174 MB / 0.5223 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.158, allocations: 3.984 kB / 0.5223 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.158, allocations: 0 / 0.5223 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.158, allocations: 0 / 0.5223 GB, free: 0.9922 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.001049/0.1591, allocations: 0.6494 MB / 0.5229 GB, free: 316 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1591, allocations: 8.031 kB / 0.5229 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.599e-05/0.1592, allocations: 56.61 kB / 0.523 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.1596, allocations: 241.5 kB / 0.5232 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.1596, allocations: 33.38 kB / 0.5233 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.164e-05/0.1597, allocations: 60.31 kB / 0.5233 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007552/0.1605, allocations: 454.7 kB / 0.5237 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.786e-05/0.1605, allocations: 16.06 kB / 0.5238 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.173e-05/0.1606, allocations: 23.94 kB / 0.5238 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.1606, allocations: 12 kB / 0.5238 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004402/0.161, allocations: 263.7 kB / 0.524 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.1634, allocations: 1.636 MB / 0.5256 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005624/0.1639, allocations: 403.9 kB / 0.526 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.1641, allocations: 151.8 kB / 0.5262 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.1642, allocations: 11.92 kB / 0.5262 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.1642, allocations: 46.5 kB / 0.5262 GB, free: 12.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 1.763e-06/0.1642, allocations: 0 / 0.5262 GB, free: 12.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007848/0.165, allocations: 361 kB / 0.5266 GB, free: 12.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/0.1652, allocations: 269 kB / 0.5268 GB, free: 11.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.1655, allocations: 254.6 kB / 0.5271 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.1655, allocations: 33.7 kB / 0.5271 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.1657, allocations: 252.2 kB / 0.5273 GB, free: 11.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.1658, allocations: 190.4 kB / 0.5275 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.166, allocations: 110.6 kB / 0.5276 GB, free: 11.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.1662, allocations: 346.8 kB / 0.528 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.1664, allocations: 121.9 kB / 0.5281 GB, free: 10.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004882/0.1669, allocations: 421.6 kB / 0.5285 GB, free: 10.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007512/0.1676, allocations: 0.5771 MB / 0.529 GB, free: 9.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.1676, allocations: 0 / 0.529 GB, free: 9.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008998/0.1685, allocations: 0.5682 MB / 0.5296 GB, free: 8.836 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.1686, allocations: 16.25 kB / 0.5296 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.1686, allocations: 11.98 kB / 0.5296 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.689e-05/0.1686, allocations: 16 kB / 0.5296 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/0.1692, allocations: 179.7 kB / 0.5298 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.213e-05/0.1692, allocations: 27.92 kB / 0.5298 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/0.1695, allocations: 59.56 kB / 0.5299 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.1695, allocations: 32 kB / 0.5299 GB, free: 8.5 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.0002252/0.1698, allocations: 185.6 kB / 0.5301 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/0.17, allocations: 43.75 kB / 0.5301 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.1701, allocations: 45.7 kB / 0.5302 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.1701, allocations: 7.938 kB / 0.5302 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.1701, allocations: 4 kB / 0.5302 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.1701, allocations: 4 kB / 0.5302 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.1712, allocations: 388.2 kB / 0.5306 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/0.1712, allocations: 4 kB / 0.5306 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005688/0.1717, allocations: 123.9 kB / 0.5307 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.1717, allocations: 7.984 kB / 0.5307 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.1718, allocations: 12 kB / 0.5307 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.5e-05/0.1718, allocations: 19.86 kB / 0.5307 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.1718, allocations: 4 kB / 0.5307 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009672/0.1728, allocations: 1.075 MB / 0.5318 GB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.147e-05/0.1728, allocations: 39.7 kB / 0.5318 GB, free: 6.473 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/0.1729, allocations: 8 kB / 0.5318 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.1733, allocations: 15.94 kB / 0.5319 GB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.1733, allocations: 31.94 kB / 0.5319 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.1733, allocations: 8 kB / 0.5319 GB, free: 6.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001781/0.1735, allocations: 177.2 kB / 0.5321 GB, free: 6.234 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1735, allocations: 0 / 0.5321 GB, free: 6.234 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008276/0.1744, allocations: 139.7 kB / 0.5322 GB, free: 6.098 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.0002081/0.1746, allocations: 115.1 kB / 0.5323 GB, free: 5.977 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005603/0.1751, allocations: 333.8 kB / 0.5326 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1751, allocations: 0 / 0.5326 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.1753, allocations: 124.6 kB / 0.5327 GB, free: 5.531 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.1765, allocations: 97.48 kB / 0.5328 GB, free: 5.438 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.1795, allocations: 1.981 MB / 0.5348 GB, free: 3.402 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000569/0.1801, allocations: 0.8235 MB / 0.5356 GB, free: 2.555 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001781/0.1803, allocations: 52.14 kB / 0.5356 GB, free: 2.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.814e-05/0.1803, allocations: 35.44 kB / 0.5357 GB, free: 2.465 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1803, allocations: 4 kB / 0.5357 GB, free: 2.461 MB / 414.1 MB Notification: Performance of Templates: time 0.2957/0.476, allocations: 4.53 MB / 0.5401 GB, free: 26.32 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.779558651149273]