Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001579/0.001579, allocations: 120.8 kB / 18.45 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001613/0.001613, allocations: 201 kB / 21.4 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 251.6 MB, free: 268 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2378/0.2378, allocations: 46.17 MB / 351.1 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] 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.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 77.67 kB / 490.2 MB, free: 27.94 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1397, allocations: 62.45 MB / 0.5397 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007883/0.1476, allocations: 6.254 MB / 0.5458 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004521/0.1522, allocations: 1.966 MB / 0.5477 GB, free: 11.99 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007827/0.153, allocations: 27.94 kB / 0.5477 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.1545, allocations: 0.6268 MB / 0.5483 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005947/0.1552, allocations: 194.9 kB / 0.5485 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.1555, allocations: 63.86 kB / 0.5486 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005941/0.1561, allocations: 414.1 kB / 0.549 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007369/0.1568, allocations: 0.4987 MB / 0.5495 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003628/0.1572, allocations: 219.2 kB / 0.5497 GB, free: 9.953 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004657/0.1577, allocations: 294.8 kB / 0.5499 GB, free: 9.664 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.1578, allocations: 36 kB / 0.55 GB, free: 9.629 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.1581, allocations: 87.88 kB / 0.5501 GB, free: 9.543 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003073/0.1584, allocations: 259.3 kB / 0.5503 GB, free: 9.289 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003673/0.1588, allocations: 310 kB / 0.5506 GB, free: 8.984 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.1599, allocations: 0.8244 MB / 0.5514 GB, free: 8.156 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1599, allocations: 4 kB / 0.5514 GB, free: 8.152 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1599, allocations: 0 / 0.5514 GB, free: 8.152 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.16, allocations: 0 / 0.5514 GB, free: 8.152 MB / 414.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.001696/0.1617, allocations: 0.9649 MB / 0.5524 GB, free: 7.137 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1617, allocations: 8.031 kB / 0.5524 GB, free: 7.129 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000772/0.1625, allocations: 164.2 kB / 0.5525 GB, free: 6.969 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006307/0.1631, allocations: 450 kB / 0.5529 GB, free: 6.488 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.1632, allocations: 33.36 kB / 0.553 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.885e-05/0.1632, allocations: 44.11 kB / 0.553 GB, free: 6.414 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.1647, allocations: 1.078 MB / 0.5541 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.1647, allocations: 8 kB / 0.5541 GB, free: 5.215 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/0.1648, allocations: 15.98 kB / 0.5541 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003913/0.1652, allocations: 200.3 kB / 0.5543 GB, free: 5.004 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.1663, allocations: 0.7083 MB / 0.555 GB, free: 4.293 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005793/0.1722, allocations: 4.658 MB / 0.5595 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.1724, allocations: 50.53 kB / 0.5596 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.1725, allocations: 48.91 kB / 0.5596 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.1726, allocations: 4 kB / 0.5596 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.1726, allocations: 34.56 kB / 0.5597 GB, free: 15.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 3.096e-06/0.1726, allocations: 0 / 0.5597 GB, free: 15.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0007179/0.1734, allocations: 221 kB / 0.5599 GB, free: 15.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.1734, allocations: 51.41 kB / 0.5599 GB, free: 15.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.1746, allocations: 0.8283 MB / 0.5607 GB, free: 14.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.1746, allocations: 25.7 kB / 0.5608 GB, free: 14.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004938/0.1751, allocations: 0.5218 MB / 0.5613 GB, free: 13.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.1752, allocations: 23.89 kB / 0.5613 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/0.1754, allocations: 174.5 kB / 0.5615 GB, free: 13.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002565/0.1757, allocations: 374.7 kB / 0.5618 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/0.176, allocations: 185.8 kB / 0.562 GB, free: 12.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008421/0.1769, allocations: 0.7273 MB / 0.5627 GB, free: 11.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.1782, allocations: 0.9859 MB / 0.5637 GB, free: 10.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.1782, allocations: 4 kB / 0.5637 GB, free: 10.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00155/0.1798, allocations: 0.8687 MB / 0.5645 GB, free: 9.703 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/0.1798, allocations: 16 kB / 0.5645 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/0.1799, allocations: 20 kB / 0.5645 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.174e-05/0.1799, allocations: 27.94 kB / 0.5646 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000488/0.1804, allocations: 183.7 kB / 0.5647 GB, free: 9.461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.639e-05/0.1805, allocations: 39.8 kB / 0.5648 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005801/0.181, allocations: 119.1 kB / 0.5649 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.67e-05/0.1811, allocations: 52.27 kB / 0.565 GB, free: 9.254 MB / 430.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.0004551/0.1816, allocations: 359.7 kB / 0.5653 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.029e-05/0.1817, allocations: 63.58 kB / 0.5654 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.1818, allocations: 61.28 kB / 0.5654 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.1818, allocations: 3.938 kB / 0.5654 GB, free: 8.754 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1818, allocations: 3.984 kB / 0.5654 GB, free: 8.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.1818, allocations: 4 kB / 0.5654 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006726/0.1825, allocations: 0.4896 MB / 0.5659 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1825, allocations: 4 kB / 0.5659 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.849e-05/0.1826, allocations: 15.98 kB / 0.5659 GB, free: 8.188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1826, allocations: 3.938 kB / 0.5659 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1826, allocations: 0 / 0.5659 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.1827, allocations: 3.938 kB / 0.5659 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1827, allocations: 0 / 0.5659 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/0.1831, allocations: 275 kB / 0.5662 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.1832, allocations: 136.7 kB / 0.5663 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.1833, allocations: 0 / 0.5663 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.1835, allocations: 11.92 kB / 0.5663 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.1836, allocations: 7.984 kB / 0.5663 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1836, allocations: 0 / 0.5663 GB, free: 7.723 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006791/0.1843, allocations: 0.5341 MB / 0.5669 GB, free: 7.191 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1843, allocations: 0 / 0.5669 GB, free: 7.191 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006574/0.1849, allocations: 135.8 kB / 0.567 GB, free: 7.059 MB / 430.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.0001715/0.1851, allocations: 95.25 kB / 0.5671 GB, free: 6.957 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007136/0.1858, allocations: 424.5 kB / 0.5675 GB, free: 6.547 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1858, allocations: 0 / 0.5675 GB, free: 6.547 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.186, allocations: 43.94 kB / 0.5675 GB, free: 6.504 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.1865, allocations: 86.03 kB / 0.5676 GB, free: 6.426 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.1883, allocations: 1.106 MB / 0.5687 GB, free: 5.293 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007029/0.1891, allocations: 0.987 MB / 0.5697 GB, free: 4.277 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004619/0.1895, allocations: 208.8 kB / 0.5699 GB, free: 4.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.91e-05/0.1896, allocations: 35.44 kB / 0.5699 GB, free: 4.035 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1896, allocations: 0 / 0.5699 GB, free: 4.035 MB / 430.1 MB Notification: Performance of Templates: time 0.01053/0.2002, allocations: 4.6 MB / 0.5744 GB, free: 15.47 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.01653897203505]