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.001001/0.001001, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.208/1.208, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009067/0.0009068, allocations: 90.27 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1755/0.1755, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.868e-05/2.872e-05, allocations: 8 kB / 460.4 MB, free: 70.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09271/0.09275, allocations: 63.24 MB / 0.5114 GB, free: 6.785 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3358/0.4286, allocations: 96.82 MB / 0.6059 GB, free: 13.24 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001816/0.4288, allocations: 77.27 kB / 0.606 GB, free: 13.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03101/0.4598, allocations: 13.4 MB / 0.6191 GB, free: 1.617 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4599, allocations: 0 / 0.6191 GB, free: 1.617 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.541e-05/0.4599, allocations: 19.98 kB / 0.6191 GB, free: 1.598 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.001232/0.4611, allocations: 0.8403 MB / 0.6199 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.4612, allocations: 19.97 kB / 0.6199 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.4624, allocations: 218.6 kB / 0.6201 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008198/0.4632, allocations: 0.4941 MB / 0.6206 GB, free: 60 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.4632, allocations: 53.73 kB / 0.6207 GB, free: 20 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.675e-05/0.4634, allocations: 58.61 kB / 0.6207 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.4648, allocations: 1.247 MB / 0.622 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.4648, allocations: 7.938 kB / 0.622 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.746e-05/0.4649, allocations: 32.36 kB / 0.622 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.465, allocations: 99.47 kB / 0.6221 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.4661, allocations: 0.7731 MB / 0.6228 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004128/0.4702, allocations: 6.008 MB / 0.6287 GB, free: 8.586 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.052e-05/0.4703, allocations: 48.72 kB / 0.6288 GB, free: 8.535 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.959e-05/0.4704, allocations: 35.17 kB / 0.6288 GB, free: 8.504 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.4704, allocations: 0 / 0.6288 GB, free: 8.504 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.4704, allocations: 37.7 kB / 0.6288 GB, free: 8.461 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.4704, allocations: 0 / 0.6288 GB, free: 8.461 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002451/0.4707, allocations: 146.4 kB / 0.629 GB, free: 8.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.4707, allocations: 59.41 kB / 0.629 GB, free: 8.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007733/0.4715, allocations: 0.7567 MB / 0.6298 GB, free: 7.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.4715, allocations: 25.7 kB / 0.6298 GB, free: 7.629 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.4718, allocations: 0.5363 MB / 0.6303 GB, free: 7.195 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.4718, allocations: 27.28 kB / 0.6303 GB, free: 7.172 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.4719, allocations: 18.38 kB / 0.6303 GB, free: 7.168 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.472, allocations: 378 kB / 0.6307 GB, free: 6.816 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.4722, allocations: 162.4 kB / 0.6309 GB, free: 6.699 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005029/0.4727, allocations: 0.7059 MB / 0.6316 GB, free: 5.781 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/0.4731, allocations: 326.2 kB / 0.6319 GB, free: 5.527 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.4731, allocations: 4 kB / 0.6319 GB, free: 5.523 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00104/0.4742, allocations: 0.838 MB / 0.6327 GB, free: 4.812 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.4742, allocations: 12.94 kB / 0.6327 GB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.971e-05/0.4743, allocations: 20 kB / 0.6327 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-05/0.4743, allocations: 35.98 kB / 0.6328 GB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/0.4747, allocations: 178.8 kB / 0.6329 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.771e-05/0.4748, allocations: 43.84 kB / 0.633 GB, free: 4.535 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/0.4753, allocations: 116.7 kB / 0.6331 GB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/0.4753, allocations: 50.12 kB / 0.6331 GB, free: 4.387 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.0001287/0.4755, allocations: 190.2 kB / 0.6333 GB, free: 4.211 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.968e-05/0.4755, allocations: 55.25 kB / 0.6334 GB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.926e-05/0.4756, allocations: 69.12 kB / 0.6334 GB, free: 4.098 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4756, allocations: 3.953 kB / 0.6334 GB, free: 4.094 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4756, allocations: 4 kB / 0.6334 GB, free: 4.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.4756, allocations: 0 / 0.6334 GB, free: 4.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005201/0.4762, allocations: 0.5543 MB / 0.634 GB, free: 3.605 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4762, allocations: 0 / 0.634 GB, free: 3.605 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.249e-05/0.4763, allocations: 15.98 kB / 0.634 GB, free: 3.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.4763, allocations: 0 / 0.634 GB, free: 3.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.4763, allocations: 3.984 kB / 0.634 GB, free: 3.586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4763, allocations: 4 kB / 0.634 GB, free: 3.582 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.4763, allocations: 3.953 kB / 0.634 GB, free: 3.578 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.4765, allocations: 241.9 kB / 0.6342 GB, free: 3.336 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.4766, allocations: 135.8 kB / 0.6344 GB, free: 3.191 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.324e-05/0.4767, allocations: 3.984 kB / 0.6344 GB, free: 3.188 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.4769, allocations: 8 kB / 0.6344 GB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.477, allocations: 7.984 kB / 0.6344 GB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.477, allocations: 7.938 kB / 0.6344 GB, free: 3.164 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005623/0.4775, allocations: 0.548 MB / 0.6349 GB, free: 2.754 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4776, allocations: 0 / 0.6349 GB, free: 2.754 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005657/0.4781, allocations: 158.6 kB / 0.6351 GB, free: 2.609 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.0001196/0.4783, allocations: 98.69 kB / 0.6352 GB, free: 2.508 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000465/0.4787, allocations: 389.2 kB / 0.6355 GB, free: 2.195 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4787, allocations: 0 / 0.6355 GB, free: 2.195 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.797e-05/0.4788, allocations: 31.84 kB / 0.6356 GB, free: 2.168 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.4792, allocations: 106.4 kB / 0.6357 GB, free: 2.094 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.4804, allocations: 0.8243 MB / 0.6365 GB, free: 1.332 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.481, allocations: 1.047 MB / 0.6375 GB, free: 320 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00048/0.4815, allocations: 208.8 kB / 0.6377 GB, free: 112 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.089e-05/0.4815, allocations: 39.44 kB / 0.6377 GB, free: 72 kB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4815, allocations: 0 / 0.6377 GB, free: 72 kB / 426.7 MB Notification: Performance of Templates: time 0.008401/0.4899, allocations: 4.39 MB / 0.642 GB, free: 11.73 MB / 442.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