Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001542/0.001542, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00185/0.00185, allocations: 197.2 kB / 18.73 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.558/1.558, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2428/0.2428, allocations: 46.13 MB / 344.4 MB, free: 11.48 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002605/0.002605, allocations: 75.88 kB / 480.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3844, allocations: 62.45 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008298/0.3927, allocations: 6.241 MB / 0.5367 GB, free: 8.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004779/0.3975, allocations: 1.975 MB / 0.5386 GB, free: 6.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.3986, allocations: 23.28 kB / 0.5386 GB, free: 6.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001782/0.4005, allocations: 0.6204 MB / 0.5392 GB, free: 6.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007035/0.4012, allocations: 195.5 kB / 0.5394 GB, free: 6.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.4015, allocations: 55.7 kB / 0.5395 GB, free: 6.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000722/0.4022, allocations: 415.6 kB / 0.5399 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007831/0.403, allocations: 0.5101 MB / 0.5404 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004759/0.4035, allocations: 220.2 kB / 0.5406 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006144/0.4042, allocations: 287.3 kB / 0.5409 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.4043, allocations: 37.62 kB / 0.5409 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003231/0.4047, allocations: 92.02 kB / 0.541 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003645/0.405, allocations: 260.3 kB / 0.5412 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004445/0.4055, allocations: 309.6 kB / 0.5415 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.4071, allocations: 0.8297 MB / 0.5423 GB, free: 4.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.4071, allocations: 1.312 kB / 0.5423 GB, free: 4.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.4072, allocations: 0 / 0.5423 GB, free: 4.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.55e-05/0.4072, allocations: 0 / 0.5423 GB, free: 4.562 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.002473/0.4097, allocations: 0.9608 MB / 0.5433 GB, free: 3.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.4098, allocations: 14.11 kB / 0.5433 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001762/0.4099, allocations: 109.7 kB / 0.5434 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000877/0.4108, allocations: 157.5 kB / 0.5435 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00084/0.4117, allocations: 449.4 kB / 0.544 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.303e-05/0.4117, allocations: 33.98 kB / 0.544 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.974e-05/0.4118, allocations: 46.39 kB / 0.5441 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.4137, allocations: 1.078 MB / 0.5451 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.4138, allocations: 6.062 kB / 0.5451 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.736e-05/0.4139, allocations: 19.39 kB / 0.5451 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004229/0.4143, allocations: 201.6 kB / 0.5453 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.4156, allocations: 0.7094 MB / 0.546 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005365/0.421, allocations: 4.651 MB / 0.5506 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.4213, allocations: 62.52 kB / 0.5506 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.4214, allocations: 48.91 kB / 0.5507 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.4214, allocations: 0 / 0.5507 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.4215, allocations: 34.56 kB / 0.5507 GB, free: 12.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.774e-06/0.4215, allocations: 0 / 0.5507 GB, free: 12.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005783/0.422, allocations: 217 kB / 0.5509 GB, free: 12.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.4221, allocations: 55.41 kB / 0.551 GB, free: 12.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.4232, allocations: 0.8165 MB / 0.5518 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.4232, allocations: 25.7 kB / 0.5518 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.4236, allocations: 0.5218 MB / 0.5523 GB, free: 11.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.4237, allocations: 35.81 kB / 0.5523 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.4239, allocations: 170.5 kB / 0.5525 GB, free: 10.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.4241, allocations: 374.8 kB / 0.5528 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.4244, allocations: 177.9 kB / 0.553 GB, free: 10.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007343/0.4252, allocations: 0.7351 MB / 0.5537 GB, free: 9.285 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.4264, allocations: 0.9859 MB / 0.5547 GB, free: 8.016 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/0.4264, allocations: 12 kB / 0.5547 GB, free: 8.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001529/0.428, allocations: 0.8651 MB / 0.5555 GB, free: 7.133 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.428, allocations: 16.03 kB / 0.5556 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.959e-05/0.4281, allocations: 20 kB / 0.5556 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.323e-05/0.4281, allocations: 31.94 kB / 0.5556 GB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005123/0.4286, allocations: 171.9 kB / 0.5558 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.469e-05/0.4287, allocations: 35.86 kB / 0.5558 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006793/0.4294, allocations: 119.2 kB / 0.5559 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.117e-05/0.4294, allocations: 52 kB / 0.556 GB, free: 6.695 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.0005324/0.43, allocations: 375.4 kB / 0.5563 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.4301, allocations: 63.58 kB / 0.5564 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.4302, allocations: 61.22 kB / 0.5565 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.4302, allocations: 4 kB / 0.5565 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.4302, allocations: 0 / 0.5565 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.4302, allocations: 0 / 0.5565 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000666/0.4309, allocations: 0.4974 MB / 0.5569 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4309, allocations: 0 / 0.5569 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.726e-05/0.431, allocations: 11.98 kB / 0.557 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.431, allocations: 7.938 kB / 0.557 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.4311, allocations: 3.938 kB / 0.557 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4311, allocations: 0 / 0.557 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4311, allocations: 4 kB / 0.557 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004112/0.4315, allocations: 271 kB / 0.5572 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.4316, allocations: 136.7 kB / 0.5574 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.4317, allocations: 7.938 kB / 0.5574 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.4319, allocations: 7.984 kB / 0.5574 GB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.432, allocations: 7.984 kB / 0.5574 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.432, allocations: 4 kB / 0.5574 GB, free: 5.145 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006538/0.4327, allocations: 0.5302 MB / 0.5579 GB, free: 4.617 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4327, allocations: 0 / 0.5579 GB, free: 4.617 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006988/0.4334, allocations: 135.8 kB / 0.558 GB, free: 4.484 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.0007457/0.4341, allocations: 0.8057 MB / 0.5588 GB, free: 3.652 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007978/0.4349, allocations: 419.6 kB / 0.5592 GB, free: 3.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.435, allocations: 0 / 0.5592 GB, free: 3.246 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.4351, allocations: 47.94 kB / 0.5593 GB, free: 3.199 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006028/0.4357, allocations: 106.9 kB / 0.5594 GB, free: 3.105 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008735/0.4444, allocations: 6.108 MB / 0.5653 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007237/0.4452, allocations: 0.9831 MB / 0.5663 GB, free: 11.33 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005331/0.4458, allocations: 212.7 kB / 0.5665 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003074/0.4461, allocations: 227.4 kB / 0.5667 GB, free: 10.89 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4461, allocations: 0 / 0.5667 GB, free: 10.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03993/0.486, allocations: 10.99 MB / 0.5774 GB, free: 44 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/10.56, allocations: 12.25 kB / 0.5775 GB, free: 36 kB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)