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.001451/0.001451, allocations: 196.1 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 226.5 MB / 245.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008009/0.0008008, allocations: 102.7 kB / 297.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3879/0.3879, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002879/0.0002879, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.379, allocations: 62.97 MB / 0.5184 GB, free: 37.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.5088, allocations: 96.8 MB / 0.613 GB, free: 8.461 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.5091, allocations: 83.95 kB / 0.613 GB, free: 8.383 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03508/0.5442, allocations: 13.32 MB / 0.626 GB, free: 11 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5442, allocations: 0 / 0.626 GB, free: 11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.221e-05/0.5443, allocations: 12 kB / 0.626 GB, free: 10.99 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.002316/0.5467, allocations: 0.9113 MB / 0.6269 GB, free: 10.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.5467, allocations: 12.03 kB / 0.6269 GB, free: 10.01 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.5481, allocations: 223.6 kB / 0.6272 GB, free: 9.789 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.5493, allocations: 0.517 MB / 0.6277 GB, free: 9.234 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/0.5494, allocations: 45.67 kB / 0.6277 GB, free: 9.191 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.5495, allocations: 64.34 kB / 0.6278 GB, free: 9.129 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.5515, allocations: 1.289 MB / 0.629 GB, free: 7.691 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.5515, allocations: 12.06 kB / 0.629 GB, free: 7.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.507e-05/0.5516, allocations: 35.86 kB / 0.6291 GB, free: 7.645 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/0.5517, allocations: 100.9 kB / 0.6292 GB, free: 7.543 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.5531, allocations: 0.8231 MB / 0.63 GB, free: 6.723 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00541/0.5585, allocations: 6.01 MB / 0.6358 GB, free: 476 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.5587, allocations: 58.53 kB / 0.6359 GB, free: 408 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.5589, allocations: 60.91 kB / 0.636 GB, free: 344 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.5589, allocations: 80 / 0.636 GB, free: 344 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.5589, allocations: 30.56 kB / 0.636 GB, free: 304 kB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.5589, allocations: 0 / 0.636 GB, free: 304 kB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005576/0.5595, allocations: 240.6 kB / 0.6362 GB, free: 56 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.5596, allocations: 51.41 kB / 0.6363 GB, free: 15.99 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.5607, allocations: 0.8555 MB / 0.6371 GB, free: 15.12 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.5607, allocations: 29.7 kB / 0.6371 GB, free: 15.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/0.5611, allocations: 0.536 MB / 0.6377 GB, free: 14.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.5611, allocations: 23.89 kB / 0.6377 GB, free: 14.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.5612, allocations: 12 kB / 0.6377 GB, free: 14.51 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.5613, allocations: 374.8 kB / 0.638 GB, free: 14.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.5616, allocations: 181.9 kB / 0.6382 GB, free: 13.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006162/0.5623, allocations: 0.7429 MB / 0.6389 GB, free: 12.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.5634, allocations: 0.9859 MB / 0.6399 GB, free: 11.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-05/0.5634, allocations: 8 kB / 0.6399 GB, free: 11.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001395/0.5648, allocations: 0.8878 MB / 0.6408 GB, free: 10.76 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.5648, allocations: 15.94 kB / 0.6408 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.89e-05/0.5649, allocations: 20 kB / 0.6408 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.959e-05/0.5649, allocations: 28 kB / 0.6408 GB, free: 10.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000513/0.5654, allocations: 171.7 kB / 0.641 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.378e-05/0.5655, allocations: 39.86 kB / 0.641 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005836/0.5661, allocations: 123 kB / 0.6412 GB, free: 10.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.844e-05/0.5661, allocations: 52 kB / 0.6412 GB, free: 10.32 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.0004662/0.5666, allocations: 384.6 kB / 0.6416 GB, free: 9.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.885e-05/0.5667, allocations: 63.38 kB / 0.6416 GB, free: 9.867 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.738e-05/0.5668, allocations: 73.36 kB / 0.6417 GB, free: 9.789 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5668, allocations: 0 / 0.6417 GB, free: 9.789 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5668, allocations: 0 / 0.6417 GB, free: 9.789 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5669, allocations: 4 kB / 0.6417 GB, free: 9.785 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006668/0.5675, allocations: 0.5481 MB / 0.6422 GB, free: 9.188 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5675, allocations: 3.984 kB / 0.6423 GB, free: 9.184 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.227e-05/0.5676, allocations: 11.98 kB / 0.6423 GB, free: 9.172 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.5676, allocations: 11.88 kB / 0.6423 GB, free: 9.16 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.5677, allocations: 0 / 0.6423 GB, free: 9.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.5677, allocations: 0 / 0.6423 GB, free: 9.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5677, allocations: 0 / 0.6423 GB, free: 9.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.568, allocations: 286.5 kB / 0.6425 GB, free: 8.863 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.5682, allocations: 136.3 kB / 0.6427 GB, free: 8.711 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.5682, allocations: 3.938 kB / 0.6427 GB, free: 8.707 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.5684, allocations: 15.98 kB / 0.6427 GB, free: 8.691 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.5685, allocations: 7.984 kB / 0.6427 GB, free: 8.684 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.5685, allocations: 0 / 0.6427 GB, free: 8.684 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006783/0.5692, allocations: 0.5497 MB / 0.6432 GB, free: 8.137 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5692, allocations: 0 / 0.6432 GB, free: 8.137 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006743/0.5699, allocations: 159.4 kB / 0.6434 GB, free: 7.98 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.0001801/0.5701, allocations: 107.2 kB / 0.6435 GB, free: 7.863 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006824/0.5708, allocations: 428.6 kB / 0.6439 GB, free: 7.449 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5708, allocations: 4 kB / 0.6439 GB, free: 7.445 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.5709, allocations: 47.89 kB / 0.644 GB, free: 7.398 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005613/0.5715, allocations: 97.36 kB / 0.644 GB, free: 7.309 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.5735, allocations: 1.399 MB / 0.6454 GB, free: 5.875 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007055/0.5742, allocations: 1.03 MB / 0.6464 GB, free: 4.816 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005186/0.5747, allocations: 204.8 kB / 0.6466 GB, free: 4.613 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.503e-05/0.5748, allocations: 39.42 kB / 0.6467 GB, free: 4.574 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5748, allocations: 4 kB / 0.6467 GB, free: 4.57 MB / 458.7 MB Notification: Performance of Templates: time 0.009884/0.5847, allocations: 4.422 MB / 0.651 GB, free: 188 kB / 458.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/jenkins1/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