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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009702/0.0009701, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000775/0.000775, allocations: 99.53 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1973/0.1973, allocations: 45.16 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.299e-05/1.293e-05, allocations: 4 kB / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 63.24 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4218/0.5308, allocations: 96.16 MB / 0.5983 GB, free: 6.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001697/0.531, allocations: 74.33 kB / 0.5983 GB, free: 6.535 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03061/0.5616, allocations: 13.15 MB / 0.6112 GB, free: 11.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.5616, allocations: 0 / 0.6112 GB, free: 11.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.281e-05/0.5617, allocations: 20 kB / 0.6112 GB, free: 11.36 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.001073/0.5627, allocations: 0.8432 MB / 0.612 GB, free: 10.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.5628, allocations: 12.03 kB / 0.612 GB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.5639, allocations: 230.1 kB / 0.6123 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007078/0.5646, allocations: 493.7 kB / 0.6127 GB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.5647, allocations: 31.92 kB / 0.6128 GB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.132e-05/0.5647, allocations: 36 kB / 0.6128 GB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008338/0.5656, allocations: 0.6462 MB / 0.6134 GB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.5669, allocations: 1.148 MB / 0.6145 GB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.567, allocations: 11.88 kB / 0.6146 GB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.462e-05/0.567, allocations: 4 kB / 0.6146 GB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001308/0.5672, allocations: 104.6 kB / 0.6147 GB, free: 8.176 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004082/0.5713, allocations: 5.775 MB / 0.6203 GB, free: 2.707 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.299e-05/0.5713, allocations: 49.95 kB / 0.6203 GB, free: 2.656 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.937e-05/0.5714, allocations: 36.55 kB / 0.6204 GB, free: 2.621 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.5714, allocations: 4 kB / 0.6204 GB, free: 2.617 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.5714, allocations: 30.56 kB / 0.6204 GB, free: 2.578 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.5715, allocations: 0 / 0.6204 GB, free: 2.578 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.000244/0.5717, allocations: 149.6 kB / 0.6206 GB, free: 2.438 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.5717, allocations: 51.41 kB / 0.6206 GB, free: 2.375 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000618/0.5724, allocations: 0.6223 MB / 0.6212 GB, free: 1.891 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.5724, allocations: 28.95 kB / 0.6212 GB, free: 1.859 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.5727, allocations: 0.5406 MB / 0.6218 GB, free: 1.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.5727, allocations: 31.47 kB / 0.6218 GB, free: 1.383 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/0.5728, allocations: 0 / 0.6218 GB, free: 1.383 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5729, allocations: 373 kB / 0.6221 GB, free: 1.035 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.5731, allocations: 142.7 kB / 0.6223 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000506/0.5736, allocations: 0.6904 MB / 0.623 GB, free: 36 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.5739, allocations: 306.2 kB / 0.6233 GB, free: 15.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.574, allocations: 4 kB / 0.6233 GB, free: 15.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009139/0.5749, allocations: 0.7131 MB / 0.624 GB, free: 15.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.5749, allocations: 19.94 kB / 0.624 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.5749, allocations: 20 kB / 0.624 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.317e-05/0.575, allocations: 28 kB / 0.624 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/0.5755, allocations: 181.3 kB / 0.6242 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.931e-05/0.5755, allocations: 43.8 kB / 0.6242 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.576, allocations: 95.22 kB / 0.6243 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/0.576, allocations: 49.94 kB / 0.6244 GB, free: 14.76 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.0001318/0.5762, allocations: 171 kB / 0.6245 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.008e-05/0.5762, allocations: 51.34 kB / 0.6246 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.538e-05/0.5763, allocations: 54.14 kB / 0.6246 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5763, allocations: 4 kB / 0.6246 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5763, allocations: 0 / 0.6246 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.5763, allocations: 15.88 kB / 0.6247 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.5768, allocations: 406 kB / 0.625 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.5768, allocations: 0 / 0.625 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-05/0.5769, allocations: 11.98 kB / 0.6251 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.5769, allocations: 4 kB / 0.6251 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.5769, allocations: 3.984 kB / 0.6251 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5769, allocations: 0 / 0.6251 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5769, allocations: 0 / 0.6251 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.5771, allocations: 240.5 kB / 0.6253 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.539e-05/0.5772, allocations: 123.6 kB / 0.6254 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.933e-05/0.5773, allocations: 0 / 0.6254 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.5775, allocations: 11.98 kB / 0.6254 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.5775, allocations: 7.984 kB / 0.6254 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.5775, allocations: 0 / 0.6254 GB, free: 13.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004351/0.578, allocations: 445.5 kB / 0.6258 GB, free: 13.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.578, allocations: 4 kB / 0.6259 GB, free: 13.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006058/0.5786, allocations: 151.3 kB / 0.626 GB, free: 13.23 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.0001223/0.5787, allocations: 103.1 kB / 0.6261 GB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003995/0.5791, allocations: 346.7 kB / 0.6264 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5791, allocations: 2.5 kB / 0.6264 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.351e-05/0.5792, allocations: 30.47 kB / 0.6265 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.5796, allocations: 81.8 kB / 0.6265 GB, free: 12.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.5808, allocations: 0.8156 MB / 0.6273 GB, free: 12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006195/0.5814, allocations: 1.044 MB / 0.6284 GB, free: 10.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004626/0.5819, allocations: 196.5 kB / 0.6285 GB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.582, allocations: 31.44 kB / 0.6286 GB, free: 10.77 MB / 426.7 MB Notification: Performance of SimCode: time 3.1e-07/0.582, allocations: 0 / 0.6286 GB, free: 10.77 MB / 426.7 MB Notification: Performance of Templates: time 0.007262/0.5892, allocations: 3.408 MB / 0.6319 GB, free: 7.387 MB / 426.7 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