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.001432/0.001433, allocations: 179.8 kB / 18.09 MB, free: 3.746 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.332/1.332, allocations: 223.3 MB / 242.1 MB, free: 11.69 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.0008309/0.0008308, allocations: 91.02 kB / 293.3 MB, free: 10.77 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.3752/0.3752, allocations: 44.15 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004289/0.000429, allocations: 16 kB / 461.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3574, allocations: 61.88 MB / 0.5107 GB, free: 38.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/0.4858, allocations: 95.89 MB / 0.6044 GB, free: 15.17 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.4861, allocations: 83.95 kB / 0.6044 GB, free: 15.09 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03349/0.5196, allocations: 13.29 MB / 0.6174 GB, free: 1.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5196, allocations: 0 / 0.6174 GB, free: 1.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.175e-05/0.5197, allocations: 16 kB / 0.6174 GB, free: 1.734 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.001721/0.5214, allocations: 0.9152 MB / 0.6183 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.5215, allocations: 8.031 kB / 0.6183 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009697/0.5224, allocations: 191.6 kB / 0.6185 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009401/0.5234, allocations: 0.5054 MB / 0.619 GB, free: 24 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.017e-05/0.5235, allocations: 45.73 kB / 0.6191 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.5236, allocations: 68.34 kB / 0.6191 GB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.5254, allocations: 1.277 MB / 0.6204 GB, free: 14.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.5254, allocations: 12.12 kB / 0.6204 GB, free: 14.47 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.541e-05/0.5255, allocations: 35.92 kB / 0.6204 GB, free: 14.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001271/0.5257, allocations: 100.9 kB / 0.6205 GB, free: 14.33 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.527, allocations: 0.8348 MB / 0.6213 GB, free: 13.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004996/0.532, allocations: 6.004 MB / 0.6272 GB, free: 7.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.5322, allocations: 66.56 kB / 0.6272 GB, free: 7.176 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.5323, allocations: 52.91 kB / 0.6273 GB, free: 7.121 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.5323, allocations: 4 kB / 0.6273 GB, free: 7.117 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.5324, allocations: 30.56 kB / 0.6273 GB, free: 7.078 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.5324, allocations: 0 / 0.6273 GB, free: 7.078 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005321/0.5329, allocations: 236.6 kB / 0.6276 GB, free: 6.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.533, allocations: 51.41 kB / 0.6276 GB, free: 6.777 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.534, allocations: 0.8516 MB / 0.6284 GB, free: 5.918 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.5341, allocations: 25.7 kB / 0.6285 GB, free: 5.887 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003802/0.5344, allocations: 0.5359 MB / 0.629 GB, free: 5.344 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.5345, allocations: 31.81 kB / 0.629 GB, free: 5.312 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.5345, allocations: 16 kB / 0.629 GB, free: 5.297 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.5347, allocations: 378.8 kB / 0.6294 GB, free: 4.918 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/0.5351, allocations: 181.9 kB / 0.6296 GB, free: 4.742 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006622/0.5357, allocations: 0.739 MB / 0.6303 GB, free: 3.719 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.5369, allocations: 0.9859 MB / 0.6313 GB, free: 2.449 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.5369, allocations: 8 kB / 0.6313 GB, free: 2.441 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001473/0.5384, allocations: 0.8764 MB / 0.6321 GB, free: 1.559 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.5384, allocations: 19.92 kB / 0.6321 GB, free: 1.539 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/0.5385, allocations: 20 kB / 0.6322 GB, free: 1.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.484e-05/0.5385, allocations: 32.03 kB / 0.6322 GB, free: 1.488 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/0.539, allocations: 179.6 kB / 0.6324 GB, free: 1.312 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.591e-05/0.5391, allocations: 39.8 kB / 0.6324 GB, free: 1.273 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005607/0.5397, allocations: 118.9 kB / 0.6325 GB, free: 1.156 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.964e-05/0.5397, allocations: 48 kB / 0.6326 GB, free: 1.109 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.0004845/0.5402, allocations: 391.9 kB / 0.6329 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.133e-05/0.5403, allocations: 63.19 kB / 0.633 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.5404, allocations: 69.42 kB / 0.6331 GB, free: 0.582 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.5404, allocations: 0 / 0.6331 GB, free: 0.582 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5405, allocations: 0 / 0.6331 GB, free: 0.582 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5405, allocations: 4 kB / 0.6331 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007353/0.5412, allocations: 0.5442 MB / 0.6336 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.5412, allocations: 4 kB / 0.6336 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.965e-05/0.5413, allocations: 23.92 kB / 0.6336 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.5413, allocations: 3.938 kB / 0.6336 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.5414, allocations: 3.984 kB / 0.6336 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5414, allocations: 0 / 0.6336 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5414, allocations: 0 / 0.6336 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.5418, allocations: 286.6 kB / 0.6339 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.5419, allocations: 132.3 kB / 0.634 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.823e-05/0.542, allocations: 3.938 kB / 0.634 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.5422, allocations: 11.98 kB / 0.634 GB, free: 15.49 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.5423, allocations: 11.92 kB / 0.634 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.5423, allocations: 0 / 0.634 GB, free: 15.48 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007021/0.543, allocations: 0.5536 MB / 0.6346 GB, free: 14.93 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.543, allocations: 0 / 0.6346 GB, free: 14.93 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006846/0.5437, allocations: 155.5 kB / 0.6347 GB, free: 14.77 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.0001702/0.5439, allocations: 95.19 kB / 0.6348 GB, free: 14.67 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000705/0.5446, allocations: 428.6 kB / 0.6352 GB, free: 14.25 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5446, allocations: 4 kB / 0.6352 GB, free: 14.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.5447, allocations: 52.06 kB / 0.6353 GB, free: 14.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005627/0.5453, allocations: 88.03 kB / 0.6354 GB, free: 14.12 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.5473, allocations: 1.407 MB / 0.6367 GB, free: 12.67 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007307/0.5481, allocations: 1.03 MB / 0.6378 GB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005339/0.5486, allocations: 208.8 kB / 0.638 GB, free: 11.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.401e-05/0.5487, allocations: 35.44 kB / 0.638 GB, free: 11.37 MB / 458.7 MB Notification: Performance of SimCode: time 2.185e-06/0.5487, allocations: 0 / 0.638 GB, free: 11.37 MB / 458.7 MB Notification: Performance of Templates: time 0.009802/0.5585, allocations: 4.427 MB / 0.6423 GB, free: 6.977 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/jenkins1/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