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.001243/0.001243, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 227.2 MB / 245 MB, free: 5.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009108/0.0009106, allocations: 101.1 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3267/0.3267, allocations: 45.23 MB / 394.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002651/0.0002652, allocations: 11.98 kB / 468.4 MB, free: 7.707 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3025, allocations: 63.24 MB / 0.5192 GB, free: 37.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/0.4319, allocations: 96.89 MB / 0.6138 GB, free: 6.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.4322, allocations: 79.95 kB / 0.6139 GB, free: 6.441 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03522/0.4674, allocations: 13.43 MB / 0.627 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4674, allocations: 0 / 0.627 GB, free: 8.938 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.53e-05/0.4675, allocations: 12 kB / 0.627 GB, free: 8.926 MB / 442.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.001997/0.4695, allocations: 0.9268 MB / 0.6279 GB, free: 7.949 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.4696, allocations: 12.03 kB / 0.6279 GB, free: 7.938 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.4708, allocations: 226.6 kB / 0.6281 GB, free: 7.715 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.472, allocations: 0.4966 MB / 0.6286 GB, free: 7.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.805e-05/0.4721, allocations: 45.3 kB / 0.6287 GB, free: 7.137 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.4722, allocations: 63.98 kB / 0.6287 GB, free: 7.074 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.4743, allocations: 1.273 MB / 0.63 GB, free: 5.648 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.4743, allocations: 7.938 kB / 0.63 GB, free: 5.641 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.609e-05/0.4744, allocations: 31.98 kB / 0.63 GB, free: 5.609 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001561/0.4746, allocations: 104.9 kB / 0.6301 GB, free: 5.504 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.4761, allocations: 0.8231 MB / 0.6309 GB, free: 4.684 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005234/0.4814, allocations: 6.016 MB / 0.6368 GB, free: 14.42 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.4815, allocations: 62.53 kB / 0.6369 GB, free: 14.35 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.4816, allocations: 8.078 kB / 0.6369 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.4816, allocations: 30.56 kB / 0.6369 GB, free: 14.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 3.216e-06/0.4816, allocations: 4.109 kB / 0.6369 GB, free: 14.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005821/0.4822, allocations: 232.7 kB / 0.6371 GB, free: 14.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.4823, allocations: 55.41 kB / 0.6372 GB, free: 14 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009436/0.4832, allocations: 0.7571 MB / 0.6379 GB, free: 13.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.4832, allocations: 25.7 kB / 0.6379 GB, free: 13.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003806/0.4836, allocations: 0.5398 MB / 0.6385 GB, free: 12.65 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.4837, allocations: 31.8 kB / 0.6385 GB, free: 12.62 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.4837, allocations: 16 kB / 0.6385 GB, free: 12.61 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4839, allocations: 374.8 kB / 0.6389 GB, free: 12.23 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/0.4842, allocations: 185.8 kB / 0.639 GB, free: 12.05 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007097/0.4849, allocations: 0.7312 MB / 0.6398 GB, free: 11.03 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/0.4854, allocations: 347.5 kB / 0.6401 GB, free: 10.69 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.4855, allocations: 4 kB / 0.6401 GB, free: 10.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00119/0.4867, allocations: 0.8757 MB / 0.6409 GB, free: 9.805 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.4867, allocations: 16 kB / 0.641 GB, free: 9.789 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.4867, allocations: 20 kB / 0.641 GB, free: 9.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.684e-05/0.4868, allocations: 36.7 kB / 0.641 GB, free: 9.734 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/0.4872, allocations: 187.8 kB / 0.6412 GB, free: 9.551 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-05/0.4873, allocations: 35.86 kB / 0.6412 GB, free: 9.516 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/0.4878, allocations: 118.8 kB / 0.6413 GB, free: 9.398 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/0.4878, allocations: 51.98 kB / 0.6414 GB, free: 9.348 MB / 458.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.0003867/0.4882, allocations: 388.2 kB / 0.6418 GB, free: 8.957 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.026e-05/0.4883, allocations: 67.16 kB / 0.6418 GB, free: 8.891 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.007e-05/0.4884, allocations: 57.45 kB / 0.6419 GB, free: 8.828 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4884, allocations: 4 kB / 0.6419 GB, free: 8.824 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4884, allocations: 3.953 kB / 0.6419 GB, free: 8.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.4884, allocations: 0 / 0.6419 GB, free: 8.82 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000551/0.489, allocations: 0.5481 MB / 0.6424 GB, free: 8.223 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.489, allocations: 0 / 0.6424 GB, free: 8.223 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.223e-05/0.4891, allocations: 19.98 kB / 0.6424 GB, free: 8.203 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4891, allocations: 0 / 0.6424 GB, free: 8.203 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.4891, allocations: 4 kB / 0.6424 GB, free: 8.199 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4891, allocations: 0 / 0.6424 GB, free: 8.199 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4891, allocations: 0 / 0.6424 GB, free: 8.199 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/0.4894, allocations: 286.6 kB / 0.6427 GB, free: 7.902 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.4896, allocations: 136.2 kB / 0.6428 GB, free: 7.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.078e-05/0.4896, allocations: 0 / 0.6428 GB, free: 7.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.4898, allocations: 15.98 kB / 0.6429 GB, free: 7.734 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.4899, allocations: 7.984 kB / 0.6429 GB, free: 7.727 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.4899, allocations: 4 kB / 0.6429 GB, free: 7.723 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005632/0.4905, allocations: 0.5497 MB / 0.6434 GB, free: 7.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4905, allocations: 4 kB / 0.6434 GB, free: 7.176 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005989/0.4911, allocations: 159.5 kB / 0.6436 GB, free: 7.02 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.000158/0.4913, allocations: 99.25 kB / 0.6437 GB, free: 6.914 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006317/0.4919, allocations: 423.3 kB / 0.6441 GB, free: 6.504 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4919, allocations: 1.375 kB / 0.6441 GB, free: 6.504 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.492, allocations: 63.81 kB / 0.6441 GB, free: 6.441 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.4925, allocations: 91.08 kB / 0.6442 GB, free: 6.352 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.4942, allocations: 1.395 MB / 0.6456 GB, free: 4.922 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006734/0.4949, allocations: 1.042 MB / 0.6466 GB, free: 3.852 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004764/0.4954, allocations: 212.8 kB / 0.6468 GB, free: 3.645 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.232e-05/0.4955, allocations: 35.44 kB / 0.6468 GB, free: 3.609 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4955, allocations: 0 / 0.6468 GB, free: 3.609 MB / 458.7 MB Notification: Performance of Templates: time 0.008734/0.5042, allocations: 4.381 MB / 0.6511 GB, free: 15.26 MB / 474.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