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.001533/0.001533, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001708/0.001708, allocations: 187 kB / 19.34 MB, free: 3.641 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.34/1.34, allocations: 222.9 MB / 243 MB, free: 15.16 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.247/0.247, allocations: 44.19 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.45 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1497, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01029/0.1601, allocations: 6.345 MB / 477 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005686/0.1658, allocations: 1.951 MB / 479 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.1672, allocations: 24 kB / 479 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.1692, allocations: 0.6034 MB / 479.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008617/0.1701, allocations: 214.8 kB / 479.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.1704, allocations: 47.89 kB / 479.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007424/0.1711, allocations: 462 kB / 480.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009299/0.1721, allocations: 0.5337 MB / 480.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004394/0.1725, allocations: 231 kB / 481.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006108/0.1732, allocations: 306.8 kB / 481.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.1733, allocations: 44 kB / 481.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.1736, allocations: 79.91 kB / 481.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003718/0.174, allocations: 291.2 kB / 481.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003856/0.1744, allocations: 341.8 kB / 482.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.1755, allocations: 0.9145 MB / 483 MB, free: 1.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1755, allocations: 4 kB / 483.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1756, allocations: 0 / 483.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.1756, allocations: 0 / 483.1 MB, free: 1.25 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.002085/0.1777, allocations: 1.007 MB / 484.1 MB, free: 200 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.1777, allocations: 11.97 kB / 484.1 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008608/0.1786, allocations: 135.7 kB / 484.2 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009771/0.1796, allocations: 457.6 kB / 484.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.541e-05/0.1797, allocations: 29.28 kB / 484.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.1798, allocations: 52.09 kB / 484.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/0.1819, allocations: 1.237 MB / 486 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.1819, allocations: 3.938 kB / 486 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.496e-05/0.182, allocations: 23.97 kB / 486 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005289/0.1826, allocations: 244.8 kB / 486.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.1842, allocations: 0.8115 MB / 487 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005754/0.19, allocations: 5.034 MB / 492.1 MB, free: 7.816 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.1902, allocations: 58.47 kB / 492.1 MB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.1904, allocations: 52.91 kB / 492.2 MB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1905, allocations: 3.984 kB / 492.2 MB, free: 7.691 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.1905, allocations: 38.55 kB / 492.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 3.988e-06/0.1905, allocations: 0 / 492.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0007341/0.1913, allocations: 204.8 kB / 492.4 MB, free: 7.438 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.1913, allocations: 55.41 kB / 492.5 MB, free: 7.371 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.1928, allocations: 0.8633 MB / 493.3 MB, free: 6.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.1929, allocations: 25.7 kB / 493.4 MB, free: 6.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004232/0.1933, allocations: 0.5321 MB / 493.9 MB, free: 5.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.1933, allocations: 31.78 kB / 493.9 MB, free: 5.898 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.1935, allocations: 170.4 kB / 494.1 MB, free: 5.727 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1937, allocations: 374.8 kB / 494.5 MB, free: 5.352 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.194, allocations: 181.9 kB / 494.6 MB, free: 5.172 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006618/0.1947, allocations: 0.7389 MB / 495.4 MB, free: 4.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009801/0.1957, allocations: 0.9743 MB / 496.4 MB, free: 2.898 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.1957, allocations: 8 kB / 496.4 MB, free: 2.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001242/0.1969, allocations: 0.8758 MB / 497.2 MB, free: 2.008 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.197, allocations: 23.42 kB / 497.3 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.197, allocations: 20 kB / 497.3 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.185e-05/0.197, allocations: 24 kB / 497.3 MB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005031/0.1976, allocations: 171.7 kB / 497.5 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-05/0.1976, allocations: 43.8 kB / 497.5 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005656/0.1982, allocations: 127.2 kB / 497.6 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/0.1982, allocations: 56 kB / 497.7 MB, free: 1.555 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.0004454/0.1987, allocations: 379.7 kB / 498.1 MB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.759e-05/0.1988, allocations: 59.25 kB / 498.1 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.667e-05/0.1989, allocations: 69.44 kB / 498.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1989, allocations: 0 / 498.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1989, allocations: 192 / 498.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1989, allocations: 4 kB / 498.2 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006434/0.1995, allocations: 0.5558 MB / 498.8 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.1996, allocations: 3.984 kB / 498.8 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.87e-05/0.1997, allocations: 11.98 kB / 498.8 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1997, allocations: 4 kB / 498.8 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1997, allocations: 0 / 498.8 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1997, allocations: 3.938 kB / 498.8 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1997, allocations: 0 / 498.8 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003506/0.2, allocations: 278.5 kB / 499 MB, free: 116 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.2002, allocations: 132.5 kB / 499.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.802e-05/0.2003, allocations: 0 / 499.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.2005, allocations: 11.92 kB / 499.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.2006, allocations: 7.984 kB / 499.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.2006, allocations: 4 kB / 499.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006438/0.2012, allocations: 0.5536 MB / 499.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2012, allocations: 4 kB / 499.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006487/0.2019, allocations: 155.4 kB / 499.9 MB, free: 15.23 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.0001572/0.2021, allocations: 95.25 kB / 0.4883 GB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006395/0.2027, allocations: 424.1 kB / 0.4887 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2027, allocations: 0 / 0.4887 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.2028, allocations: 43.94 kB / 0.4887 GB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.2034, allocations: 103.5 kB / 0.4888 GB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.2052, allocations: 1.186 MB / 0.49 GB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006659/0.2059, allocations: 1.026 MB / 0.491 GB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004389/0.2064, allocations: 212.8 kB / 0.4912 GB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.187e-05/0.2065, allocations: 47.42 kB / 0.4912 GB, free: 12.05 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2065, allocations: 0 / 0.4912 GB, free: 12.05 MB / 382.1 MB Notification: Performance of Templates: time 0.00967/0.2161, allocations: 4.745 MB / 0.4959 GB, free: 7.34 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 gbode -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