Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00568/0.00568, allocations: 100.1 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001217, allocations: 190.8 kB / 16.78 MB, free: 6.238 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.632/1.632, allocations: 205.1 MB / 222.7 MB, free: 4.613 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.4532/0.4532, allocations: 43.49 MB / 313.5 MB, free: 8.582 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.002529/0.002529, allocations: 66.56 kB / 382 MB, free: 8.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1497, allocations: 57.78 MB / 439.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.005295/0.155, allocations: 2.87 MB / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.1577, allocations: 0.7565 MB / 443.4 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002945/0.1581, allocations: 8 kB / 443.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.1585, allocations: 47.56 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.1588, allocations: 103.2 kB / 443.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004202/0.1592, allocations: 75.86 kB / 443.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007221/0.16, allocations: 426.4 kB / 444.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005716/0.1605, allocations: 163 kB / 444.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.1608, allocations: 159.3 kB / 444.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.1611, allocations: 183.2 kB / 444.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.369e-05/0.1611, allocations: 31.94 kB / 444.6 MB, free: 9.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.967e-05/0.1612, allocations: 24 kB / 444.6 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.353e-05/0.1613, allocations: 79.62 kB / 444.7 MB, free: 9.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.1615, allocations: 195 kB / 444.9 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004411/0.162, allocations: 422.7 kB / 445.3 MB, free: 9.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.162, allocations: 0 / 445.3 MB, free: 9.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.162, allocations: 0 / 445.3 MB, free: 9.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.162, allocations: 0 / 445.3 MB, free: 9.277 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001164/0.1632, allocations: 0.6707 MB / 446 MB, free: 8.559 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.1632, allocations: 8.031 kB / 446 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.885e-05/0.1633, allocations: 52.31 kB / 446 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.1637, allocations: 288.5 kB / 446.3 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.1637, allocations: 29.38 kB / 446.4 MB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/0.1638, allocations: 40.28 kB / 446.4 MB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000651/0.1645, allocations: 393.3 kB / 446.8 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.1645, allocations: 0 / 446.8 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.1645, allocations: 16 kB / 446.8 MB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.1645, allocations: 12 kB / 446.8 MB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005093/0.1651, allocations: 251.8 kB / 447.1 MB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.1668, allocations: 1.101 MB / 448.2 MB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005761/0.1674, allocations: 355.5 kB / 448.5 MB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.1678, allocations: 178.4 kB / 448.7 MB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.1678, allocations: 4 kB / 448.7 MB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.1678, allocations: 46.55 kB / 448.7 MB, free: 5.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.412e-06/0.1678, allocations: 0 / 448.7 MB, free: 5.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.003994/0.1718, allocations: 2.44 MB / 451.2 MB, free: 2.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/0.172, allocations: 106.8 kB / 451.3 MB, free: 2.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.1723, allocations: 234.6 kB / 451.5 MB, free: 2.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.1723, allocations: 41.7 kB / 451.5 MB, free: 2.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.1725, allocations: 184.6 kB / 451.7 MB, free: 2.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.1727, allocations: 197 kB / 451.9 MB, free: 2.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.1729, allocations: 90.16 kB / 452 MB, free: 2.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.1731, allocations: 350.7 kB / 452.3 MB, free: 1.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.1734, allocations: 125.1 kB / 452.5 MB, free: 1.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.1737, allocations: 231.8 kB / 452.7 MB, free: 1.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006116/0.1743, allocations: 401.9 kB / 453.1 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1743, allocations: 0 / 453.1 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001015/0.1754, allocations: 0.5538 MB / 453.6 MB, free: 336 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.1754, allocations: 4 kB / 453.6 MB, free: 332 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.1754, allocations: 4 kB / 453.6 MB, free: 328 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003847/0.1758, allocations: 126.6 kB / 453.8 MB, free: 192 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.1762, allocations: 99.81 kB / 453.9 MB, free: 92 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2931/0.4693, allocations: 4.687 MB / 458.6 MB, free: 44.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003674/0.4697, allocations: 21.75 kB / 458.6 MB, free: 44.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.4698, allocations: 19.81 kB / 458.6 MB, free: 44.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002615/0.47, allocations: 164.3 kB / 458.8 MB, free: 44.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.4702, allocations: 38.41 kB / 458.8 MB, free: 44.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.176e-05/0.4703, allocations: 46.48 kB / 458.8 MB, free: 44.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.4703, allocations: 9.312 kB / 458.8 MB, free: 44.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.339e-05/0.4703, allocations: 6.781 kB / 458.9 MB, free: 44.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.4703, allocations: 5.891 kB / 458.9 MB, free: 44.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/0.4722, allocations: 1.326 MB / 460.2 MB, free: 43.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.4722, allocations: 3.25 kB / 460.2 MB, free: 43.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/0.4726, allocations: 95.98 kB / 460.3 MB, free: 43.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002862/0.4729, allocations: 105.9 kB / 460.4 MB, free: 43.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.4729, allocations: 14.78 kB / 460.4 MB, free: 43.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002316/0.4752, allocations: 4.111 MB / 464.5 MB, free: 40.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4752, allocations: 2.875 kB / 464.5 MB, free: 40.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.4764, allocations: 0.9242 MB / 465.4 MB, free: 39.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.962e-05/0.4765, allocations: 107.9 kB / 465.5 MB, free: 39.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.4766, allocations: 14.31 kB / 465.6 MB, free: 39.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.4768, allocations: 18.44 kB / 465.6 MB, free: 39.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.4769, allocations: 43.61 kB / 465.6 MB, free: 39.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.477, allocations: 15.28 kB / 465.6 MB, free: 39.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.4771, allocations: 182.2 kB / 465.8 MB, free: 39.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4771, allocations: 0 / 465.8 MB, free: 39.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008055/0.478, allocations: 120.2 kB / 465.9 MB, free: 39.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002006/0.4782, allocations: 106.9 kB / 466 MB, free: 39.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.4794, allocations: 0.7766 MB / 466.8 MB, free: 39.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4795, allocations: 0 / 466.8 MB, free: 39.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006926/0.4802, allocations: 0.5743 MB / 467.4 MB, free: 38.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007838/0.481, allocations: 61.72 kB / 467.4 MB, free: 38.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.4828, allocations: 1.247 MB / 468.7 MB, free: 37.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.4831, allocations: 0.8253 MB / 469.5 MB, free: 37.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001366/0.4833, allocations: 34.61 kB / 469.5 MB, free: 37.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.527e-05/0.4834, allocations: 33.75 kB / 469.6 MB, free: 37.04 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4834, allocations: 0 / 469.6 MB, free: 37.04 MB / 382.1 MB Notification: Performance of Templates: time 0.008441/0.4918, allocations: 4.217 MB / 473.8 MB, free: 36.77 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches