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.00149/0.00149, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000984/0.000984, allocations: 102.5 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4942/0.4942, allocations: 44.83 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.89 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2909, allocations: 62.01 MB / 0.5151 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01469/0.3057, allocations: 20.38 MB / 0.535 GB, free: 23.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00926/0.315, allocations: 4.283 MB / 0.5392 GB, free: 20.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003631/0.3187, allocations: 80.59 kB / 0.5393 GB, free: 20.42 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.32, allocations: 0.6138 MB / 0.5399 GB, free: 20.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004853/0.3205, allocations: 201.2 kB / 0.5401 GB, free: 20.01 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.3207, allocations: 45.73 kB / 0.5401 GB, free: 19.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005338/0.3212, allocations: 0.7027 MB / 0.5408 GB, free: 19.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005068/0.3218, allocations: 0.511 MB / 0.5413 GB, free: 19.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.322, allocations: 222.5 kB / 0.5415 GB, free: 19.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003207/0.3223, allocations: 320.1 kB / 0.5418 GB, free: 19.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.629e-05/0.3224, allocations: 38.12 kB / 0.5419 GB, free: 19.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.3226, allocations: 87.53 kB / 0.542 GB, free: 19.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001936/0.3228, allocations: 287.1 kB / 0.5422 GB, free: 19.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.323, allocations: 345 kB / 0.5426 GB, free: 18.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005822/0.3236, allocations: 0.8835 MB / 0.5434 GB, free: 18.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3236, allocations: 0.7969 kB / 0.5434 GB, free: 18.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.3236, allocations: 0 / 0.5434 GB, free: 18.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.3236, allocations: 0 / 0.5434 GB, free: 18.62 MB / 378.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.001395/0.325, allocations: 0.9978 MB / 0.5444 GB, free: 17.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3251, allocations: 9.219 kB / 0.5444 GB, free: 17.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007199/0.3258, allocations: 163.5 kB / 0.5446 GB, free: 17.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005656/0.3264, allocations: 450 kB / 0.545 GB, free: 17.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.3264, allocations: 39.09 kB / 0.545 GB, free: 17.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.715e-05/0.3265, allocations: 47.7 kB / 0.5451 GB, free: 17.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.3278, allocations: 1.246 MB / 0.5463 GB, free: 16.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.3278, allocations: 2.688 kB / 0.5463 GB, free: 16.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/0.3279, allocations: 18.67 kB / 0.5463 GB, free: 16.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000367/0.3283, allocations: 256 kB / 0.5466 GB, free: 16.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.3294, allocations: 0.8066 MB / 0.5473 GB, free: 16.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003281/0.3327, allocations: 5.063 MB / 0.5523 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.3329, allocations: 58.56 kB / 0.5523 GB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.333, allocations: 51.89 kB / 0.5524 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.333, allocations: 0.6562 kB / 0.5524 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.3331, allocations: 36.09 kB / 0.5524 GB, free: 12.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.944e-06/0.3331, allocations: 0 / 0.5524 GB, free: 12.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004748/0.3335, allocations: 207.1 kB / 0.5526 GB, free: 12.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.3336, allocations: 57.19 kB / 0.5527 GB, free: 12.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008724/0.3345, allocations: 0.8529 MB / 0.5535 GB, free: 11.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.3345, allocations: 25.7 kB / 0.5535 GB, free: 11.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.3347, allocations: 0.5404 MB / 0.5541 GB, free: 11.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.3348, allocations: 28.19 kB / 0.5541 GB, free: 11.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.3349, allocations: 169.4 kB / 0.5543 GB, free: 11.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.322e-05/0.335, allocations: 379 kB / 0.5546 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.3353, allocations: 179.9 kB / 0.5548 GB, free: 10.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004335/0.3357, allocations: 0.7392 MB / 0.5555 GB, free: 9.996 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007373/0.3365, allocations: 0.9757 MB / 0.5565 GB, free: 9.027 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.3365, allocations: 10.38 kB / 0.5565 GB, free: 9.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001149/0.3377, allocations: 0.8784 MB / 0.5573 GB, free: 8.668 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.3377, allocations: 14.48 kB / 0.5573 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.3377, allocations: 19.59 kB / 0.5574 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.481e-05/0.3378, allocations: 26.09 kB / 0.5574 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/0.3382, allocations: 178 kB / 0.5576 GB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-05/0.3383, allocations: 41.73 kB / 0.5576 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005081/0.3388, allocations: 122.6 kB / 0.5577 GB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.241e-05/0.3388, allocations: 55.34 kB / 0.5578 GB, free: 8.547 MB / 378.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 (fixedArrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,arrow.arrow.arrowLine.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.0003595/0.3392, allocations: 383.1 kB / 0.5581 GB, free: 8.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.586e-05/0.3393, allocations: 57.56 kB / 0.5582 GB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.086e-05/0.3394, allocations: 66.08 kB / 0.5583 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3394, allocations: 0 / 0.5583 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3394, allocations: 2.172 kB / 0.5583 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3394, allocations: 0 / 0.5583 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005713/0.34, allocations: 0.5571 MB / 0.5588 GB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.34, allocations: 1.031 kB / 0.5588 GB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.895e-05/0.3401, allocations: 17 kB / 0.5588 GB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3401, allocations: 0 / 0.5588 GB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.3401, allocations: 1.969 kB / 0.5588 GB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3401, allocations: 0 / 0.5588 GB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3401, allocations: 0.9375 kB / 0.5588 GB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005968/0.3407, allocations: 0.971 MB / 0.5598 GB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.3408, allocations: 140.3 kB / 0.5599 GB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.3409, allocations: 1.25 kB / 0.5599 GB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.3411, allocations: 12.25 kB / 0.5599 GB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.3411, allocations: 7.422 kB / 0.5599 GB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.3411, allocations: 6.438 kB / 0.5599 GB, free: 6.969 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005795/0.3417, allocations: 0.554 MB / 0.5605 GB, free: 6.746 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3417, allocations: 0 / 0.5605 GB, free: 6.746 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007082/0.3424, allocations: 158 kB / 0.5606 GB, free: 6.707 MB / 378.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 (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.0001003/0.3426, allocations: 97.45 kB / 0.5607 GB, free: 6.613 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006/0.3432, allocations: 414.6 kB / 0.5611 GB, free: 6.492 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3432, allocations: 0 / 0.5611 GB, free: 6.492 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.3433, allocations: 48.8 kB / 0.5612 GB, free: 6.484 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.3438, allocations: 99.14 kB / 0.5613 GB, free: 6.441 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.3454, allocations: 1.547 MB / 0.5628 GB, free: 5.461 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.346, allocations: 1.032 MB / 0.5638 GB, free: 4.695 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005101/0.3465, allocations: 209.4 kB / 0.564 GB, free: 4.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.3465, allocations: 45.22 kB / 0.564 GB, free: 4.645 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3466, allocations: 0 / 0.564 GB, free: 4.645 MB / 378.7 MB Notification: Performance of Templates: time 0.007921/0.3545, allocations: 4.634 MB / 0.5685 GB, free: 1.617 MB / 378.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@2/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