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.000942/0.0009419, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.211/1.211, allocations: 221.3 MB / 236 MB, free: 2.926 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.0008312/0.000831, allocations: 91.8 kB / 287 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.171/0.171, allocations: 44.16 MB / 382.1 MB, free: 14.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.45e-05/2.452e-05, allocations: 0 / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1121, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3521/0.4642, allocations: 95.76 MB / 0.5952 GB, free: 9.523 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.4645, allocations: 75.95 kB / 0.5953 GB, free: 9.449 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03116/0.4957, allocations: 13.37 MB / 0.6083 GB, free: 12.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4957, allocations: 4 kB / 0.6083 GB, free: 12.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.006e-05/0.4957, allocations: 12 kB / 0.6084 GB, free: 12.01 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.001006/0.4967, allocations: 0.837 MB / 0.6092 GB, free: 11.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.4968, allocations: 12.03 kB / 0.6092 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008585/0.4977, allocations: 182.7 kB / 0.6094 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007559/0.4984, allocations: 0.4912 MB / 0.6098 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.4985, allocations: 53.3 kB / 0.6099 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.952e-05/0.4986, allocations: 63.92 kB / 0.6099 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.5, allocations: 1.241 MB / 0.6112 GB, free: 8.891 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.5, allocations: 7.938 kB / 0.6112 GB, free: 8.883 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.386e-05/0.5001, allocations: 39.98 kB / 0.6112 GB, free: 8.844 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.5002, allocations: 104.6 kB / 0.6113 GB, free: 8.742 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009869/0.5012, allocations: 0.7717 MB / 0.6121 GB, free: 7.969 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003964/0.5051, allocations: 5.996 MB / 0.6179 GB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.159e-05/0.5052, allocations: 46.55 kB / 0.618 GB, free: 1.676 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.99e-05/0.5053, allocations: 32.92 kB / 0.618 GB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.5053, allocations: 4.062 kB / 0.618 GB, free: 1.637 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.5053, allocations: 46.58 kB / 0.618 GB, free: 1.582 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/0.5054, allocations: 0 / 0.618 GB, free: 1.582 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002332/0.5056, allocations: 144.8 kB / 0.6182 GB, free: 1.434 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.5056, allocations: 51.41 kB / 0.6182 GB, free: 1.371 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007591/0.5064, allocations: 0.7533 MB / 0.619 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.5064, allocations: 25.7 kB / 0.619 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.5067, allocations: 0.5399 MB / 0.6195 GB, free: 28 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.5067, allocations: 23.88 kB / 0.6195 GB, free: 4 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.5068, allocations: 12.08 kB / 0.6195 GB, free: 15.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.5069, allocations: 390.7 kB / 0.6199 GB, free: 15.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.5071, allocations: 161.5 kB / 0.6201 GB, free: 15.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.5076, allocations: 0.7087 MB / 0.6208 GB, free: 14.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/0.508, allocations: 323.6 kB / 0.6211 GB, free: 14.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.508, allocations: 4 kB / 0.6211 GB, free: 14.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001019/0.509, allocations: 0.8407 MB / 0.6219 GB, free: 13.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.5091, allocations: 12 kB / 0.6219 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.5091, allocations: 23.94 kB / 0.6219 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/0.5091, allocations: 28 kB / 0.622 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.5096, allocations: 176.3 kB / 0.6221 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.028e-05/0.5096, allocations: 43.86 kB / 0.6222 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004534/0.5101, allocations: 118.8 kB / 0.6223 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.386e-05/0.5102, allocations: 59.94 kB / 0.6223 GB, free: 12.83 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 () * 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.0001203/0.5103, allocations: 188.5 kB / 0.6225 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.5103, allocations: 55.25 kB / 0.6226 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.39e-05/0.5104, allocations: 65.44 kB / 0.6226 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5104, allocations: 4 kB / 0.6226 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.5105, allocations: 0 / 0.6226 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.5105, allocations: 0 / 0.6226 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005175/0.511, allocations: 0.5481 MB / 0.6232 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.511, allocations: 0 / 0.6232 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.854e-05/0.5111, allocations: 15.98 kB / 0.6232 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5111, allocations: 0 / 0.6232 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.5111, allocations: 4 kB / 0.6232 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5111, allocations: 4 kB / 0.6232 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5111, allocations: 7.984 kB / 0.6232 GB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.5113, allocations: 250.6 kB / 0.6234 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.5115, allocations: 132.3 kB / 0.6236 GB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.5115, allocations: 0 / 0.6236 GB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.5117, allocations: 11.98 kB / 0.6236 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.5118, allocations: 11.98 kB / 0.6236 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.5118, allocations: 11.98 kB / 0.6236 GB, free: 11.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005373/0.5123, allocations: 0.5343 MB / 0.6241 GB, free: 10.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5123, allocations: 0 / 0.6241 GB, free: 10.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005507/0.5129, allocations: 163.4 kB / 0.6243 GB, free: 10.75 MB / 442.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.0001175/0.513, allocations: 95.25 kB / 0.6244 GB, free: 10.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004548/0.5135, allocations: 383.7 kB / 0.6247 GB, free: 10.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5135, allocations: 4 kB / 0.6247 GB, free: 10.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.865e-05/0.5135, allocations: 35.89 kB / 0.6248 GB, free: 10.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.5139, allocations: 91.97 kB / 0.6249 GB, free: 10.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.5151, allocations: 0.8333 MB / 0.6257 GB, free: 9.281 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005574/0.5157, allocations: 1.042 MB / 0.6267 GB, free: 8.211 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004522/0.5161, allocations: 208.8 kB / 0.6269 GB, free: 8.008 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.5162, allocations: 43.42 kB / 0.6269 GB, free: 7.965 MB / 442.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5162, allocations: 0 / 0.6269 GB, free: 7.965 MB / 442.7 MB Notification: Performance of Templates: time 0.008113/0.5243, allocations: 4.398 MB / 0.6312 GB, free: 3.594 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