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.001688/0.001688, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001482/0.001482, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 246.8 MB, free: 10.48 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.2446/0.2446, allocations: 46.11 MB / 344.2 MB, free: 11.52 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.002735/0.002735, allocations: 84.05 kB / 417.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1451, allocations: 62.45 MB / 480.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01651/0.1617, allocations: 11.52 MB / 491.7 MB, free: 9.516 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0086/0.1703, allocations: 3.053 MB / 494.8 MB, free: 6.453 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00273/0.1731, allocations: 63.88 kB / 494.8 MB, free: 6.391 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004676/0.1779, allocations: 1.565 MB / 496.4 MB, free: 4.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004988/0.1829, allocations: 1.568 MB / 498 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006114/0.1836, allocations: 119.8 kB / 498.1 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005114/0.1887, allocations: 3.298 MB / 0.4896 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003246/0.192, allocations: 2.183 MB / 0.4918 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.1937, allocations: 1.144 MB / 0.4929 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003418/0.1972, allocations: 2.431 MB / 0.4953 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006122/0.1978, allocations: 235.9 kB / 0.4955 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.1993, allocations: 0.6983 MB / 0.4962 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001495/0.2008, allocations: 1.496 MB / 0.4976 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001984/0.2028, allocations: 1.812 MB / 0.4994 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007503/0.2103, allocations: 5.634 MB / 0.5049 GB, free: 116 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.118e-06/0.2103, allocations: 0 / 0.5049 GB, free: 116 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2103, allocations: 0 / 0.5049 GB, free: 116 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001606/0.2105, allocations: 0 / 0.5049 GB, free: 116 kB / 382.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.2215/0.432, allocations: 3.985 MB / 0.5088 GB, free: 39.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.432, allocations: 13.56 kB / 0.5088 GB, free: 39.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009181/0.433, allocations: 0.6855 MB / 0.5095 GB, free: 39.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/0.4438, allocations: 2.958 MB / 0.5124 GB, free: 38.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004492/0.4484, allocations: 1.809 MB / 0.5141 GB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/0.4486, allocations: 191.9 kB / 0.5143 GB, free: 37.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008763/0.4494, allocations: 233.7 kB / 0.5145 GB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01625/0.4657, allocations: 9.762 MB / 0.5241 GB, free: 33.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.12e-05/0.4658, allocations: 18.97 kB / 0.5241 GB, free: 33.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003966/0.4662, allocations: 113.8 kB / 0.5242 GB, free: 32.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003663/0.4699, allocations: 2.362 MB / 0.5265 GB, free: 32.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01654/0.4864, allocations: 8.953 MB / 0.5352 GB, free: 23.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04638/0.5329, allocations: 29.71 MB / 0.5643 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007449/0.5404, allocations: 3.489 MB / 0.5677 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002175/0.5426, allocations: 1.103 MB / 0.5687 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01416/0.5568, allocations: 6.478 MB / 0.5751 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.348e-05/0.5569, allocations: 43.22 kB / 0.5751 GB, free: 13.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=135): time 6.963e-06/0.5569, allocations: 0 / 0.5751 GB, free: 13.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=135): time 0.009009/0.5659, allocations: 3.13 MB / 0.5782 GB, free: 10.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.5661, allocations: 115.4 kB / 0.5783 GB, free: 9.977 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005478/0.5716, allocations: 2.742 MB / 0.581 GB, free: 7.215 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.5717, allocations: 37.7 kB / 0.581 GB, free: 7.172 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002868/0.5746, allocations: 2.731 MB / 0.5837 GB, free: 4.398 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001096/0.5757, allocations: 0.513 MB / 0.5842 GB, free: 3.879 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00169/0.5774, allocations: 0.9322 MB / 0.5851 GB, free: 2.934 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.5775, allocations: 301.1 kB / 0.5854 GB, free: 2.637 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002632/0.5802, allocations: 1.406 MB / 0.5867 GB, free: 1.223 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005198/0.5854, allocations: 4.225 MB / 0.5909 GB, free: 11.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007836/0.5932, allocations: 6.153 MB / 0.5969 GB, free: 4.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.35e-05/0.5933, allocations: 28 kB / 0.5969 GB, free: 3.992 MB / 430.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009031/0.6024, allocations: 5.45 MB / 0.6022 GB, free: 14.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.475e-05/0.6025, allocations: 48 kB / 0.6023 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000117/0.6026, allocations: 104.8 kB / 0.6024 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.6028, allocations: 139.9 kB / 0.6025 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/0.6056, allocations: 0.9942 MB / 0.6035 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002219/0.6058, allocations: 200.9 kB / 0.6037 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002917/0.6087, allocations: 0.6106 MB / 0.6042 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003996/0.6091, allocations: 291.9 kB / 0.6045 GB, free: 12.16 MB / 446.1 MB 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.002857/0.612, allocations: 1.973 MB / 0.6065 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004036/0.6124, allocations: 225 kB / 0.6067 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004759/0.6129, allocations: 296.7 kB / 0.607 GB, free: 9.652 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.908e-05/0.6129, allocations: 20.25 kB / 0.607 GB, free: 9.633 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.613, allocations: 0 / 0.607 GB, free: 9.633 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.613, allocations: 11.98 kB / 0.607 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/0.6234, allocations: 6.192 MB / 0.613 GB, free: 3.262 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.6234, allocations: 8 kB / 0.613 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006876/0.6241, allocations: 163.7 kB / 0.6132 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.779e-05/0.6242, allocations: 15.98 kB / 0.6132 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.706e-05/0.6242, allocations: 28 kB / 0.6132 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-05/0.6243, allocations: 15.94 kB / 0.6133 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/0.6243, allocations: 11.94 kB / 0.6133 GB, free: 3.023 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/0.6269, allocations: 1.998 MB / 0.6152 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005496/0.6274, allocations: 305.8 kB / 0.6155 GB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/0.6277, allocations: 27.98 kB / 0.6155 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006228/0.6283, allocations: 51.95 kB / 0.6156 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.6285, allocations: 80.28 kB / 0.6157 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-05/0.6286, allocations: 52 kB / 0.6157 GB, free: 384 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002455/0.631, allocations: 1.666 MB / 0.6173 GB, free: 14.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6311, allocations: 0 / 0.6173 GB, free: 14.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00354/0.6346, allocations: 1.018 MB / 0.6183 GB, free: 13.68 MB / 462.1 MB 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.003098/0.6377, allocations: 2.652 MB / 0.6209 GB, free: 10.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006425/0.6442, allocations: 4.087 MB / 0.6249 GB, free: 6.832 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.6442, allocations: 4 kB / 0.6249 GB, free: 6.828 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.6453, allocations: 0.795 MB / 0.6257 GB, free: 6.039 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.6469, allocations: 303.2 kB / 0.626 GB, free: 5.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05024/0.6972, allocations: 32.98 MB / 0.6582 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004288/0.7015, allocations: 3.1 MB / 0.6612 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003809/0.7054, allocations: 1.548 MB / 0.6627 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002311/0.7077, allocations: 1.601 MB / 0.6643 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of SimCode: time 1.242e-06/0.7077, allocations: 4 kB / 0.6643 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2738/0.9815, allocations: 44.01 MB / 0.7073 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.176/10.16, allocations: 4.812 kB / 0.7073 GB, free: 179.8 MB / 0.5294 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)