Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 202.2 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.1 MB / 222.6 MB, free: 4.973 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4264/0.4264, allocations: 43.5 MB / 313.5 MB, free: 8.355 MB / 254.1 MB 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.001461/0.001461, allocations: 67.91 kB / 382 MB, free: 8.809 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1576, allocations: 57.78 MB / 439.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003774/0.1614, allocations: 1.712 MB / 441.5 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003441/0.1618, allocations: 107.6 kB / 441.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.857e-05/0.1619, allocations: 0 / 441.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.97e-05/0.162, allocations: 11.92 kB / 441.6 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.1621, allocations: 35.75 kB / 441.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.1623, allocations: 23.92 kB / 441.7 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.1625, allocations: 123.5 kB / 441.8 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.1628, allocations: 25.11 kB / 441.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.097e-05/0.1629, allocations: 43.8 kB / 441.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.163, allocations: 51.77 kB / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.163, allocations: 11.94 kB / 442 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.724e-05/0.163, allocations: 8 kB / 442 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.285e-05/0.1631, allocations: 19.92 kB / 442 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.661e-05/0.1632, allocations: 59.73 kB / 442 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.1634, allocations: 115.9 kB / 442.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1634, allocations: 0 / 442.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1634, allocations: 0 / 442.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.1634, allocations: 0 / 442.2 MB, free: 12.57 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007163/0.1642, allocations: 411.3 kB / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.1642, allocations: 8.031 kB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.7e-05/0.1643, allocations: 12.84 kB / 442.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.1646, allocations: 192.2 kB / 442.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.1646, allocations: 16.55 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.1646, allocations: 12.38 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.1649, allocations: 129.6 kB / 442.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.165, allocations: 4.125 kB / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.165, allocations: 7.938 kB / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.165, allocations: 4 kB / 442.9 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.1651, allocations: 59.95 kB / 443 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008781/0.166, allocations: 0.541 MB / 443.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.1662, allocations: 97.16 kB / 443.6 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.006e-05/0.1663, allocations: 29.72 kB / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.1663, allocations: 3.938 kB / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.1663, allocations: 30.66 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1663, allocations: 0 / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006969/0.167, allocations: 313.8 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.1671, allocations: 81.05 kB / 444.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.1672, allocations: 121.8 kB / 444.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1672, allocations: 25.7 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.693e-05/0.1673, allocations: 119.6 kB / 444.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.1674, allocations: 35.45 kB / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.1674, allocations: 29.72 kB / 444.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1676, allocations: 326.8 kB / 444.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.336e-05/0.1676, allocations: 20 kB / 444.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.1677, allocations: 88.56 kB / 444.8 MB, free: 9.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.1679, allocations: 124.5 kB / 444.9 MB, free: 9.418 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.1679, allocations: 0 / 444.9 MB, free: 9.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002951/0.1682, allocations: 167 kB / 445.1 MB, free: 9.242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1682, allocations: 4 kB / 445.1 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.1682, allocations: 7.984 kB / 445.1 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/0.1685, allocations: 49.83 kB / 445.2 MB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.1686, allocations: 27.92 kB / 445.2 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.1705, allocations: 2.532 MB / 447.7 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.1706, allocations: 24.08 kB / 447.8 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1706, allocations: 4 kB / 447.8 MB, free: 6.32 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001437/0.1708, allocations: 137.6 kB / 447.9 MB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.1708, allocations: 4 kB / 447.9 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.1709, allocations: 15.89 kB / 447.9 MB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1709, allocations: 3.938 kB / 447.9 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1709, allocations: 0 / 447.9 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1709, allocations: 0 / 447.9 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.1712, allocations: 209.5 kB / 448.1 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1712, allocations: 3.984 kB / 448.1 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.752e-05/0.1713, allocations: 16 kB / 448.1 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.933e-05/0.1714, allocations: 33.7 kB / 448.2 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1715, allocations: 0 / 448.2 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.1734, allocations: 2.536 MB / 450.7 MB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.56e-05/0.1734, allocations: 4.031 kB / 450.7 MB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.1737, allocations: 304.3 kB / 451 MB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.1738, allocations: 89.11 kB / 451.1 MB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.1738, allocations: 4 kB / 451.1 MB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.391e-05/0.1739, allocations: 4.031 kB / 451.1 MB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.174, allocations: 4 kB / 451.1 MB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.174, allocations: 4 kB / 451.1 MB, free: 2.594 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.587e-05/0.174, allocations: 95.27 kB / 451.2 MB, free: 2.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.174, allocations: 0 / 451.2 MB, free: 2.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003853/0.1744, allocations: 39.94 kB / 451.2 MB, free: 2.461 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001183/0.1746, allocations: 103.9 kB / 451.3 MB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004544/0.175, allocations: 301.2 kB / 451.6 MB, free: 2.031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.175, allocations: 0 / 451.6 MB, free: 2.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.1753, allocations: 265.8 kB / 451.9 MB, free: 1.746 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.1758, allocations: 23.98 kB / 451.9 MB, free: 1.723 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000947/0.1768, allocations: 0.5008 MB / 452.4 MB, free: 1.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.1772, allocations: 0.7083 MB / 453.1 MB, free: 468 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.501e-05/0.1773, allocations: 12.88 kB / 453.1 MB, free: 456 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.1773, allocations: 11.44 kB / 453.2 MB, free: 448 kB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1773, allocations: 0 / 453.2 MB, free: 448 kB / 382.1 MB Notification: Performance of Templates: time 0.2396/0.4169, allocations: 1.448 MB / 454.6 MB, free: 48.54 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches