Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.001482/0.001482, allocations: 109.8 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.001659/0.001659, allocations: 189.2 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.546/1.546, allocations: 207.6 MB / 233.7 MB, free: 10.01 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.2488/0.2488, allocations: 44.23 MB / 330.2 MB, free: 9.562 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.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") [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.002318/0.002318, allocations: 70.41 kB / 467.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1451, allocations: 61.04 MB / 0.5166 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.005642/0.1507, allocations: 2.86 MB / 0.5194 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.1533, allocations: 0.7448 MB / 0.5201 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004637/0.1537, allocations: 11.94 kB / 0.5201 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.1541, allocations: 59.38 kB / 0.5202 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005621/0.1547, allocations: 126.9 kB / 0.5203 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.1552, allocations: 91.81 kB / 0.5204 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006696/0.1559, allocations: 433.9 kB / 0.5208 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/0.1562, allocations: 114 kB / 0.5209 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000325/0.1565, allocations: 175.4 kB / 0.5211 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003468/0.1569, allocations: 175.2 kB / 0.5212 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.928e-05/0.1569, allocations: 32 kB / 0.5213 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-05/0.157, allocations: 32 kB / 0.5213 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.1572, allocations: 79.73 kB / 0.5214 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002988/0.1574, allocations: 199 kB / 0.5216 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008211/0.1583, allocations: 430.2 kB / 0.522 GB, free: 1.316 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1583, allocations: 0 / 0.522 GB, free: 1.316 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1583, allocations: 0 / 0.522 GB, free: 1.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.1583, allocations: 8 kB / 0.522 GB, free: 1.309 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00155/0.1598, allocations: 0.5755 MB / 0.5225 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.723e-05/0.1599, allocations: 8.031 kB / 0.5226 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.1601, allocations: 40.7 kB / 0.5226 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005832/0.1606, allocations: 222.7 kB / 0.5228 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.553e-05/0.1607, allocations: 29.38 kB / 0.5228 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.1608, allocations: 44.33 kB / 0.5229 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.1618, allocations: 390.5 kB / 0.5232 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/0.1618, allocations: 11.95 kB / 0.5233 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.046e-05/0.1619, allocations: 16 kB / 0.5233 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.1619, allocations: 12 kB / 0.5233 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006872/0.1626, allocations: 219.6 kB / 0.5235 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003416/0.166, allocations: 1.675 MB / 0.5251 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006823/0.1667, allocations: 254.4 kB / 0.5254 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.1669, allocations: 90.02 kB / 0.5255 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.167, allocations: 8 kB / 0.5255 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/0.167, allocations: 42.55 kB / 0.5255 GB, free: 13.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.795e-06/0.167, allocations: 7.875 kB / 0.5255 GB, free: 13.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.001115/0.1681, allocations: 269.5 kB / 0.5258 GB, free: 13.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001714/0.1683, allocations: 209.6 kB / 0.526 GB, free: 12.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004294/0.1687, allocations: 272.1 kB / 0.5262 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.1688, allocations: 29.7 kB / 0.5263 GB, free: 12.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.169, allocations: 248.1 kB / 0.5265 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.1692, allocations: 123 kB / 0.5266 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.1694, allocations: 98.39 kB / 0.5267 GB, free: 12.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.1696, allocations: 350.7 kB / 0.527 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/0.1699, allocations: 101.2 kB / 0.5271 GB, free: 11.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006906/0.1706, allocations: 432.8 kB / 0.5275 GB, free: 11.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.1717, allocations: 0.5705 MB / 0.5281 GB, free: 10.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.1717, allocations: 4 kB / 0.5281 GB, free: 10.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001374/0.1731, allocations: 0.5244 MB / 0.5286 GB, free: 9.801 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.1731, allocations: 8 kB / 0.5286 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/0.1731, allocations: 12 kB / 0.5286 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.159e-05/0.1732, allocations: 16.78 kB / 0.5287 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007647/0.1739, allocations: 147.7 kB / 0.5288 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.622e-05/0.174, allocations: 31.86 kB / 0.5288 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005331/0.1745, allocations: 67.56 kB / 0.5289 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-05/0.1746, allocations: 32 kB / 0.5289 GB, free: 9.492 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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.0002875/0.1749, allocations: 181.5 kB / 0.5291 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002629/0.1751, allocations: 31.81 kB / 0.5291 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.1752, allocations: 37.78 kB / 0.5292 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.1752, allocations: 4 kB / 0.5292 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/0.1753, allocations: 8 kB / 0.5292 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.1753, allocations: 3.984 kB / 0.5292 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.1773, allocations: 0.6154 MB / 0.5298 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.1774, allocations: 7.938 kB / 0.5298 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007502/0.1781, allocations: 80.58 kB / 0.5299 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.1781, allocations: 4 kB / 0.5299 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.1782, allocations: 16.05 kB / 0.5299 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-05/0.1782, allocations: 11.88 kB / 0.5299 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.1782, allocations: 8 kB / 0.5299 GB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.1793, allocations: 0.8299 MB / 0.5307 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.557e-05/0.1794, allocations: 27.75 kB / 0.5307 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.796e-05/0.1795, allocations: 12 kB / 0.5307 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005141/0.18, allocations: 15.92 kB / 0.5308 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-05/0.1801, allocations: 23.97 kB / 0.5308 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.1801, allocations: 11.98 kB / 0.5308 GB, free: 7.473 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002811/0.1804, allocations: 179.1 kB / 0.531 GB, free: 7.297 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1804, allocations: 0 / 0.531 GB, free: 7.297 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001442/0.1818, allocations: 103.8 kB / 0.5311 GB, free: 7.195 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * 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.0001936/0.182, allocations: 119.1 kB / 0.5312 GB, free: 7.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008676/0.1829, allocations: 282.2 kB / 0.5315 GB, free: 6.797 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1829, allocations: 0 / 0.5315 GB, free: 6.797 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002597/0.1831, allocations: 87.83 kB / 0.5315 GB, free: 6.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.185, allocations: 69.62 kB / 0.5316 GB, free: 6.641 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/0.1887, allocations: 1.562 MB / 0.5331 GB, free: 5.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006963/0.1894, allocations: 0.7912 MB / 0.5339 GB, free: 4.203 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002362/0.1896, allocations: 43.27 kB / 0.5339 GB, free: 4.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.1897, allocations: 27.44 kB / 0.534 GB, free: 4.133 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1897, allocations: 0 / 0.534 GB, free: 4.133 MB / 414.1 MB Notification: Performance of Templates: time 0.01226/0.202, allocations: 3.315 MB / 0.5372 GB, free: 0.8281 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.558793508447707]