Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.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.001256/0.001256, allocations: 116 kB / 18.45 MB, free: 4.562 MB / 14.72 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.001399/0.001399, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.556/1.556, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2777/0.2777, allocations: 46.92 MB / 357.8 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 67.89 kB / 0.4921 GB, free: 7.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1394, allocations: 66 MB / 0.5565 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.009102/0.1485, allocations: 6.276 MB / 0.5627 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004288/0.1528, allocations: 1.986 MB / 0.5646 GB, free: 13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007713/0.1536, allocations: 27.94 kB / 0.5646 GB, free: 12.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.1551, allocations: 0.6268 MB / 0.5652 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005507/0.1557, allocations: 198.9 kB / 0.5654 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.1559, allocations: 59.81 kB / 0.5655 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005233/0.1565, allocations: 414.2 kB / 0.5659 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006108/0.1571, allocations: 442.8 kB / 0.5663 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003282/0.1574, allocations: 227.1 kB / 0.5665 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004284/0.1578, allocations: 298.8 kB / 0.5668 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.252e-05/0.1579, allocations: 36 kB / 0.5668 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.1581, allocations: 87.88 kB / 0.5669 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002819/0.1584, allocations: 275.1 kB / 0.5672 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002951/0.1587, allocations: 314 kB / 0.5675 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009602/0.1596, allocations: 0.8245 MB / 0.5683 GB, free: 9.199 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1596, allocations: 0 / 0.5683 GB, free: 9.199 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1596, allocations: 0 / 0.5683 GB, free: 9.199 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.1596, allocations: 0 / 0.5683 GB, free: 9.199 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001594/0.1612, allocations: 0.961 MB / 0.5692 GB, free: 8.188 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1613, allocations: 8.031 kB / 0.5692 GB, free: 8.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007944/0.1621, allocations: 164.2 kB / 0.5694 GB, free: 8.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007723/0.1628, allocations: 453.9 kB / 0.5698 GB, free: 7.535 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.1629, allocations: 33.36 kB / 0.5699 GB, free: 7.504 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.018e-05/0.1629, allocations: 44.11 kB / 0.5699 GB, free: 7.461 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.1644, allocations: 1.078 MB / 0.571 GB, free: 6.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.1644, allocations: 11.88 kB / 0.571 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.408e-05/0.1645, allocations: 23.98 kB / 0.571 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003663/0.1648, allocations: 192.3 kB / 0.5712 GB, free: 6.047 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.166, allocations: 0.7083 MB / 0.5719 GB, free: 5.336 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004672/0.1707, allocations: 4.658 MB / 0.5764 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.1709, allocations: 62.53 kB / 0.5765 GB, free: 436 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.171, allocations: 40.91 kB / 0.5765 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.171, allocations: 4 kB / 0.5765 GB, free: 388 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.171, allocations: 34.56 kB / 0.5765 GB, free: 344 kB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.754e-06/0.171, allocations: 0 / 0.5765 GB, free: 344 kB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005567/0.1716, allocations: 221 kB / 0.5768 GB, free: 116 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.1717, allocations: 51.41 kB / 0.5768 GB, free: 52 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.1727, allocations: 0.8166 MB / 0.5776 GB, free: 15.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1727, allocations: 25.7 kB / 0.5776 GB, free: 15.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000465/0.1732, allocations: 0.5217 MB / 0.5781 GB, free: 14.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.1732, allocations: 31.83 kB / 0.5782 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.1734, allocations: 178.5 kB / 0.5783 GB, free: 14.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.1736, allocations: 370.8 kB / 0.5787 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.1739, allocations: 181.9 kB / 0.5789 GB, free: 13.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008335/0.1748, allocations: 0.7273 MB / 0.5796 GB, free: 12.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.1761, allocations: 0.9859 MB / 0.5805 GB, free: 11.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.1761, allocations: 4 kB / 0.5805 GB, free: 11.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00147/0.1776, allocations: 0.8759 MB / 0.5814 GB, free: 10.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.1776, allocations: 13.88 kB / 0.5814 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/0.1777, allocations: 24.89 kB / 0.5814 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.231e-05/0.1777, allocations: 35.88 kB / 0.5815 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/0.1782, allocations: 175.7 kB / 0.5816 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-05/0.1782, allocations: 35.86 kB / 0.5817 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005946/0.1788, allocations: 123.1 kB / 0.5818 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-05/0.1789, allocations: 48 kB / 0.5818 GB, free: 10.29 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 25 (fixedArrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,arrow.arrow.twoHeadedArrow,arrow.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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 0.0004341/0.1793, allocations: 363.6 kB / 0.5822 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-05/0.1794, allocations: 59.58 kB / 0.5822 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.913e-05/0.1795, allocations: 69.27 kB / 0.5823 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1795, allocations: 3.938 kB / 0.5823 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1795, allocations: 4 kB / 0.5823 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1795, allocations: 0 / 0.5823 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006046/0.1801, allocations: 0.4896 MB / 0.5828 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1801, allocations: 0 / 0.5828 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.477e-05/0.1802, allocations: 11.98 kB / 0.5828 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1802, allocations: 3.938 kB / 0.5828 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.1802, allocations: 0 / 0.5828 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.1803, allocations: 7.922 kB / 0.5828 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1803, allocations: 4 kB / 0.5828 GB, free: 9.215 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.1806, allocations: 267 kB / 0.5831 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.1808, allocations: 136.7 kB / 0.5832 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.1808, allocations: 0 / 0.5832 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.181, allocations: 11.92 kB / 0.5832 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.461e-05/0.1811, allocations: 15.98 kB / 0.5832 GB, free: 8.758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.1811, allocations: 0 / 0.5832 GB, free: 8.758 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006676/0.1818, allocations: 0.5302 MB / 0.5837 GB, free: 8.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1818, allocations: 0 / 0.5837 GB, free: 8.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006591/0.1824, allocations: 139.7 kB / 0.5839 GB, free: 8.094 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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 0.0001876/0.1826, allocations: 99.23 kB / 0.584 GB, free: 7.988 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007312/0.1833, allocations: 404.6 kB / 0.5844 GB, free: 7.598 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1833, allocations: 3.938 kB / 0.5844 GB, free: 7.594 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.1835, allocations: 47.95 kB / 0.5844 GB, free: 7.547 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.184, allocations: 83.02 kB / 0.5845 GB, free: 7.469 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.1859, allocations: 1.17 MB / 0.5856 GB, free: 6.266 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007436/0.1866, allocations: 0.991 MB / 0.5866 GB, free: 5.246 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.903e-05/0.1867, allocations: 43.42 kB / 0.5866 GB, free: 5.203 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1867, allocations: 0 / 0.5866 GB, free: 5.203 MB / 446.1 MB Notification: Performance of Templates: time 0.263/0.4498, allocations: 7.611 MB / 0.5941 GB, free: 32.91 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.033449896000093]