Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001182/0.001182, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001409/0.001409, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2232/0.2232, allocations: 46.1 MB / 343.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002787/0.002787, allocations: 71.44 kB / 416.8 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1645, allocations: 62.46 MB / 479.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003624/0.1681, allocations: 1.714 MB / 481 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00043/0.1686, allocations: 111.6 kB / 481.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.009e-05/0.1687, allocations: 0 / 481.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.244e-05/0.1688, allocations: 15.86 kB / 481.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.169, allocations: 31.77 kB / 481.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.1691, allocations: 19.98 kB / 481.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.1693, allocations: 123.4 kB / 481.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.1694, allocations: 25.09 kB / 481.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.788e-05/0.1695, allocations: 39.81 kB / 481.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.739e-05/0.1696, allocations: 51.77 kB / 481.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.1697, allocations: 8 kB / 481.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.533e-05/0.1697, allocations: 12 kB / 481.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.801e-05/0.1697, allocations: 19.92 kB / 481.5 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.606e-05/0.1698, allocations: 55.73 kB / 481.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.17, allocations: 111.9 kB / 481.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.17, allocations: 4 kB / 481.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.17, allocations: 0 / 481.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.17, allocations: 3.938 kB / 481.6 MB, free: 3.406 MB / 350.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.0006355/0.1707, allocations: 407.4 kB / 482 MB, free: 2.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.1707, allocations: 8.875 kB / 482 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.1708, allocations: 20.75 kB / 482.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.171, allocations: 192.2 kB / 482.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.1711, allocations: 8.609 kB / 482.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.1711, allocations: 16.28 kB / 482.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.1714, allocations: 133.5 kB / 482.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.1714, allocations: 192 / 482.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.1714, allocations: 11.88 kB / 482.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.1714, allocations: 7.984 kB / 482.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.1716, allocations: 59.91 kB / 482.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008663/0.1724, allocations: 0.5333 MB / 483 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.1726, allocations: 97.14 kB / 483.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.1727, allocations: 29.72 kB / 483.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.1727, allocations: 4.031 kB / 483.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.792e-05/0.1727, allocations: 38.55 kB / 483.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.1728, allocations: 4 kB / 483.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007196/0.1735, allocations: 305.3 kB / 483.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.1735, allocations: 77.11 kB / 483.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.1737, allocations: 121.8 kB / 483.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.1737, allocations: 25.7 kB / 483.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.1738, allocations: 119.6 kB / 483.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.1739, allocations: 35.55 kB / 483.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-05/0.174, allocations: 33.66 kB / 483.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1741, allocations: 322.8 kB / 484.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.178e-05/0.1742, allocations: 23.98 kB / 484.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1743, allocations: 92.52 kB / 484.3 MB, free: 404 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.1745, allocations: 120.5 kB / 484.4 MB, free: 252 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1745, allocations: 0 / 484.4 MB, free: 252 kB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002937/0.1748, allocations: 163 kB / 484.6 MB, free: 76 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.1748, allocations: 6.344 kB / 484.6 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.1748, allocations: 8.25 kB / 484.6 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002474/0.1751, allocations: 41.64 kB / 484.6 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.1752, allocations: 24.03 kB / 484.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.1775, allocations: 2.534 MB / 487.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.915e-05/0.1776, allocations: 15.84 kB / 487.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.1776, allocations: 4 kB / 487.2 MB, free: 13.18 MB / 366.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.0001323/0.1778, allocations: 130.2 kB / 487.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.1778, allocations: 11.89 kB / 487.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.1779, allocations: 7.906 kB / 487.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1779, allocations: 8.094 kB / 487.4 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1779, allocations: 0 / 487.4 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1779, allocations: 0 / 487.4 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.1782, allocations: 209.5 kB / 487.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1782, allocations: 0 / 487.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.765e-05/0.1783, allocations: 12 kB / 487.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001122/0.1784, allocations: 37.7 kB / 487.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.1784, allocations: 0 / 487.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/0.1802, allocations: 2.544 MB / 490.2 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1802, allocations: 7.969 kB / 490.2 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.1806, allocations: 304.5 kB / 490.5 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.1806, allocations: 89.05 kB / 490.6 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.1807, allocations: 4 kB / 490.6 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-05/0.1808, allocations: 0 / 490.6 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.1808, allocations: 4 kB / 490.6 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.1808, allocations: 7.984 kB / 490.6 MB, free: 9.438 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.102e-05/0.1809, allocations: 99.59 kB / 490.7 MB, free: 9.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1809, allocations: 0 / 490.7 MB, free: 9.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003841/0.1813, allocations: 43.84 kB / 490.7 MB, free: 9.297 MB / 366.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.0001461/0.1814, allocations: 107.1 kB / 490.8 MB, free: 9.184 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005343/0.182, allocations: 293.3 kB / 491.1 MB, free: 8.871 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.182, allocations: 0.5 kB / 491.1 MB, free: 8.871 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002522/0.1822, allocations: 253.6 kB / 491.4 MB, free: 8.598 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.1827, allocations: 31.97 kB / 491.4 MB, free: 8.566 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009897/0.1837, allocations: 0.5126 MB / 491.9 MB, free: 8.023 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.1841, allocations: 0.7122 MB / 492.6 MB, free: 7.285 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.267e-05/0.1842, allocations: 4.891 kB / 492.6 MB, free: 7.281 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.1842, allocations: 11.44 kB / 492.6 MB, free: 7.273 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1842, allocations: 0 / 492.6 MB, free: 7.273 MB / 366.1 MB Notification: Performance of Templates: time 0.004679/0.1889, allocations: 1.464 MB / 494.1 MB, free: 5.816 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches