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.00146/0.00146, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002105/0.002105, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2309/0.2309, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 80.2 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3511, allocations: 62.42 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007687/0.3589, allocations: 6.251 MB / 0.5371 GB, free: 8.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005044/0.3639, allocations: 1.971 MB / 0.539 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007598/0.3647, allocations: 23.41 kB / 0.539 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.3662, allocations: 0.6162 MB / 0.5396 GB, free: 6.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00053/0.3668, allocations: 206.9 kB / 0.5398 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.367, allocations: 55.09 kB / 0.5399 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005044/0.3675, allocations: 413.4 kB / 0.5403 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006319/0.3682, allocations: 0.5015 MB / 0.5408 GB, free: 6.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000328/0.3685, allocations: 221.8 kB / 0.541 GB, free: 5.934 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004024/0.3689, allocations: 286.5 kB / 0.5412 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.716e-05/0.369, allocations: 38.41 kB / 0.5413 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.3692, allocations: 92.5 kB / 0.5414 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002808/0.3695, allocations: 263.3 kB / 0.5416 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.3698, allocations: 309.9 kB / 0.5419 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009372/0.3708, allocations: 0.8199 MB / 0.5427 GB, free: 4.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3708, allocations: 0 / 0.5427 GB, free: 4.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3708, allocations: 1.094 kB / 0.5427 GB, free: 4.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.3708, allocations: 0 / 0.5427 GB, free: 4.785 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.001563/0.3724, allocations: 0.9423 MB / 0.5436 GB, free: 4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3725, allocations: 9.062 kB / 0.5436 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008638/0.3733, allocations: 157.8 kB / 0.5438 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007753/0.3741, allocations: 444.6 kB / 0.5442 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.3742, allocations: 34.2 kB / 0.5442 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-05/0.3742, allocations: 42.52 kB / 0.5443 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.3757, allocations: 1.081 MB / 0.5453 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.3757, allocations: 7.344 kB / 0.5454 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/0.3758, allocations: 25.77 kB / 0.5454 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003366/0.3761, allocations: 193.9 kB / 0.5456 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.3772, allocations: 0.72 MB / 0.5463 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003958/0.3812, allocations: 4.645 MB / 0.5508 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.3813, allocations: 62.53 kB / 0.5509 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.3815, allocations: 44.91 kB / 0.5509 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.3815, allocations: 3.984 kB / 0.5509 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.3815, allocations: 30.56 kB / 0.5509 GB, free: 12.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 2.033e-06/0.3815, allocations: 4 kB / 0.5509 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005281/0.3821, allocations: 224.8 kB / 0.5512 GB, free: 12.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.3821, allocations: 51.41 kB / 0.5512 GB, free: 12.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008741/0.383, allocations: 0.8202 MB / 0.552 GB, free: 11.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.383, allocations: 25.7 kB / 0.552 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/0.3834, allocations: 0.5005 MB / 0.5525 GB, free: 11.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.3834, allocations: 27.8 kB / 0.5525 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.3836, allocations: 170.4 kB / 0.5527 GB, free: 11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3837, allocations: 374.8 kB / 0.5531 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.384, allocations: 177.9 kB / 0.5532 GB, free: 10.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006397/0.3847, allocations: 0.7351 MB / 0.554 GB, free: 9.438 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009841/0.3857, allocations: 0.9742 MB / 0.5549 GB, free: 8.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.3857, allocations: 12 kB / 0.5549 GB, free: 8.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001267/0.387, allocations: 0.8685 MB / 0.5558 GB, free: 7.293 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.387, allocations: 16 kB / 0.5558 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.387, allocations: 24.12 kB / 0.5558 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.533e-05/0.3871, allocations: 27.94 kB / 0.5558 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/0.3876, allocations: 179.7 kB / 0.556 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-05/0.3876, allocations: 39.86 kB / 0.556 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005376/0.3882, allocations: 118.8 kB / 0.5561 GB, free: 6.895 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/0.3882, allocations: 44 kB / 0.5562 GB, free: 6.852 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.0004022/0.3886, allocations: 367.4 kB / 0.5565 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.545e-05/0.3887, allocations: 63.16 kB / 0.5566 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.916e-05/0.3888, allocations: 61.28 kB / 0.5567 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3888, allocations: 7.922 kB / 0.5567 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3888, allocations: 0 / 0.5567 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3888, allocations: 0 / 0.5567 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005376/0.3894, allocations: 0.4973 MB / 0.5572 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3894, allocations: 0 / 0.5572 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.956e-05/0.3895, allocations: 15.92 kB / 0.5572 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.3895, allocations: 4 kB / 0.5572 GB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.3895, allocations: 7.938 kB / 0.5572 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3895, allocations: 3.938 kB / 0.5572 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3895, allocations: 0 / 0.5572 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.3899, allocations: 262.6 kB / 0.5574 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.39, allocations: 132.3 kB / 0.5576 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.117e-05/0.3901, allocations: 0 / 0.5576 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.3903, allocations: 19.92 kB / 0.5576 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.3903, allocations: 11.98 kB / 0.5576 GB, free: 5.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.3903, allocations: 0 / 0.5576 GB, free: 5.309 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005831/0.3909, allocations: 0.5263 MB / 0.5581 GB, free: 4.785 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3909, allocations: 0 / 0.5581 GB, free: 4.785 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006251/0.3916, allocations: 135.7 kB / 0.5582 GB, free: 4.652 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.0001509/0.3917, allocations: 95.25 kB / 0.5583 GB, free: 4.551 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000647/0.3924, allocations: 420.3 kB / 0.5587 GB, free: 4.145 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3924, allocations: 0 / 0.5587 GB, free: 4.145 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.3925, allocations: 48.31 kB / 0.5588 GB, free: 4.098 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005123/0.3931, allocations: 105.5 kB / 0.5589 GB, free: 4.004 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.3947, allocations: 1.076 MB / 0.5599 GB, free: 2.902 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000577/0.3952, allocations: 0.9909 MB / 0.5609 GB, free: 1.883 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004163/0.3957, allocations: 204.8 kB / 0.5611 GB, free: 1.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.569e-05/0.3958, allocations: 39.44 kB / 0.5611 GB, free: 1.641 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3958, allocations: 0 / 0.5611 GB, free: 1.641 MB / 414.1 MB Notification: Performance of Templates: time 0.009907/0.4057, allocations: 4.598 MB / 0.5656 GB, free: 13.07 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches