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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009536/0.0009537, allocations: 179.6 kB / 8.521 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 221.4 MB / 230.3 MB, free: 7.766 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008378/0.0008378, allocations: 84.73 kB / 281.2 MB, free: 5.523 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1655/0.1655, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.252e-06/6.282e-06, allocations: 4.219 kB / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1035, allocations: 61.9 MB / 0.4941 GB, free: 1.645 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2908/0.3943, allocations: 95.03 MB / 0.5869 GB, free: 1.777 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.3946, allocations: 75.95 kB / 0.587 GB, free: 1.703 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03157/0.4262, allocations: 12.64 MB / 0.5993 GB, free: 5.008 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.949e-05/0.4262, allocations: 16 kB / 0.5993 GB, free: 4.992 MB / 410.7 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.0009839/0.4272, allocations: 0.837 MB / 0.6001 GB, free: 4.105 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.4273, allocations: 19.91 kB / 0.6002 GB, free: 4.086 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008998/0.4282, allocations: 170.7 kB / 0.6003 GB, free: 3.918 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007473/0.4289, allocations: 0.499 MB / 0.6008 GB, free: 3.379 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.4289, allocations: 20 kB / 0.6008 GB, free: 3.359 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.627e-05/0.429, allocations: 36 kB / 0.6009 GB, free: 3.324 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008631/0.4299, allocations: 0.6709 MB / 0.6015 GB, free: 2.652 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.4312, allocations: 1.169 MB / 0.6027 GB, free: 1.332 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.4313, allocations: 11.88 kB / 0.6027 GB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/0.4313, allocations: 4 kB / 0.6027 GB, free: 1.316 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.643e-05/0.4314, allocations: 108.7 kB / 0.6028 GB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004012/0.4354, allocations: 5.793 MB / 0.6084 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.483e-05/0.4355, allocations: 54.58 kB / 0.6085 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.4356, allocations: 32.92 kB / 0.6085 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.4356, allocations: 0 / 0.6085 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.4356, allocations: 34.56 kB / 0.6085 GB, free: 11.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.4357, allocations: 0 / 0.6085 GB, free: 11.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.000262/0.4359, allocations: 144.9 kB / 0.6087 GB, free: 10.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.436, allocations: 55.41 kB / 0.6087 GB, free: 10.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006562/0.4366, allocations: 0.6319 MB / 0.6094 GB, free: 10.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.4366, allocations: 25.7 kB / 0.6094 GB, free: 10.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.4369, allocations: 496.5 kB / 0.6098 GB, free: 9.664 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.4369, allocations: 31.78 kB / 0.6099 GB, free: 9.633 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/0.4369, allocations: 3.938 kB / 0.6099 GB, free: 9.629 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4371, allocations: 366.8 kB / 0.6102 GB, free: 9.262 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.4373, allocations: 149.5 kB / 0.6104 GB, free: 9.117 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/0.4378, allocations: 0.6994 MB / 0.6111 GB, free: 8.133 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.4382, allocations: 307.6 kB / 0.6114 GB, free: 7.832 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.4382, allocations: 12 kB / 0.6114 GB, free: 7.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009515/0.4391, allocations: 0.712 MB / 0.6121 GB, free: 7.102 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4392, allocations: 4.969 kB / 0.6121 GB, free: 7.098 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.4392, allocations: 20 kB / 0.6121 GB, free: 7.078 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.514e-05/0.4392, allocations: 35.91 kB / 0.6121 GB, free: 7.043 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.4397, allocations: 179.6 kB / 0.6123 GB, free: 6.867 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.787e-05/0.4398, allocations: 43.84 kB / 0.6123 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000545/0.4403, allocations: 90.97 kB / 0.6124 GB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-05/0.4404, allocations: 48 kB / 0.6125 GB, free: 6.688 MB / 426.7 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 (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.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.4405, allocations: 171.1 kB / 0.6126 GB, free: 6.512 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.4406, allocations: 55.25 kB / 0.6127 GB, free: 6.457 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.118e-05/0.4407, allocations: 56.84 kB / 0.6127 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4407, allocations: 7.922 kB / 0.6127 GB, free: 6.387 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4407, allocations: 0 / 0.6127 GB, free: 6.387 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4407, allocations: 0 / 0.6127 GB, free: 6.387 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.4412, allocations: 410 kB / 0.6131 GB, free: 5.949 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4412, allocations: 7.938 kB / 0.6131 GB, free: 5.941 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.311e-05/0.4413, allocations: 15.98 kB / 0.6132 GB, free: 5.926 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4413, allocations: 0 / 0.6132 GB, free: 5.926 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.4413, allocations: 7.906 kB / 0.6132 GB, free: 5.918 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4413, allocations: 0 / 0.6132 GB, free: 5.918 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4413, allocations: 0 / 0.6132 GB, free: 5.918 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002039/0.4415, allocations: 238.8 kB / 0.6134 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.913e-05/0.4416, allocations: 128.3 kB / 0.6135 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.38e-05/0.4417, allocations: 0 / 0.6135 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.4419, allocations: 11.98 kB / 0.6135 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.442, allocations: 7.984 kB / 0.6135 GB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.442, allocations: 0 / 0.6135 GB, free: 5.504 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0004663/0.4425, allocations: 455 kB / 0.614 GB, free: 5.066 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006352/0.4431, allocations: 151.3 kB / 0.6141 GB, free: 4.918 MB / 426.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001502/0.4433, allocations: 107.2 kB / 0.6142 GB, free: 4.805 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004325/0.4437, allocations: 350.4 kB / 0.6145 GB, free: 4.465 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.4437, allocations: 6.562 kB / 0.6146 GB, free: 4.461 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.888e-05/0.4438, allocations: 35.95 kB / 0.6146 GB, free: 4.426 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.4442, allocations: 77.23 kB / 0.6147 GB, free: 4.352 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.4456, allocations: 0.8336 MB / 0.6155 GB, free: 3.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006838/0.4463, allocations: 1.091 MB / 0.6165 GB, free: 2.367 MB / 426.7 MB Notification: Performance of SimCode: time 1.282e-06/0.4463, allocations: 0 / 0.6165 GB, free: 2.367 MB / 426.7 MB Notification: Performance of Templates: time 0.008571/0.4548, allocations: 3.683 MB / 0.6201 GB, free: 14.71 MB / 442.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches