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.001348/0.001348, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001619/0.001619, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2327/0.2327, allocations: 46.12 MB / 344.2 MB, free: 11.58 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.003404/0.003404, allocations: 79.77 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1579, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01332/0.1713, allocations: 11.51 MB / 491.7 MB, free: 9.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007455/0.1788, allocations: 3.057 MB / 494.8 MB, free: 6.516 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.181, allocations: 63.88 kB / 494.8 MB, free: 6.453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003649/0.1848, allocations: 1.569 MB / 496.4 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005015/0.1898, allocations: 1.568 MB / 498 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000565/0.1904, allocations: 119.8 kB / 498.1 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005576/0.196, allocations: 3.293 MB / 0.4896 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00345/0.1995, allocations: 2.187 MB / 0.4918 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002136/0.2017, allocations: 1.14 MB / 0.4929 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003929/0.2056, allocations: 2.431 MB / 0.4953 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009582/0.2066, allocations: 236 kB / 0.4955 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.2087, allocations: 0.7021 MB / 0.4962 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001941/0.2106, allocations: 1.492 MB / 0.4976 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002474/0.2131, allocations: 1.816 MB / 0.4994 GB, free: 5.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007557/0.2207, allocations: 5.622 MB / 0.5049 GB, free: 192 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/0.2207, allocations: 4 kB / 0.5049 GB, free: 188 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2207, allocations: 0 / 0.5049 GB, free: 188 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002033/0.221, allocations: 0 / 0.5049 GB, free: 188 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.2274/0.4483, allocations: 3.988 MB / 0.5088 GB, free: 39.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.4484, allocations: 11.91 kB / 0.5088 GB, free: 39.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001485/0.4499, allocations: 0.692 MB / 0.5095 GB, free: 39.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/0.4607, allocations: 2.957 MB / 0.5124 GB, free: 38.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00436/0.4651, allocations: 1.81 MB / 0.5141 GB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.4653, allocations: 186.8 kB / 0.5143 GB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009396/0.4662, allocations: 238.7 kB / 0.5145 GB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01564/0.4819, allocations: 9.758 MB / 0.5241 GB, free: 33.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.888e-05/0.482, allocations: 20.08 kB / 0.5241 GB, free: 33.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003647/0.4824, allocations: 113.3 kB / 0.5242 GB, free: 33.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003408/0.4858, allocations: 2.361 MB / 0.5265 GB, free: 32.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01433/0.5001, allocations: 8.957 MB / 0.5352 GB, free: 23.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03899/0.5392, allocations: 29.73 MB / 0.5643 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006901/0.5461, allocations: 3.473 MB / 0.5677 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/0.5479, allocations: 1.115 MB / 0.5687 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/0.5593, allocations: 6.461 MB / 0.5751 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.304e-05/0.5594, allocations: 47.2 kB / 0.5751 GB, free: 13.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=135): time 5.31e-06/0.5594, allocations: 4 kB / 0.5751 GB, free: 13.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=135): time 0.008687/0.5681, allocations: 3.126 MB / 0.5782 GB, free: 10.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.5683, allocations: 115.5 kB / 0.5783 GB, free: 10.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004885/0.5732, allocations: 2.737 MB / 0.5809 GB, free: 7.305 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002795/0.5735, allocations: 37.7 kB / 0.581 GB, free: 7.262 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002594/0.5761, allocations: 2.735 MB / 0.5837 GB, free: 4.484 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007055/0.5769, allocations: 0.513 MB / 0.5842 GB, free: 3.965 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001274/0.5782, allocations: 0.9322 MB / 0.5851 GB, free: 3.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5783, allocations: 305.1 kB / 0.5854 GB, free: 2.719 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002299/0.5806, allocations: 1.403 MB / 0.5867 GB, free: 1.309 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004671/0.5853, allocations: 4.229 MB / 0.5909 GB, free: 11.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007649/0.593, allocations: 6.157 MB / 0.5969 GB, free: 4.102 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.803e-05/0.5931, allocations: 28 kB / 0.5969 GB, free: 4.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009332/0.6025, allocations: 5.447 MB / 0.6022 GB, free: 14.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.593e-05/0.6026, allocations: 50.66 kB / 0.6023 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001144/0.6027, allocations: 103.9 kB / 0.6024 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001436/0.6028, allocations: 135.9 kB / 0.6025 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002864/0.6057, allocations: 0.9942 MB / 0.6035 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001601/0.6059, allocations: 195.2 kB / 0.6036 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003014/0.6089, allocations: 0.6183 MB / 0.6042 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004086/0.6093, allocations: 284.3 kB / 0.6045 GB, free: 12.25 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.002972/0.6123, allocations: 1.985 MB / 0.6065 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004301/0.6127, allocations: 225 kB / 0.6067 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000533/0.6133, allocations: 292.7 kB / 0.607 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-05/0.6133, allocations: 16 kB / 0.607 GB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.6133, allocations: 4 kB / 0.607 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.6134, allocations: 3.984 kB / 0.607 GB, free: 9.711 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009663/0.623, allocations: 6.189 MB / 0.613 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.6231, allocations: 12 kB / 0.613 GB, free: 3.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006347/0.6237, allocations: 167.8 kB / 0.6132 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.879e-05/0.6237, allocations: 12 kB / 0.6132 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-05/0.6238, allocations: 28 kB / 0.6132 GB, free: 3.141 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.839e-05/0.6238, allocations: 23.86 kB / 0.6133 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.156e-05/0.6239, allocations: 11.94 kB / 0.6133 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002618/0.6265, allocations: 1.994 MB / 0.6152 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005617/0.6271, allocations: 309.8 kB / 0.6155 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/0.6273, allocations: 27.98 kB / 0.6155 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000623/0.6279, allocations: 43.95 kB / 0.6156 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.6281, allocations: 84.23 kB / 0.6157 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-05/0.6282, allocations: 51.98 kB / 0.6157 GB, free: 472 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002581/0.6308, allocations: 1.662 MB / 0.6173 GB, free: 14.79 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6308, allocations: 0 / 0.6173 GB, free: 14.79 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003973/0.6348, allocations: 1.03 MB / 0.6183 GB, free: 13.75 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.00317/0.638, allocations: 2.652 MB / 0.6209 GB, free: 10.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006666/0.6446, allocations: 4.084 MB / 0.6249 GB, free: 6.914 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/0.6447, allocations: 4.188 kB / 0.6249 GB, free: 6.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.6458, allocations: 0.7898 MB / 0.6257 GB, free: 6.125 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.6476, allocations: 305.3 kB / 0.626 GB, free: 5.836 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04748/0.6951, allocations: 32.98 MB / 0.6582 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003593/0.6987, allocations: 3.092 MB / 0.6612 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003609/0.7024, allocations: 1.552 MB / 0.6627 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002088/0.7045, allocations: 1.597 MB / 0.6643 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of SimCode: time 7.01e-07/0.7045, allocations: 0 / 0.6643 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3006/1.005, allocations: 44.01 MB / 0.7073 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.449/10.45, allocations: 6.969 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1)