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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00098/0.00098, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008737/0.0008737, allocations: 85.77 kB / 292.2 MB, free: 10.93 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.3195/0.3195, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003271, allocations: 11.98 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3326, allocations: 61.89 MB / 0.5096 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.4539, allocations: 95.83 MB / 0.6031 GB, free: 15.29 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.4542, allocations: 83.95 kB / 0.6032 GB, free: 15.21 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03378/0.488, allocations: 13.38 MB / 0.6163 GB, free: 1.773 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.488, allocations: 3.938 kB / 0.6163 GB, free: 1.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.17e-05/0.4881, allocations: 12 kB / 0.6163 GB, free: 1.758 MB / 426.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.001285/0.4894, allocations: 0.919 MB / 0.6172 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.4894, allocations: 12.03 kB / 0.6172 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008331/0.4903, allocations: 186.7 kB / 0.6174 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008742/0.4911, allocations: 0.5005 MB / 0.6179 GB, free: 56 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/0.4912, allocations: 45.3 kB / 0.6179 GB, free: 12 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.4913, allocations: 68.03 kB / 0.618 GB, free: 15.94 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.4929, allocations: 1.276 MB / 0.6192 GB, free: 14.51 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.4929, allocations: 7.938 kB / 0.6192 GB, free: 14.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/0.493, allocations: 35.98 kB / 0.6193 GB, free: 14.47 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.4931, allocations: 104.9 kB / 0.6194 GB, free: 14.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.4943, allocations: 0.8231 MB / 0.6202 GB, free: 13.54 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004529/0.4988, allocations: 6.004 MB / 0.626 GB, free: 7.289 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.499, allocations: 66.53 kB / 0.6261 GB, free: 7.215 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.499, allocations: 0 / 0.6261 GB, free: 7.215 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.499, allocations: 34.59 kB / 0.6261 GB, free: 7.172 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.499, allocations: 0 / 0.6261 GB, free: 7.172 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005046/0.4995, allocations: 228.9 kB / 0.6264 GB, free: 6.941 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.4996, allocations: 51.41 kB / 0.6264 GB, free: 6.879 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000872/0.5005, allocations: 0.7649 MB / 0.6271 GB, free: 6.105 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.5005, allocations: 25.7 kB / 0.6272 GB, free: 6.074 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/0.5008, allocations: 0.5438 MB / 0.6277 GB, free: 5.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.5009, allocations: 31.72 kB / 0.6277 GB, free: 5.488 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.5009, allocations: 16 kB / 0.6277 GB, free: 5.473 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.5011, allocations: 378.7 kB / 0.6281 GB, free: 5.094 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.5014, allocations: 189.9 kB / 0.6283 GB, free: 4.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006263/0.502, allocations: 0.7272 MB / 0.629 GB, free: 3.902 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/0.5025, allocations: 343.6 kB / 0.6293 GB, free: 3.566 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.5025, allocations: 4 kB / 0.6293 GB, free: 3.562 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001188/0.5037, allocations: 0.8762 MB / 0.6302 GB, free: 2.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.5037, allocations: 20.25 kB / 0.6302 GB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/0.5037, allocations: 20 kB / 0.6302 GB, free: 2.641 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.17e-05/0.5038, allocations: 31.98 kB / 0.6303 GB, free: 2.609 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/0.5042, allocations: 179.7 kB / 0.6304 GB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-05/0.5043, allocations: 35.86 kB / 0.6305 GB, free: 2.398 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004894/0.5048, allocations: 122.8 kB / 0.6306 GB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.5048, allocations: 48 kB / 0.6306 GB, free: 2.23 MB / 442.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003939/0.5052, allocations: 399.8 kB / 0.631 GB, free: 1.828 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.102e-05/0.5053, allocations: 63.16 kB / 0.6311 GB, free: 1.766 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.454e-05/0.5054, allocations: 65.44 kB / 0.6311 GB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.5054, allocations: 0 / 0.6311 GB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5054, allocations: 4 kB / 0.6311 GB, free: 1.691 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.5054, allocations: 0 / 0.6311 GB, free: 1.691 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005666/0.506, allocations: 0.5442 MB / 0.6317 GB, free: 1.098 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.506, allocations: 0 / 0.6317 GB, free: 1.098 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.843e-05/0.5061, allocations: 27.98 kB / 0.6317 GB, free: 1.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.5061, allocations: 0 / 0.6317 GB, free: 1.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.5061, allocations: 3.938 kB / 0.6317 GB, free: 1.066 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5061, allocations: 0 / 0.6317 GB, free: 1.066 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5062, allocations: 3.984 kB / 0.6317 GB, free: 1.062 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.5065, allocations: 282.6 kB / 0.632 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.5066, allocations: 140.2 kB / 0.6321 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.5067, allocations: 0 / 0.6321 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.5069, allocations: 12 kB / 0.6321 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.507, allocations: 15.97 kB / 0.6321 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.507, allocations: 4 kB / 0.6321 GB, free: 0.582 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006493/0.5076, allocations: 0.5419 MB / 0.6327 GB, free: 48 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5076, allocations: 0 / 0.6327 GB, free: 48 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006064/0.5082, allocations: 155.6 kB / 0.6328 GB, free: 15.89 MB / 458.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 () * 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 (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.5084, allocations: 99.19 kB / 0.6329 GB, free: 15.79 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006193/0.509, allocations: 428.6 kB / 0.6333 GB, free: 15.38 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.509, allocations: 4.062 kB / 0.6333 GB, free: 15.37 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.5092, allocations: 51.88 kB / 0.6334 GB, free: 15.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.5096, allocations: 99.97 kB / 0.6335 GB, free: 15.22 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.5113, allocations: 1.399 MB / 0.6348 GB, free: 13.79 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006125/0.5119, allocations: 1.038 MB / 0.6358 GB, free: 12.72 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004753/0.5124, allocations: 216.8 kB / 0.636 GB, free: 12.51 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.5125, allocations: 35.44 kB / 0.6361 GB, free: 12.47 MB / 458.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5125, allocations: 0 / 0.6361 GB, free: 12.47 MB / 458.7 MB Notification: Performance of Templates: time 0.008644/0.5212, allocations: 4.387 MB / 0.6404 GB, free: 8.121 MB / 458.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