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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002073/0.002073, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002093/0.002093, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2116/0.2116, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 76.06 kB / 480.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3339, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007517/0.3415, allocations: 6.237 MB / 0.5366 GB, free: 8.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004032/0.3456, allocations: 1.971 MB / 0.5385 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008785/0.3465, allocations: 26.88 kB / 0.5385 GB, free: 7.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.3481, allocations: 0.617 MB / 0.5391 GB, free: 6.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006661/0.3488, allocations: 205.2 kB / 0.5393 GB, free: 6.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.3491, allocations: 59.08 kB / 0.5394 GB, free: 6.395 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006172/0.3497, allocations: 419.7 kB / 0.5398 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006405/0.3504, allocations: 0.5005 MB / 0.5403 GB, free: 5.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004152/0.3508, allocations: 218.3 kB / 0.5405 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004687/0.3513, allocations: 290.5 kB / 0.5408 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.604e-05/0.3514, allocations: 42.09 kB / 0.5408 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002945/0.3517, allocations: 78.78 kB / 0.5409 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002857/0.352, allocations: 264.3 kB / 0.5411 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003213/0.3523, allocations: 317.9 kB / 0.5414 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.3534, allocations: 0.8279 MB / 0.5423 GB, free: 4.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3534, allocations: 5.781 kB / 0.5423 GB, free: 4.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3534, allocations: 0 / 0.5423 GB, free: 4.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.042e-05/0.3535, allocations: 0 / 0.5423 GB, free: 4.59 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.001841/0.3553, allocations: 0.9601 MB / 0.5432 GB, free: 3.785 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.3554, allocations: 13.84 kB / 0.5432 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.3555, allocations: 109.8 kB / 0.5433 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008574/0.3564, allocations: 162.3 kB / 0.5435 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007498/0.3572, allocations: 440.5 kB / 0.5439 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.3572, allocations: 34.05 kB / 0.5439 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.357e-05/0.3573, allocations: 46.16 kB / 0.544 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.3588, allocations: 1.083 MB / 0.545 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.3589, allocations: 6.844 kB / 0.545 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.125e-05/0.3589, allocations: 17.86 kB / 0.545 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003514/0.3593, allocations: 194 kB / 0.5452 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.3605, allocations: 0.7123 MB / 0.5459 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004027/0.3646, allocations: 4.651 MB / 0.5505 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.3648, allocations: 62.52 kB / 0.5505 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.3649, allocations: 48.91 kB / 0.5506 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.3649, allocations: 7.922 kB / 0.5506 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.365, allocations: 30.56 kB / 0.5506 GB, free: 12.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 2.425e-06/0.365, allocations: 4 kB / 0.5506 GB, free: 12.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005277/0.3655, allocations: 221.1 kB / 0.5508 GB, free: 12.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.3656, allocations: 51.41 kB / 0.5509 GB, free: 12.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009049/0.3665, allocations: 0.8204 MB / 0.5517 GB, free: 11.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.3665, allocations: 25.7 kB / 0.5517 GB, free: 11.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.3668, allocations: 0.5179 MB / 0.5522 GB, free: 11.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.3669, allocations: 31.81 kB / 0.5522 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.367, allocations: 174.5 kB / 0.5524 GB, free: 10.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3672, allocations: 374.8 kB / 0.5528 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.3675, allocations: 185.8 kB / 0.5529 GB, free: 10.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006054/0.3681, allocations: 0.735 MB / 0.5537 GB, free: 9.305 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009449/0.3691, allocations: 0.9781 MB / 0.5546 GB, free: 8.043 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.3691, allocations: 8 kB / 0.5546 GB, free: 8.035 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001334/0.3704, allocations: 0.865 MB / 0.5555 GB, free: 7.164 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.3705, allocations: 12 kB / 0.5555 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.719e-05/0.3705, allocations: 32.16 kB / 0.5555 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.249e-05/0.3706, allocations: 27.94 kB / 0.5555 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004873/0.3711, allocations: 183.6 kB / 0.5557 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.431e-05/0.3711, allocations: 39.86 kB / 0.5557 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006088/0.3717, allocations: 111.2 kB / 0.5558 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-05/0.3718, allocations: 51.98 kB / 0.5559 GB, free: 6.715 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.000427/0.3722, allocations: 363.5 kB / 0.5562 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.217e-05/0.3723, allocations: 59.58 kB / 0.5563 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.017e-05/0.3724, allocations: 69.22 kB / 0.5564 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3724, allocations: 0 / 0.5564 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3724, allocations: 0 / 0.5564 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.3724, allocations: 0 / 0.5564 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005674/0.373, allocations: 0.4934 MB / 0.5569 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.373, allocations: 0 / 0.5569 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.3731, allocations: 19.92 kB / 0.5569 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3731, allocations: 0 / 0.5569 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3732, allocations: 11.94 kB / 0.5569 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3732, allocations: 0 / 0.5569 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3732, allocations: 0 / 0.5569 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003576/0.3735, allocations: 263 kB / 0.5571 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.3737, allocations: 136.7 kB / 0.5573 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.185e-05/0.3738, allocations: 3.938 kB / 0.5573 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.374, allocations: 15.98 kB / 0.5573 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.374, allocations: 8.219 kB / 0.5573 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.374, allocations: 4 kB / 0.5573 GB, free: 5.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006408/0.3747, allocations: 0.5263 MB / 0.5578 GB, free: 4.656 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3747, allocations: 0 / 0.5578 GB, free: 4.656 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008089/0.3755, allocations: 135.8 kB / 0.5579 GB, free: 4.523 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.0007167/0.3762, allocations: 0.8096 MB / 0.5587 GB, free: 3.688 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007714/0.377, allocations: 420 kB / 0.5591 GB, free: 3.281 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3771, allocations: 0 / 0.5591 GB, free: 3.281 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.3772, allocations: 51.88 kB / 0.5592 GB, free: 3.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006668/0.3779, allocations: 104.2 kB / 0.5593 GB, free: 3.141 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008123/0.386, allocations: 6.116 MB / 0.5652 GB, free: 12.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005999/0.3866, allocations: 0.9909 MB / 0.5662 GB, free: 11.35 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004789/0.3871, allocations: 204.9 kB / 0.5664 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/0.3874, allocations: 231.3 kB / 0.5666 GB, free: 10.92 MB / 430.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3875, allocations: 0 / 0.5666 GB, free: 10.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03362/0.4211, allocations: 10.97 MB / 0.5773 GB, free: 64 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.135/9.556, allocations: 18.91 kB / 0.5774 GB, free: 52 kB / 430.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv","/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