Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.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.Planes,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001622/0.001622, allocations: 122.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00144/0.001441, allocations: 206 kB / 18.74 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.561/1.561, allocations: 227.4 MB / 247 MB, free: 10.46 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.236/0.236, allocations: 46.11 MB / 344.3 MB, free: 11.44 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.002294/0.002294, allocations: 80.19 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.4002, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01589/0.4162, allocations: 11.51 MB / 0.5418 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008438/0.4247, allocations: 3.06 MB / 0.5448 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00262/0.4274, allocations: 62.66 kB / 0.5449 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003874/0.4313, allocations: 1.568 MB / 0.5464 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005006/0.4364, allocations: 1.569 MB / 0.5479 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006243/0.437, allocations: 115.4 kB / 0.548 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00563/0.4427, allocations: 3.293 MB / 0.5513 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003591/0.4463, allocations: 2.199 MB / 0.5534 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002236/0.4485, allocations: 1.156 MB / 0.5545 GB, free: 9.086 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004098/0.4527, allocations: 2.431 MB / 0.5569 GB, free: 6.648 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001216/0.4539, allocations: 228 kB / 0.5571 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002648/0.4566, allocations: 0.6983 MB / 0.5578 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002316/0.4589, allocations: 1.488 MB / 0.5593 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003538/0.4625, allocations: 1.808 MB / 0.561 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009393/0.4719, allocations: 5.939 MB / 0.5668 GB, free: 12.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.4719, allocations: 4 kB / 0.5668 GB, free: 12.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.472, allocations: 0 / 0.5668 GB, free: 12.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002651/0.4722, allocations: 7.938 kB / 0.5668 GB, free: 12.44 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1485 * Number of variables: 1485 Notification: Performance of Generate backend data structure: time 0.01177/0.484, allocations: 4.097 MB / 0.5708 GB, free: 8.266 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.4841, allocations: 8.031 kB / 0.5709 GB, free: 8.258 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001933/0.486, allocations: 0.6955 MB / 0.5715 GB, free: 7.551 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/0.4968, allocations: 2.989 MB / 0.5744 GB, free: 4.555 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004573/0.5014, allocations: 1.836 MB / 0.5762 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000245/0.5017, allocations: 188.7 kB / 0.5764 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001149/0.5028, allocations: 235.8 kB / 0.5766 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01891/0.5217, allocations: 9.76 MB / 0.5862 GB, free: 8.121 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.062e-05/0.5219, allocations: 19.81 kB / 0.5862 GB, free: 8.102 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008151/0.5227, allocations: 115.8 kB / 0.5863 GB, free: 7.988 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00427/0.527, allocations: 2.366 MB / 0.5886 GB, free: 5.621 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01864/0.5457, allocations: 8.96 MB / 0.5974 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05153/0.5972, allocations: 29.57 MB / 0.6262 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007383/0.6047, allocations: 3.466 MB / 0.6296 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/0.6065, allocations: 1.108 MB / 0.6307 GB, free: 9.508 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01105/0.6176, allocations: 6.474 MB / 0.637 GB, free: 2.609 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.648e-05/0.6177, allocations: 43.22 kB / 0.6371 GB, free: 2.559 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 4.489e-06/0.6177, allocations: 8 kB / 0.6371 GB, free: 2.551 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.008073/0.6258, allocations: 3.139 MB / 0.6401 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.956e-05/0.6259, allocations: 115.4 kB / 0.6403 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004226/0.6301, allocations: 2.738 MB / 0.6429 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/0.6303, allocations: 45.64 kB / 0.643 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00244/0.6328, allocations: 2.837 MB / 0.6457 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000717/0.6335, allocations: 0.5427 MB / 0.6463 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00136/0.6349, allocations: 0.9447 MB / 0.6472 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.635, allocations: 301.1 kB / 0.6475 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002171/0.6372, allocations: 1.399 MB / 0.6488 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004676/0.6419, allocations: 4.229 MB / 0.653 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007839/0.6497, allocations: 6.159 MB / 0.659 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-05/0.6498, allocations: 32 kB / 0.659 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.00963/0.6595, allocations: 5.464 MB / 0.6644 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.751e-05/0.6596, allocations: 48 kB / 0.6644 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001398/0.6597, allocations: 100 kB / 0.6645 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001486/0.6599, allocations: 132 kB / 0.6646 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002979/0.6629, allocations: 0.9903 MB / 0.6656 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001694/0.6631, allocations: 195.2 kB / 0.6658 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/0.6662, allocations: 0.632 MB / 0.6664 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005214/0.6667, allocations: 288 kB / 0.6667 GB, free: 1.301 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedFrameOfWireframe.color_x[3],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 543 * Array equations: 8 * 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.00324/0.67, allocations: 1.977 MB / 0.6686 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004248/0.6704, allocations: 246.3 kB / 0.6688 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005368/0.6709, allocations: 284.8 kB / 0.6691 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.523e-05/0.671, allocations: 16 kB / 0.6691 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.671, allocations: 0 / 0.6691 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.671, allocations: 3.984 kB / 0.6691 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00982/0.6808, allocations: 6.2 MB / 0.6752 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.6809, allocations: 11.94 kB / 0.6752 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006386/0.6815, allocations: 163.7 kB / 0.6753 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/0.6816, allocations: 16.06 kB / 0.6754 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.215e-05/0.6817, allocations: 28 kB / 0.6754 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-05/0.6817, allocations: 19.92 kB / 0.6754 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.6817, allocations: 11.94 kB / 0.6754 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00261/0.6843, allocations: 2.015 MB / 0.6774 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00052/0.6848, allocations: 323.1 kB / 0.6777 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/0.6851, allocations: 24 kB / 0.6777 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006068/0.6857, allocations: 43.95 kB / 0.6778 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.6858, allocations: 84.23 kB / 0.6778 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.686, allocations: 55.97 kB / 0.6779 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002531/0.6885, allocations: 1.666 MB / 0.6795 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6885, allocations: 0 / 0.6795 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003519/0.692, allocations: 1.035 MB / 0.6805 GB, free: 2.77 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (93): * Single equations (assignments): 87 * Array equations: 6 * 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.003226/0.6953, allocations: 2.665 MB / 0.6831 GB, free: 15.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005086/0.7004, allocations: 3.275 MB / 0.6863 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.7004, allocations: 4.438 kB / 0.6863 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.7015, allocations: 0.7976 MB / 0.6871 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.703, allocations: 298.5 kB / 0.6874 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04795/0.751, allocations: 31.05 MB / 0.7177 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004022/0.755, allocations: 3.095 MB / 0.7207 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003576/0.7586, allocations: 1.552 MB / 0.7223 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002208/0.7609, allocations: 1.597 MB / 0.7238 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of SimCode: time 1.132e-06/0.7609, allocations: 3.938 kB / 0.7238 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3454/1.106, allocations: 41.46 MB / 0.7643 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/16, allocations: 8.172 kB / 0.7643 GB, free: 156.2 MB / 0.5762 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes_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_Planes.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1)