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.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.001514/0.001514, 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.001904/0.001904, allocations: 219.1 kB / 22.99 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.608/1.608, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.2529/0.2529, allocations: 44.27 MB / 330.3 MB, free: 9.297 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.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.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.00234/0.00234, allocations: 71.84 kB / 468 MB, free: 3.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1628, allocations: 61.05 MB / 0.5166 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004625/0.1674, allocations: 2.63 MB / 0.5192 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.1688, allocations: 0.7215 MB / 0.5199 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.169, allocations: 11.94 kB / 0.5199 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.1692, allocations: 59.39 kB / 0.52 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.1695, allocations: 126.9 kB / 0.5201 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.1698, allocations: 87.88 kB / 0.5202 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000492/0.1703, allocations: 429.9 kB / 0.5206 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.1705, allocations: 106 kB / 0.5207 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.1708, allocations: 179.3 kB / 0.5209 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.171, allocations: 147.2 kB / 0.521 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.751e-05/0.171, allocations: 36 kB / 0.521 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.42e-05/0.1711, allocations: 32 kB / 0.5211 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.835e-05/0.1712, allocations: 79.69 kB / 0.5212 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.1714, allocations: 163.3 kB / 0.5213 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005717/0.172, allocations: 434.2 kB / 0.5217 GB, free: 1.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.172, allocations: 0 / 0.5217 GB, free: 1.422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.172, allocations: 0 / 0.5217 GB, free: 1.422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.172, allocations: 4 kB / 0.5217 GB, free: 1.418 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.001078/0.1731, allocations: 0.5794 MB / 0.5223 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1731, allocations: 12.03 kB / 0.5223 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.858e-05/0.1732, allocations: 40.7 kB / 0.5223 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.1736, allocations: 214.7 kB / 0.5225 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.1737, allocations: 29.38 kB / 0.5226 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-05/0.1737, allocations: 48.33 kB / 0.5226 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006935/0.1744, allocations: 394.5 kB / 0.523 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.1745, allocations: 11.89 kB / 0.523 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.1745, allocations: 16 kB / 0.523 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/0.1745, allocations: 8.047 kB / 0.523 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/0.175, allocations: 219.7 kB / 0.5232 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002391/0.1774, allocations: 1.559 MB / 0.5248 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000476/0.1778, allocations: 250.3 kB / 0.525 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.178, allocations: 90.08 kB / 0.5251 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.178, allocations: 7.938 kB / 0.5251 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.1781, allocations: 38.56 kB / 0.5251 GB, free: 13.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.1781, allocations: 4 kB / 0.5251 GB, free: 13.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006854/0.1787, allocations: 261.2 kB / 0.5254 GB, free: 13.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.1789, allocations: 213.6 kB / 0.5256 GB, free: 13.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.1792, allocations: 265.6 kB / 0.5258 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.1792, allocations: 29.7 kB / 0.5259 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.1794, allocations: 252 kB / 0.5261 GB, free: 12.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.1795, allocations: 119.4 kB / 0.5262 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.1797, allocations: 110.2 kB / 0.5263 GB, free: 12.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.1798, allocations: 342.8 kB / 0.5267 GB, free: 12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.18, allocations: 97.25 kB / 0.5268 GB, free: 11.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005039/0.1805, allocations: 428.8 kB / 0.5272 GB, free: 11.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008242/0.1814, allocations: 0.5783 MB / 0.5277 GB, free: 10.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.1814, allocations: 4 kB / 0.5277 GB, free: 10.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008571/0.1822, allocations: 0.5165 MB / 0.5282 GB, free: 10.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.1823, allocations: 12 kB / 0.5282 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.1823, allocations: 12.84 kB / 0.5283 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/0.1823, allocations: 12 kB / 0.5283 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/0.1827, allocations: 156.2 kB / 0.5284 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.449e-05/0.1828, allocations: 19.94 kB / 0.5284 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.1831, allocations: 59.61 kB / 0.5285 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.1831, allocations: 36 kB / 0.5285 GB, free: 9.762 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.0001933/0.1833, allocations: 181.5 kB / 0.5287 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.1834, allocations: 31.81 kB / 0.5287 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.285e-05/0.1835, allocations: 33.7 kB / 0.5288 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1835, allocations: 4 kB / 0.5288 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.1835, allocations: 4 kB / 0.5288 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.1835, allocations: 7.984 kB / 0.5288 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.1848, allocations: 0.5652 MB / 0.5293 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1848, allocations: 0 / 0.5293 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/0.1853, allocations: 87.89 kB / 0.5294 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.1853, allocations: 4 kB / 0.5294 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.1853, allocations: 11.98 kB / 0.5294 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.1853, allocations: 4 kB / 0.5294 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.1853, allocations: 11.88 kB / 0.5294 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009612/0.1863, allocations: 0.8299 MB / 0.5303 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.1863, allocations: 31.75 kB / 0.5303 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.1864, allocations: 15.94 kB / 0.5303 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.1867, allocations: 11.98 kB / 0.5303 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.919e-05/0.1868, allocations: 19.91 kB / 0.5303 GB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.1868, allocations: 12 kB / 0.5303 GB, free: 7.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001657/0.187, allocations: 173.2 kB / 0.5305 GB, free: 7.652 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.187, allocations: 0 / 0.5305 GB, free: 7.652 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007174/0.1877, allocations: 107.8 kB / 0.5306 GB, free: 7.547 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.0001367/0.1878, allocations: 107.1 kB / 0.5307 GB, free: 7.434 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005612/0.1884, allocations: 285.4 kB / 0.531 GB, free: 7.156 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1884, allocations: 0 / 0.531 GB, free: 7.156 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.1886, allocations: 89.27 kB / 0.5311 GB, free: 7.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009352/0.1895, allocations: 77.22 kB / 0.5311 GB, free: 6.996 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.1919, allocations: 1.546 MB / 0.5327 GB, free: 5.398 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.1921, allocations: 198.5 kB / 0.5328 GB, free: 5.188 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001444/0.1922, allocations: 35.27 kB / 0.5329 GB, free: 5.152 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.085e-05/0.1923, allocations: 39.42 kB / 0.5329 GB, free: 5.113 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1923, allocations: 0 / 0.5329 GB, free: 5.113 MB / 414.1 MB Notification: Performance of Templates: time 0.008142/0.2005, allocations: 3.353 MB / 0.5362 GB, free: 1.797 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.761872814968228]