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.001304/0.001304, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 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.001619/0.001619, allocations: 169.3 kB / 24.14 MB, free: 364 kB / 18.57 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 0.8641/0.8641, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] 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.128/0.128, allocations: 32.37 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.855e-05, allocations: 2.312 kB / 299.1 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.165/0.165, allocations: 2.84 MB / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1663, allocations: 0.7545 MB / 302.7 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.1665, allocations: 11.19 kB / 302.7 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.1666, allocations: 57.73 kB / 302.8 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.1668, allocations: 137.4 kB / 302.9 MB, free: 19 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.1671, allocations: 91.61 kB / 303 MB, free: 18.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004125/0.1675, allocations: 446.8 kB / 303.4 MB, free: 18.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.1677, allocations: 99.36 kB / 303.5 MB, free: 18.81 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003133/0.168, allocations: 262.8 kB / 303.8 MB, free: 18.71 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.1682, allocations: 128.5 kB / 303.9 MB, free: 18.67 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.396e-05/0.1683, allocations: 33.81 kB / 303.9 MB, free: 18.67 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.487e-05/0.1683, allocations: 33.53 kB / 304 MB, free: 18.67 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.398e-05/0.1683, allocations: 76.42 kB / 304 MB, free: 18.62 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.1684, allocations: 139 kB / 304.2 MB, free: 18.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.1687, allocations: 287.6 kB / 304.5 MB, free: 18.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1687, allocations: 0.9688 kB / 304.5 MB, free: 18.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1687, allocations: 0.6562 kB / 304.5 MB, free: 18.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1687, allocations: 0 / 304.5 MB, free: 18.43 MB / 282.7 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.0005458/0.1693, allocations: 0.5524 MB / 305 MB, free: 18.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1693, allocations: 11.53 kB / 305 MB, free: 18.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.492e-05/0.1694, allocations: 54.52 kB / 305.1 MB, free: 18.01 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.1696, allocations: 195.5 kB / 305.3 MB, free: 17.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.1696, allocations: 31.78 kB / 305.3 MB, free: 17.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.782e-05/0.1696, allocations: 47.27 kB / 305.3 MB, free: 17.8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.17, allocations: 318.4 kB / 305.7 MB, free: 17.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.17, allocations: 11.92 kB / 305.7 MB, free: 17.61 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.17, allocations: 15.97 kB / 305.7 MB, free: 17.6 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.17, allocations: 18.31 kB / 305.7 MB, free: 17.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.1702, allocations: 117.2 kB / 305.8 MB, free: 17.58 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.1712, allocations: 1.442 MB / 307.3 MB, free: 16.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.1714, allocations: 212.7 kB / 307.5 MB, free: 16.22 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.24e-05/0.1715, allocations: 65.5 kB / 307.5 MB, free: 16.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.1715, allocations: 15.25 kB / 307.5 MB, free: 16.15 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.1715, allocations: 45.31 kB / 307.6 MB, free: 16.1 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/0.1715, allocations: 0.9844 kB / 307.6 MB, free: 16.1 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.000281/0.1718, allocations: 160.3 kB / 307.8 MB, free: 16.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.1718, allocations: 212.9 kB / 308 MB, free: 15.8 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.172, allocations: 255.7 kB / 308.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.172, allocations: 39.02 kB / 308.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.172, allocations: 235.5 kB / 308.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.1721, allocations: 124.2 kB / 308.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.797e-05/0.1722, allocations: 99.67 kB / 308.7 MB, free: 15.24 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.939e-05/0.1722, allocations: 345 kB / 309 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.143e-05/0.1723, allocations: 41.22 kB / 309.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.1724, allocations: 379.8 kB / 309.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.1727, allocations: 490.6 kB / 309.9 MB, free: 13.97 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.1727, allocations: 4.062 kB / 309.9 MB, free: 13.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000414/0.1732, allocations: 387.5 kB / 310.3 MB, free: 13.83 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.1732, allocations: 9.531 kB / 310.3 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.1732, allocations: 11.94 kB / 310.3 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/0.1732, allocations: 17.84 kB / 310.3 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.1736, allocations: 171.3 kB / 310.5 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.1736, allocations: 21 kB / 310.5 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.1738, allocations: 62.45 kB / 310.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.1738, allocations: 27.23 kB / 310.6 MB, free: 13.77 MB / 282.7 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 8.973e-05/0.1739, allocations: 156 kB / 310.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.867e-05/0.174, allocations: 30.67 kB / 310.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.174, allocations: 34.3 kB / 310.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.174, allocations: 4.375 kB / 310.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1741, allocations: 2.859 kB / 310.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.1741, allocations: 8.125 kB / 310.8 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006444/0.1747, allocations: 469.2 kB / 311.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1747, allocations: 2.031 kB / 311.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.175, allocations: 96.8 kB / 311.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.175, allocations: 7.125 kB / 311.4 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.175, allocations: 10.11 kB / 311.4 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.175, allocations: 4 kB / 311.4 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.175, allocations: 11.03 kB / 311.4 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.1753, allocations: 0.7295 MB / 312.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/0.1753, allocations: 34.89 kB / 312.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.1754, allocations: 9.875 kB / 312.2 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.1755, allocations: 13.28 kB / 312.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.1756, allocations: 27.33 kB / 312.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1756, allocations: 6.016 kB / 312.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.296e-05/0.1757, allocations: 78.31 kB / 312.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1757, allocations: 0 / 312.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000417/0.1761, allocations: 106.7 kB / 312.4 MB, free: 12.52 MB / 282.7 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 8.588e-05/0.1762, allocations: 94.06 kB / 312.5 MB, free: 12.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.1764, allocations: 221.1 kB / 312.7 MB, free: 12.37 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/0.1764, allocations: 3.375 kB / 312.7 MB, free: 12.37 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.633e-05/0.1765, allocations: 67.25 kB / 312.8 MB, free: 12.35 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005429/0.177, allocations: 81.97 kB / 312.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009715/0.178, allocations: 0.8132 MB / 313.7 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.06e-05/0.1781, allocations: 102.8 kB / 313.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.1782, allocations: 43.45 kB / 313.8 MB, free: 11.67 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.1783, allocations: 116.7 kB / 314 MB, free: 11.62 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1783, allocations: 0 / 314 MB, free: 11.62 MB / 282.7 MB Notification: Performance of Templates: time 0.005812/0.1841, allocations: 3.398 MB / 317.4 MB, free: 10.47 MB / 282.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.907737914007157]