Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001527/0.001527, allocations: 210.2 kB / 8.541 MB, free: 2.637 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.211/1.211, allocations: 225.5 MB / 234.4 MB, free: 3.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000902/0.000902, allocations: 84.97 kB / 286.3 MB, free: 0.5117 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3164/0.3164, allocations: 45.14 MB / 383.3 MB, free: 43.02 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 8.135e-06/8.225e-06, allocations: 4 kB / 452.6 MB, free: 8.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2858, allocations: 63.24 MB / 0.5038 GB, free: 41.59 MB / 382.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1151/0.401, allocations: 96.1 MB / 0.5976 GB, free: 1.922 MB / 414.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/0.4012, allocations: 75.97 kB / 0.5977 GB, free: 1.848 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.03192/0.4331, allocations: 12.68 MB / 0.6101 GB, free: 5.109 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.924e-05/0.4332, allocations: 19.98 kB / 0.6101 GB, free: 5.09 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001053/0.4343, allocations: 0.8476 MB / 0.6109 GB, free: 4.195 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4343, allocations: 8.031 kB / 0.6109 GB, free: 4.188 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.4355, allocations: 218.7 kB / 0.6111 GB, free: 3.973 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007888/0.4363, allocations: 0.4913 MB / 0.6116 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.4363, allocations: 20 kB / 0.6116 GB, free: 3.426 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.11e-05/0.4364, allocations: 39.94 kB / 0.6117 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008905/0.4373, allocations: 0.667 MB / 0.6123 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.4387, allocations: 1.173 MB / 0.6135 GB, free: 1.395 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.4387, allocations: 7.938 kB / 0.6135 GB, free: 1.387 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.857e-05/0.4388, allocations: 4 kB / 0.6135 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.961e-05/0.4389, allocations: 108.6 kB / 0.6136 GB, free: 1.277 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003972/0.4428, allocations: 5.794 MB / 0.6192 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.878e-05/0.4429, allocations: 50.55 kB / 0.6193 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.473e-05/0.443, allocations: 32.92 kB / 0.6193 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.443, allocations: 4 kB / 0.6193 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.4431, allocations: 38.55 kB / 0.6194 GB, free: 11.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 2.254e-06/0.4431, allocations: 0 / 0.6194 GB, free: 11.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002835/0.4434, allocations: 144.9 kB / 0.6195 GB, free: 10.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.4434, allocations: 51.41 kB / 0.6195 GB, free: 10.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006635/0.4441, allocations: 0.628 MB / 0.6202 GB, free: 10.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.4441, allocations: 29.7 kB / 0.6202 GB, free: 10.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.4444, allocations: 0.4926 MB / 0.6207 GB, free: 9.723 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.4444, allocations: 31.73 kB / 0.6207 GB, free: 9.691 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.4445, allocations: 0 / 0.6207 GB, free: 9.691 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4446, allocations: 366.8 kB / 0.621 GB, free: 9.324 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.4448, allocations: 149.5 kB / 0.6212 GB, free: 9.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004773/0.4453, allocations: 0.6955 MB / 0.6219 GB, free: 8.199 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.4456, allocations: 319.4 kB / 0.6222 GB, free: 7.887 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.4456, allocations: 8 kB / 0.6222 GB, free: 7.879 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009295/0.4466, allocations: 0.7166 MB / 0.6229 GB, free: 7.156 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.4466, allocations: 7.906 kB / 0.6229 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.4466, allocations: 20 kB / 0.6229 GB, free: 7.129 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.588e-05/0.4467, allocations: 28 kB / 0.6229 GB, free: 7.102 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005045/0.4472, allocations: 179.7 kB / 0.6231 GB, free: 6.926 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.654e-05/0.4472, allocations: 44.11 kB / 0.6231 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/0.4477, allocations: 95.02 kB / 0.6232 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/0.4478, allocations: 48 kB / 0.6233 GB, free: 6.742 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 (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.0001227/0.4479, allocations: 164.5 kB / 0.6234 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.842e-05/0.448, allocations: 59.25 kB / 0.6235 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.857e-05/0.4481, allocations: 64.8 kB / 0.6236 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4481, allocations: 0 / 0.6236 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4481, allocations: 7.922 kB / 0.6236 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.4481, allocations: 0 / 0.6236 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.4485, allocations: 406 kB / 0.624 GB, free: 6.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4485, allocations: 0 / 0.624 GB, free: 6.008 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.205e-05/0.4486, allocations: 15.98 kB / 0.624 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.4487, allocations: 7.906 kB / 0.624 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.4487, allocations: 3.984 kB / 0.624 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4487, allocations: 4 kB / 0.624 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4487, allocations: 0 / 0.624 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001995/0.4489, allocations: 234.7 kB / 0.6242 GB, free: 5.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.449, allocations: 128.4 kB / 0.6243 GB, free: 5.586 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.369e-05/0.4491, allocations: 0 / 0.6243 GB, free: 5.586 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.4493, allocations: 15.98 kB / 0.6243 GB, free: 5.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.4493, allocations: 7.984 kB / 0.6244 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.4494, allocations: 0 / 0.6244 GB, free: 5.562 MB / 446.1 MB Notification: Performance of sort global known variables: time 0.000447/0.4498, allocations: 451.1 kB / 0.6248 GB, free: 5.129 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000638/0.4504, allocations: 151.3 kB / 0.6249 GB, free: 4.98 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 () * 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.0001436/0.4506, allocations: 99.19 kB / 0.625 GB, free: 4.875 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004422/0.451, allocations: 360.8 kB / 0.6254 GB, free: 4.527 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4511, allocations: 0 / 0.6254 GB, free: 4.527 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.319e-05/0.4511, allocations: 39.97 kB / 0.6254 GB, free: 4.488 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.4516, allocations: 78.83 kB / 0.6255 GB, free: 4.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.453, allocations: 0.825 MB / 0.6263 GB, free: 3.555 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007211/0.4537, allocations: 1.084 MB / 0.6273 GB, free: 2.449 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4538, allocations: 0 / 0.6273 GB, free: 2.449 MB / 446.1 MB Notification: Performance of Templates: time 0.008926/0.4627, allocations: 3.671 MB / 0.6309 GB, free: 14.8 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches