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.001767/0.001767, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.00189/0.00189, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.596/1.596, allocations: 230.6 MB / 254.1 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.2359/0.2359, allocations: 46.92 MB / 357.1 MB, free: 10.4 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.002044/0.002044, allocations: 63.91 kB / 0.4914 GB, free: 7.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1521, allocations: 65.99 MB / 0.5559 GB, free: 5.426 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008866/0.161, allocations: 6.274 MB / 0.562 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004736/0.1657, allocations: 1.982 MB / 0.5639 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.1668, allocations: 27.94 kB / 0.564 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.1684, allocations: 0.6307 MB / 0.5646 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006678/0.1691, allocations: 194.9 kB / 0.5648 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.1694, allocations: 63.8 kB / 0.5648 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005546/0.17, allocations: 418.2 kB / 0.5652 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006955/0.1707, allocations: 438.8 kB / 0.5656 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003592/0.171, allocations: 227.1 kB / 0.5659 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004326/0.1714, allocations: 294.8 kB / 0.5661 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.974e-05/0.1715, allocations: 40 kB / 0.5662 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.1717, allocations: 91.88 kB / 0.5663 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002909/0.172, allocations: 271.1 kB / 0.5665 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003009/0.1723, allocations: 314 kB / 0.5668 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.1733, allocations: 0.8167 MB / 0.5676 GB, free: 9.332 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1733, allocations: 4 kB / 0.5676 GB, free: 9.328 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1733, allocations: 0 / 0.5676 GB, free: 9.328 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.1733, allocations: 4 kB / 0.5676 GB, free: 9.324 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.001677/0.175, allocations: 0.961 MB / 0.5686 GB, free: 8.312 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1751, allocations: 12.03 kB / 0.5686 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008473/0.1759, allocations: 156.2 kB / 0.5687 GB, free: 8.148 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007524/0.1767, allocations: 457.9 kB / 0.5692 GB, free: 7.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.1767, allocations: 29.36 kB / 0.5692 GB, free: 7.633 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.662e-05/0.1768, allocations: 52.11 kB / 0.5692 GB, free: 7.582 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.1784, allocations: 1.074 MB / 0.5703 GB, free: 6.395 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.1784, allocations: 7.938 kB / 0.5703 GB, free: 6.387 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.524e-05/0.1784, allocations: 19.98 kB / 0.5703 GB, free: 6.367 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004178/0.1788, allocations: 188.4 kB / 0.5705 GB, free: 6.184 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.1801, allocations: 0.7277 MB / 0.5712 GB, free: 5.453 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004822/0.1849, allocations: 4.654 MB / 0.5757 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.1851, allocations: 62.47 kB / 0.5758 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.1853, allocations: 48.91 kB / 0.5759 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.1853, allocations: 0 / 0.5759 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/0.1853, allocations: 34.56 kB / 0.5759 GB, free: 464 kB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1854, allocations: 0 / 0.5759 GB, free: 464 kB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006501/0.186, allocations: 221 kB / 0.5761 GB, free: 236 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.1861, allocations: 51.41 kB / 0.5761 GB, free: 172 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.1872, allocations: 0.8166 MB / 0.5769 GB, free: 15.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.1872, allocations: 25.7 kB / 0.577 GB, free: 15.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004863/0.1877, allocations: 0.5257 MB / 0.5775 GB, free: 14.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.1877, allocations: 27.83 kB / 0.5775 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/0.188, allocations: 174.5 kB / 0.5777 GB, free: 14.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002431/0.1882, allocations: 378.8 kB / 0.578 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.1885, allocations: 173.9 kB / 0.5782 GB, free: 14.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008833/0.1894, allocations: 0.7351 MB / 0.5789 GB, free: 13.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.1907, allocations: 0.9742 MB / 0.5799 GB, free: 11.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.1907, allocations: 12 kB / 0.5799 GB, free: 11.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001506/0.1922, allocations: 0.8688 MB / 0.5807 GB, free: 10.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.1923, allocations: 12.22 kB / 0.5807 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/0.1923, allocations: 28 kB / 0.5808 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.948e-05/0.1923, allocations: 27.94 kB / 0.5808 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006182/0.193, allocations: 179.6 kB / 0.581 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.241e-05/0.193, allocations: 39.86 kB / 0.581 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005912/0.1936, allocations: 119.2 kB / 0.5811 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.305e-05/0.1936, allocations: 48 kB / 0.5812 GB, free: 10.42 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.0004894/0.1941, allocations: 363.4 kB / 0.5815 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.021e-05/0.1942, allocations: 63.58 kB / 0.5816 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.1943, allocations: 65.27 kB / 0.5816 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1943, allocations: 7.938 kB / 0.5816 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1943, allocations: 0 / 0.5816 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1944, allocations: 0 / 0.5816 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006641/0.195, allocations: 0.4896 MB / 0.5821 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.195, allocations: 0 / 0.5821 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.883e-05/0.1951, allocations: 11.98 kB / 0.5821 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1951, allocations: 0 / 0.5821 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1951, allocations: 8 kB / 0.5821 GB, free: 9.348 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1951, allocations: 3.938 kB / 0.5821 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1951, allocations: 0 / 0.5821 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004314/0.1956, allocations: 275.1 kB / 0.5824 GB, free: 9.059 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.1957, allocations: 136.7 kB / 0.5825 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/0.1958, allocations: 3.938 kB / 0.5825 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.196, allocations: 19.92 kB / 0.5826 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.196, allocations: 7.984 kB / 0.5826 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.196, allocations: 0 / 0.5826 GB, free: 8.875 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007209/0.1967, allocations: 0.5302 MB / 0.5831 GB, free: 8.348 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1967, allocations: 0 / 0.5831 GB, free: 8.348 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007513/0.1975, allocations: 139.7 kB / 0.5832 GB, free: 8.211 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.0001902/0.1977, allocations: 99.25 kB / 0.5833 GB, free: 8.105 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007811/0.1985, allocations: 403.9 kB / 0.5837 GB, free: 7.715 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1985, allocations: 0.75 kB / 0.5837 GB, free: 7.715 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.1986, allocations: 51.89 kB / 0.5837 GB, free: 7.664 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005764/0.1992, allocations: 87.22 kB / 0.5838 GB, free: 7.586 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.2012, allocations: 1.098 MB / 0.5849 GB, free: 6.461 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008129/0.202, allocations: 0.9872 MB / 0.5859 GB, free: 5.445 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004862/0.2025, allocations: 212.7 kB / 0.5861 GB, free: 5.234 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.906e-05/0.2026, allocations: 35.44 kB / 0.5861 GB, free: 5.199 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2026, allocations: 0 / 0.5861 GB, free: 5.199 MB / 446.1 MB Notification: Performance of Templates: time 0.01186/0.2144, allocations: 4.681 MB / 0.5907 GB, free: 0.5586 MB / 446.1 MB " [Timeout remaining time 659] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins/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: 5.702106215059757]