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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001303/0.001303, allocations: 117.7 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00173/0.00173, allocations: 204.8 kB / 19.4 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2231/0.2231, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 75.88 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4213, allocations: 62.44 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008508/0.4299, allocations: 6.247 MB / 0.5377 GB, free: 8.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004305/0.4343, allocations: 1.971 MB / 0.5397 GB, free: 7.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008818/0.4352, allocations: 32.12 kB / 0.5397 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.4367, allocations: 0.6165 MB / 0.5403 GB, free: 6.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006635/0.4375, allocations: 191 kB / 0.5405 GB, free: 6.641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.4378, allocations: 67.92 kB / 0.5405 GB, free: 6.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006848/0.4385, allocations: 415.1 kB / 0.5409 GB, free: 6.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007538/0.4392, allocations: 0.4952 MB / 0.5414 GB, free: 6.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000496/0.4397, allocations: 222.1 kB / 0.5416 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005505/0.4403, allocations: 290.2 kB / 0.5419 GB, free: 5.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.4404, allocations: 38.53 kB / 0.5419 GB, free: 5.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002798/0.4407, allocations: 87.08 kB / 0.542 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003192/0.4411, allocations: 260.4 kB / 0.5423 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004177/0.4415, allocations: 309.2 kB / 0.5426 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.4425, allocations: 0.824 MB / 0.5434 GB, free: 4.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4425, allocations: 1.188 kB / 0.5434 GB, free: 4.809 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4425, allocations: 0 / 0.5434 GB, free: 4.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.147e-05/0.4426, allocations: 0 / 0.5434 GB, free: 4.809 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001711/0.4443, allocations: 0.9465 MB / 0.5443 GB, free: 4.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.4444, allocations: 9.75 kB / 0.5443 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007875/0.4451, allocations: 153.2 kB / 0.5445 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005971/0.4458, allocations: 448.4 kB / 0.5449 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.4458, allocations: 34.2 kB / 0.5449 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.095e-05/0.4459, allocations: 46.33 kB / 0.545 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.4473, allocations: 1.075 MB / 0.546 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.4473, allocations: 6.125 kB / 0.546 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.578e-05/0.4474, allocations: 27.03 kB / 0.546 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003518/0.4477, allocations: 192.5 kB / 0.5462 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.4488, allocations: 0.7122 MB / 0.5469 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003888/0.4527, allocations: 4.642 MB / 0.5515 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.4529, allocations: 70.41 kB / 0.5515 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.453, allocations: 48.91 kB / 0.5516 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.453, allocations: 4 kB / 0.5516 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.453, allocations: 30.56 kB / 0.5516 GB, free: 12.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 3.426e-06/0.4531, allocations: 3.984 kB / 0.5516 GB, free: 12.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004997/0.4536, allocations: 212.7 kB / 0.5518 GB, free: 12.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.4536, allocations: 55.41 kB / 0.5519 GB, free: 12.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008831/0.4545, allocations: 0.8201 MB / 0.5527 GB, free: 11.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.4545, allocations: 29.64 kB / 0.5527 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000333/0.4549, allocations: 0.5044 MB / 0.5532 GB, free: 11.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.4549, allocations: 27.8 kB / 0.5532 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.4551, allocations: 166.4 kB / 0.5534 GB, free: 11.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.4553, allocations: 374.8 kB / 0.5537 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.4556, allocations: 185.9 kB / 0.5539 GB, free: 10.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006377/0.4562, allocations: 0.7273 MB / 0.5546 GB, free: 9.461 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.4572, allocations: 0.9859 MB / 0.5556 GB, free: 8.191 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.4573, allocations: 4 kB / 0.5556 GB, free: 8.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00122/0.4585, allocations: 0.8683 MB / 0.5564 GB, free: 7.312 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.4585, allocations: 16 kB / 0.5564 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.139e-05/0.4586, allocations: 20 kB / 0.5565 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.592e-05/0.4586, allocations: 27.94 kB / 0.5565 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/0.4591, allocations: 179.6 kB / 0.5567 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-05/0.4591, allocations: 39.86 kB / 0.5567 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005427/0.4597, allocations: 119.2 kB / 0.5568 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/0.4597, allocations: 52 kB / 0.5569 GB, free: 6.867 MB / 414.1 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 (fixedArrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,arrow.arrow.twoHeadedArrow,arrow.headAtOrigin,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.color[3],fixedArrow.color[2],fixedArrow.color[1],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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003907/0.4601, allocations: 359.4 kB / 0.5572 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.67e-05/0.4602, allocations: 63.16 kB / 0.5573 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.281e-05/0.4603, allocations: 61.28 kB / 0.5573 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.4603, allocations: 7.922 kB / 0.5573 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4603, allocations: 0 / 0.5573 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4603, allocations: 0 / 0.5573 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.4608, allocations: 0.4973 MB / 0.5578 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4608, allocations: 4 kB / 0.5578 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.278e-05/0.4609, allocations: 11.98 kB / 0.5578 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4609, allocations: 3.938 kB / 0.5578 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.461, allocations: 0 / 0.5578 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.461, allocations: 3.938 kB / 0.5578 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.461, allocations: 0 / 0.5578 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004003/0.4614, allocations: 270.7 kB / 0.5581 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.4615, allocations: 124.3 kB / 0.5582 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/0.4616, allocations: 4 kB / 0.5582 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.4618, allocations: 15.92 kB / 0.5582 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.4618, allocations: 16.09 kB / 0.5583 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.4618, allocations: 0 / 0.5583 GB, free: 5.336 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005594/0.4624, allocations: 0.5341 MB / 0.5588 GB, free: 4.805 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4624, allocations: 0 / 0.5588 GB, free: 4.805 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006115/0.463, allocations: 135.7 kB / 0.5589 GB, free: 4.672 MB / 414.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001423/0.4632, allocations: 95.25 kB / 0.559 GB, free: 4.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006455/0.4638, allocations: 420.3 kB / 0.5594 GB, free: 4.164 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4638, allocations: 0 / 0.5594 GB, free: 4.164 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.464, allocations: 47.94 kB / 0.5594 GB, free: 4.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.4645, allocations: 93.59 kB / 0.5595 GB, free: 4.031 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.4663, allocations: 1.156 MB / 0.5607 GB, free: 2.844 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/0.4669, allocations: 0.9831 MB / 0.5616 GB, free: 1.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.527e-05/0.467, allocations: 39.44 kB / 0.5617 GB, free: 1.793 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.467, allocations: 3.938 kB / 0.5617 GB, free: 1.789 MB / 414.1 MB Notification: Performance of Templates: time 0.01382/0.4808, allocations: 7.572 MB / 0.5691 GB, free: 10.24 MB / 430.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches