Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 107.1 kB / 18.39 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 184.1 kB / 19.32 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 243 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2068/0.2068, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001438, allocations: 66.66 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1364, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008374/0.1448, allocations: 6.352 MB / 477 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004445/0.1493, allocations: 1.943 MB / 479 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009351/0.1503, allocations: 27.94 kB / 479 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.1519, allocations: 0.6034 MB / 479.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006408/0.1526, allocations: 214.8 kB / 479.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.1528, allocations: 51.86 kB / 479.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006365/0.1535, allocations: 462 kB / 480.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007948/0.1543, allocations: 0.5221 MB / 480.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004298/0.1547, allocations: 239 kB / 481.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005472/0.1553, allocations: 298.8 kB / 481.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.1554, allocations: 44 kB / 481.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002494/0.1557, allocations: 83.94 kB / 481.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.156, allocations: 295.1 kB / 481.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004111/0.1564, allocations: 349.8 kB / 482.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.1574, allocations: 0.9145 MB / 483 MB, free: 1.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1574, allocations: 0 / 483 MB, free: 1.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1575, allocations: 0 / 483 MB, free: 1.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.76e-05/0.1575, allocations: 0 / 483 MB, free: 1.242 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002129/0.1596, allocations: 0.9995 MB / 484 MB, free: 200 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.1597, allocations: 12.03 kB / 484.1 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006279/0.1603, allocations: 135.7 kB / 484.2 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007927/0.1611, allocations: 453.5 kB / 484.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.1612, allocations: 37.36 kB / 484.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.082e-05/0.1613, allocations: 48.09 kB / 484.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.1629, allocations: 1.237 MB / 485.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.1629, allocations: 7.938 kB / 486 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.977e-05/0.163, allocations: 23.98 kB / 486 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004039/0.1634, allocations: 240.8 kB / 486.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.1646, allocations: 0.8076 MB / 487 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004253/0.1688, allocations: 5.05 MB / 492.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.169, allocations: 66.47 kB / 492.1 MB, free: 7.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.1691, allocations: 44.91 kB / 492.2 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.1691, allocations: 0 / 492.2 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.1692, allocations: 34.56 kB / 492.2 MB, free: 7.641 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1692, allocations: 0 / 492.2 MB, free: 7.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005008/0.1697, allocations: 216.7 kB / 492.4 MB, free: 7.422 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.1697, allocations: 51.41 kB / 492.5 MB, free: 7.359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00098/0.1707, allocations: 0.8555 MB / 493.3 MB, free: 6.496 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1708, allocations: 29.7 kB / 493.4 MB, free: 6.461 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.1711, allocations: 0.536 MB / 493.9 MB, free: 5.918 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.1712, allocations: 23.8 kB / 493.9 MB, free: 5.895 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.1714, allocations: 170.4 kB / 494.1 MB, free: 5.723 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1715, allocations: 378.8 kB / 494.5 MB, free: 5.344 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.1718, allocations: 185.8 kB / 494.6 MB, free: 5.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00066/0.1725, allocations: 0.7273 MB / 495.4 MB, free: 4.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009841/0.1735, allocations: 0.982 MB / 496.3 MB, free: 2.891 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.1735, allocations: 4 kB / 496.4 MB, free: 2.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001273/0.1748, allocations: 0.8795 MB / 497.2 MB, free: 2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.1748, allocations: 12 kB / 497.2 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.1749, allocations: 20 kB / 497.3 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.537e-05/0.1749, allocations: 28 kB / 497.3 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/0.1754, allocations: 180.4 kB / 497.5 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.393e-05/0.1754, allocations: 51.78 kB / 497.5 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/0.176, allocations: 118.8 kB / 497.6 MB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.387e-05/0.176, allocations: 48 kB / 497.7 MB, free: 1.551 MB / 366.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.arrowLine.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.0003951/0.1764, allocations: 383.7 kB / 498.1 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.359e-05/0.1765, allocations: 59.25 kB / 498.1 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.964e-05/0.1766, allocations: 65.44 kB / 498.2 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1766, allocations: 8 kB / 498.2 MB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1766, allocations: 0 / 498.2 MB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1766, allocations: 0 / 498.2 MB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000609/0.1772, allocations: 0.5519 MB / 498.7 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1773, allocations: 0 / 498.7 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.822e-05/0.1773, allocations: 11.98 kB / 498.7 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1774, allocations: 4.125 kB / 498.8 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1774, allocations: 4 kB / 498.8 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1774, allocations: 3.984 kB / 498.8 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1774, allocations: 0 / 498.8 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.1777, allocations: 274.5 kB / 499 MB, free: 116 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.1779, allocations: 136.5 kB / 499.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.505e-05/0.178, allocations: 0 / 499.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.1782, allocations: 19.92 kB / 499.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.1782, allocations: 7.984 kB / 499.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.1782, allocations: 7.984 kB / 499.2 MB, free: 15.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006062/0.1789, allocations: 0.5498 MB / 499.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1789, allocations: 0 / 499.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006581/0.1795, allocations: 155.5 kB / 499.9 MB, free: 15.22 MB / 382.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.0001407/0.1797, allocations: 99.25 kB / 500 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006607/0.1803, allocations: 419.4 kB / 0.4887 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1804, allocations: 0 / 0.4887 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.1805, allocations: 45.2 kB / 0.4887 GB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005598/0.181, allocations: 100.7 kB / 0.4888 GB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.1828, allocations: 1.178 MB / 0.49 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006809/0.1835, allocations: 1.03 MB / 0.491 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004403/0.184, allocations: 216.8 kB / 0.4912 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.865e-05/0.1841, allocations: 39.38 kB / 0.4912 GB, free: 12.05 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1841, allocations: 0 / 0.4912 GB, free: 12.05 MB / 382.1 MB Notification: Performance of Templates: time 0.0099/0.194, allocations: 4.749 MB / 0.4959 GB, free: 7.336 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches