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.001251/0.001251, allocations: 101.9 kB / 15.98 MB, free: 6.762 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.001763/0.001763, allocations: 194.7 kB / 16.91 MB, free: 6.535 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.653/1.653, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.3957/0.3957, allocations: 43.5 MB / 313.6 MB, free: 8.52 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.001474/0.001474, allocations: 63.91 kB / 382.2 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1568, allocations: 57.78 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003641/0.1605, allocations: 1.712 MB / 441.7 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003297/0.1608, allocations: 99.69 kB / 441.8 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.324e-05/0.1609, allocations: 7.938 kB / 441.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.023e-05/0.161, allocations: 7.922 kB / 441.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.1612, allocations: 35.75 kB / 441.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.1614, allocations: 23.97 kB / 441.9 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.1615, allocations: 131.4 kB / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.1617, allocations: 37.09 kB / 442 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.448e-05/0.1618, allocations: 43.86 kB / 442.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1619, allocations: 47.78 kB / 442.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.162, allocations: 12 kB / 442.2 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.227e-05/0.162, allocations: 8 kB / 442.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.374e-05/0.162, allocations: 23.92 kB / 442.2 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.562e-05/0.1621, allocations: 67.66 kB / 442.2 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.1623, allocations: 119.9 kB / 442.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1623, allocations: 4 kB / 442.4 MB, free: 12.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1623, allocations: 0 / 442.4 MB, free: 12.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1623, allocations: 0 / 442.4 MB, free: 12.34 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.0006059/0.163, allocations: 403.3 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.163, allocations: 11.89 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.1631, allocations: 16.78 kB / 442.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.1633, allocations: 200.1 kB / 443 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1633, allocations: 8.609 kB / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.006e-05/0.1634, allocations: 12.38 kB / 443 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.1636, allocations: 121.6 kB / 443.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.1636, allocations: 4.188 kB / 443.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.1637, allocations: 7.938 kB / 443.1 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.1637, allocations: 11.92 kB / 443.1 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.1638, allocations: 55.97 kB / 443.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009266/0.1648, allocations: 0.541 MB / 443.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.1649, allocations: 101.1 kB / 443.8 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.706e-05/0.165, allocations: 29.72 kB / 443.9 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.165, allocations: 4.031 kB / 443.9 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.165, allocations: 42.48 kB / 443.9 MB, free: 10.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.165, allocations: 3.938 kB / 443.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005908/0.1656, allocations: 301.4 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.1657, allocations: 77.11 kB / 444.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.1658, allocations: 121.8 kB / 444.4 MB, free: 10.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1658, allocations: 29.7 kB / 444.4 MB, free: 9.992 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/0.1659, allocations: 115.6 kB / 444.6 MB, free: 9.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.166, allocations: 35.45 kB / 444.6 MB, free: 9.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.545e-05/0.166, allocations: 37.72 kB / 444.6 MB, free: 9.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1662, allocations: 322.8 kB / 444.9 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.245e-05/0.1662, allocations: 23.98 kB / 445 MB, free: 9.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.1663, allocations: 88.52 kB / 445 MB, free: 9.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.1665, allocations: 124.5 kB / 445.2 MB, free: 9.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1665, allocations: 0 / 445.2 MB, free: 9.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002776/0.1668, allocations: 167 kB / 445.3 MB, free: 9.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1668, allocations: 4 kB / 445.3 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.1668, allocations: 4 kB / 445.3 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001979/0.167, allocations: 41.89 kB / 445.4 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.582e-05/0.1671, allocations: 27.92 kB / 445.4 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.1693, allocations: 2.734 MB / 448.1 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/0.1694, allocations: 15.81 kB / 448.2 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.1694, allocations: 8 kB / 448.2 MB, free: 5.883 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.0001099/0.1695, allocations: 129.8 kB / 448.3 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.1696, allocations: 7.906 kB / 448.3 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.1696, allocations: 19.84 kB / 448.3 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1696, allocations: 0 / 448.3 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1696, allocations: 4 kB / 448.3 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1697, allocations: 3.984 kB / 448.3 MB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.1699, allocations: 189.6 kB / 448.5 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.1699, allocations: 8 kB / 448.5 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.093e-05/0.17, allocations: 11.98 kB / 448.5 MB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.467e-05/0.1701, allocations: 41.64 kB / 448.6 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.1701, allocations: 7.938 kB / 448.6 MB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.1721, allocations: 2.718 MB / 451.3 MB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1721, allocations: 4.031 kB / 451.3 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.1725, allocations: 312.4 kB / 451.6 MB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.1725, allocations: 85.02 kB / 451.7 MB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.1725, allocations: 4.031 kB / 451.7 MB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-05/0.1726, allocations: 0 / 451.7 MB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.1727, allocations: 11.94 kB / 451.7 MB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.1727, allocations: 4 kB / 451.7 MB, free: 1.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.83e-05/0.1727, allocations: 95.7 kB / 451.8 MB, free: 1.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1728, allocations: 3.938 kB / 451.8 MB, free: 1.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003457/0.1731, allocations: 39.84 kB / 451.8 MB, free: 1.816 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.0001445/0.1733, allocations: 107.2 kB / 452 MB, free: 1.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005336/0.1738, allocations: 305.6 kB / 452.3 MB, free: 1.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1738, allocations: 0 / 452.3 MB, free: 1.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003639/0.1742, allocations: 253.4 kB / 452.5 MB, free: 1.105 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005091/0.1747, allocations: 35.88 kB / 452.5 MB, free: 1.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009143/0.1756, allocations: 0.5088 MB / 453 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2091/0.3848, allocations: 0.7091 MB / 453.8 MB, free: 47.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.544e-05/0.3849, allocations: 5.562 kB / 453.8 MB, free: 47.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.385, allocations: 12.41 kB / 453.8 MB, free: 47.9 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.385, allocations: 0.8125 kB / 453.8 MB, free: 47.9 MB / 382.1 MB Notification: Performance of Templates: time 0.004407/0.3894, allocations: 1.51 MB / 455.3 MB, free: 47.87 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