Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001353/0.001353, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.001523/0.001523, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.549/1.549, allocations: 230.2 MB / 255.2 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2378/0.2378, allocations: 46.89 MB / 358.1 MB, free: 10.48 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-beta.om/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_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 87.84 kB / 0.4924 GB, free: 7.824 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1406, allocations: 65.97 MB / 0.5568 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008395/0.149, allocations: 6.283 MB / 0.5629 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00442/0.1534, allocations: 1.982 MB / 0.5649 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000767/0.1542, allocations: 31.94 kB / 0.5649 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.1557, allocations: 0.6268 MB / 0.5655 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005682/0.1563, allocations: 194.9 kB / 0.5657 GB, free: 12.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.1565, allocations: 63.86 kB / 0.5658 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005758/0.1571, allocations: 414.1 kB / 0.5662 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006793/0.1578, allocations: 434.8 kB / 0.5666 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003465/0.1581, allocations: 223.1 kB / 0.5668 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004921/0.1586, allocations: 306.8 kB / 0.5671 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.927e-05/0.1587, allocations: 40 kB / 0.5671 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.1589, allocations: 83.89 kB / 0.5672 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003056/0.1592, allocations: 271.1 kB / 0.5675 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003122/0.1596, allocations: 310.1 kB / 0.5678 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009993/0.1606, allocations: 0.8205 MB / 0.5686 GB, free: 9.629 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1606, allocations: 0 / 0.5686 GB, free: 9.629 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1606, allocations: 0 / 0.5686 GB, free: 9.629 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.1606, allocations: 0 / 0.5686 GB, free: 9.629 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.001644/0.1622, allocations: 0.9708 MB / 0.5695 GB, free: 8.609 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.1623, allocations: 12.03 kB / 0.5695 GB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008212/0.1631, allocations: 160.2 kB / 0.5697 GB, free: 8.441 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006959/0.1638, allocations: 457.9 kB / 0.5701 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.1638, allocations: 37.3 kB / 0.5701 GB, free: 7.918 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.824e-05/0.1639, allocations: 44.11 kB / 0.5702 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.1654, allocations: 1.074 MB / 0.5712 GB, free: 6.688 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.1655, allocations: 7.938 kB / 0.5712 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.1655, allocations: 19.98 kB / 0.5713 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003645/0.1659, allocations: 192.3 kB / 0.5714 GB, free: 6.473 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.1671, allocations: 0.7122 MB / 0.5721 GB, free: 5.758 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004801/0.1719, allocations: 4.658 MB / 0.5767 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.1721, allocations: 62.47 kB / 0.5767 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.1722, allocations: 44.91 kB / 0.5768 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1722, allocations: 4 kB / 0.5768 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.1722, allocations: 30.56 kB / 0.5768 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 2.395e-06/0.1723, allocations: 0 / 0.5768 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005812/0.1728, allocations: 221.1 kB / 0.577 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.1729, allocations: 55.34 kB / 0.5771 GB, free: 480 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.174, allocations: 0.8205 MB / 0.5779 GB, free: 15.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.174, allocations: 25.7 kB / 0.5779 GB, free: 15.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004299/0.1744, allocations: 0.5217 MB / 0.5784 GB, free: 15.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.1745, allocations: 23.83 kB / 0.5784 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.1747, allocations: 178.5 kB / 0.5786 GB, free: 14.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.1749, allocations: 370.8 kB / 0.579 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.1752, allocations: 181.8 kB / 0.5791 GB, free: 14.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008005/0.176, allocations: 0.7351 MB / 0.5799 GB, free: 13.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.1773, allocations: 0.9781 MB / 0.5808 GB, free: 12.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.1773, allocations: 8 kB / 0.5808 GB, free: 12.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001514/0.1788, allocations: 0.8689 MB / 0.5817 GB, free: 11.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.1789, allocations: 12 kB / 0.5817 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.953e-05/0.1789, allocations: 24 kB / 0.5817 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.349e-05/0.1789, allocations: 31.88 kB / 0.5817 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005129/0.1794, allocations: 179.7 kB / 0.5819 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.023e-05/0.1795, allocations: 39.86 kB / 0.5819 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005777/0.1801, allocations: 111.2 kB / 0.5821 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.935e-05/0.1801, allocations: 51.98 kB / 0.5821 GB, free: 10.73 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.0005035/0.1806, allocations: 371.7 kB / 0.5825 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.963e-05/0.1807, allocations: 59.58 kB / 0.5825 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.1808, allocations: 65.28 kB / 0.5826 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1808, allocations: 3.938 kB / 0.5826 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.1808, allocations: 4 kB / 0.5826 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1808, allocations: 3.984 kB / 0.5826 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000667/0.1815, allocations: 0.4934 MB / 0.5831 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1815, allocations: 0 / 0.5831 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.854e-05/0.1816, allocations: 15.98 kB / 0.5831 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1816, allocations: 0 / 0.5831 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1816, allocations: 4 kB / 0.5831 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1816, allocations: 3.938 kB / 0.5831 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1816, allocations: 0 / 0.5831 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.182, allocations: 267 kB / 0.5833 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.1822, allocations: 140.7 kB / 0.5835 GB, free: 9.207 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.1822, allocations: 0 / 0.5835 GB, free: 9.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.1824, allocations: 15.92 kB / 0.5835 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.1825, allocations: 11.98 kB / 0.5835 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.1825, allocations: 0 / 0.5835 GB, free: 9.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006916/0.1832, allocations: 0.5263 MB / 0.584 GB, free: 8.656 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1832, allocations: 0 / 0.584 GB, free: 8.656 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006871/0.1839, allocations: 139.7 kB / 0.5842 GB, free: 8.52 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.0001618/0.184, allocations: 99.25 kB / 0.5842 GB, free: 8.414 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007657/0.1848, allocations: 404.6 kB / 0.5846 GB, free: 8.023 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1848, allocations: 4.062 kB / 0.5846 GB, free: 8.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.1849, allocations: 47.88 kB / 0.5847 GB, free: 7.973 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005709/0.1855, allocations: 92.28 kB / 0.5848 GB, free: 7.887 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.1875, allocations: 1.174 MB / 0.5859 GB, free: 6.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007468/0.1882, allocations: 0.9871 MB / 0.5869 GB, free: 5.664 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.1883, allocations: 43.44 kB / 0.5869 GB, free: 5.621 MB / 446.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1883, allocations: 0 / 0.5869 GB, free: 5.621 MB / 446.1 MB Notification: Performance of Templates: time 0.2801/0.4684, allocations: 7.603 MB / 0.5943 GB, free: 33.11 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.503479248145595]