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.001801/0.001801, allocations: 121.6 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.001946/0.001946, allocations: 200.7 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.508/1.508, 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.2324/0.2324, allocations: 46.12 MB / 344.4 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.002353/0.002353, allocations: 75.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3782, 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.016/0.3943, allocations: 11.51 MB / 0.5418 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008572/0.4029, allocations: 3.064 MB / 0.5448 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002682/0.4057, allocations: 62.78 kB / 0.5449 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003813/0.4096, allocations: 1.567 MB / 0.5464 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004872/0.4145, allocations: 1.562 MB / 0.5479 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000577/0.4151, allocations: 119.5 kB / 0.548 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005467/0.4206, allocations: 3.297 MB / 0.5513 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003521/0.4241, allocations: 2.19 MB / 0.5534 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002282/0.4265, allocations: 1.156 MB / 0.5545 GB, free: 9.105 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003935/0.4304, allocations: 2.428 MB / 0.5569 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008738/0.4313, allocations: 228 kB / 0.5571 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.4332, allocations: 0.7021 MB / 0.5578 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00194/0.4352, allocations: 1.496 MB / 0.5593 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00284/0.438, allocations: 1.812 MB / 0.561 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009351/0.4474, allocations: 5.935 MB / 0.5668 GB, free: 12.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.4475, allocations: 0 / 0.5668 GB, free: 12.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4475, allocations: 0 / 0.5668 GB, free: 12.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000211/0.4477, allocations: 0 / 0.5668 GB, free: 12.46 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.01011/0.4578, allocations: 4.105 MB / 0.5708 GB, free: 8.281 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.4579, allocations: 8.031 kB / 0.5709 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001563/0.4595, allocations: 0.6916 MB / 0.5715 GB, free: 7.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/0.47, allocations: 2.993 MB / 0.5744 GB, free: 4.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005535/0.4756, allocations: 1.836 MB / 0.5762 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002453/0.4759, allocations: 188.7 kB / 0.5764 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001674/0.4776, allocations: 235.8 kB / 0.5766 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01979/0.4974, allocations: 9.76 MB / 0.5862 GB, free: 8.137 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.533e-05/0.4975, allocations: 19.81 kB / 0.5862 GB, free: 8.117 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006717/0.4982, allocations: 111.8 kB / 0.5863 GB, free: 8.008 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004269/0.5025, allocations: 2.366 MB / 0.5886 GB, free: 5.641 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01936/0.5219, allocations: 8.956 MB / 0.5974 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05166/0.5736, allocations: 29.57 MB / 0.6262 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007691/0.5814, allocations: 3.47 MB / 0.6296 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002152/0.5836, allocations: 1.103 MB / 0.6307 GB, free: 9.531 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01329/0.5969, allocations: 6.478 MB / 0.637 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.406e-05/0.597, allocations: 39.22 kB / 0.6371 GB, free: 2.578 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 5.31e-06/0.5971, allocations: 0 / 0.6371 GB, free: 2.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.009282/0.6064, allocations: 3.147 MB / 0.6401 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.6065, allocations: 119.4 kB / 0.6403 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005934/0.6125, allocations: 2.742 MB / 0.6429 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002292/0.6127, allocations: 41.64 kB / 0.643 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002929/0.6157, allocations: 2.841 MB / 0.6457 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009748/0.6167, allocations: 0.5427 MB / 0.6463 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002423/0.6191, allocations: 0.9369 MB / 0.6472 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6193, allocations: 301.1 kB / 0.6475 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002677/0.622, allocations: 1.399 MB / 0.6488 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005558/0.6276, allocations: 4.237 MB / 0.653 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008512/0.6361, allocations: 6.147 MB / 0.659 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001178/0.6363, allocations: 31.94 kB / 0.659 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01177/0.6481, allocations: 5.463 MB / 0.6643 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.6483, allocations: 48.97 kB / 0.6644 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002033/0.6485, allocations: 100 kB / 0.6645 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002079/0.6487, allocations: 132 kB / 0.6646 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003545/0.6523, allocations: 0.9982 MB / 0.6656 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000259/0.6526, allocations: 199.2 kB / 0.6658 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003937/0.6565, allocations: 0.632 MB / 0.6664 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009935/0.6576, allocations: 280 kB / 0.6667 GB, free: 1.32 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.004506/0.6621, allocations: 1.981 MB / 0.6686 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006222/0.6627, allocations: 242.3 kB / 0.6688 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008944/0.6636, allocations: 288.8 kB / 0.6691 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.058e-05/0.6637, allocations: 20 kB / 0.6691 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/0.6637, allocations: 0 / 0.6691 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.6637, allocations: 3.984 kB / 0.6691 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/0.6786, allocations: 6.196 MB / 0.6752 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.591e-05/0.6787, allocations: 11.94 kB / 0.6752 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007843/0.6795, allocations: 167.7 kB / 0.6754 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.398e-05/0.6795, allocations: 12 kB / 0.6754 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/0.6797, allocations: 24 kB / 0.6754 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-05/0.6797, allocations: 19.92 kB / 0.6754 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.336e-05/0.6797, allocations: 11.94 kB / 0.6754 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003479/0.6832, allocations: 2.019 MB / 0.6774 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008287/0.6841, allocations: 323.1 kB / 0.6777 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005569/0.6847, allocations: 24 kB / 0.6777 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.6857, allocations: 44.2 kB / 0.6778 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/0.686, allocations: 92.22 kB / 0.6778 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/0.6862, allocations: 51.98 kB / 0.6779 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003907/0.6901, allocations: 1.678 MB / 0.6795 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6901, allocations: 0 / 0.6795 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005064/0.6952, allocations: 1.028 MB / 0.6805 GB, free: 2.777 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.004147/0.6994, allocations: 2.665 MB / 0.6831 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006231/0.7057, allocations: 3.274 MB / 0.6863 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/0.7057, allocations: 0 / 0.6863 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.7071, allocations: 0.8028 MB / 0.6871 GB, free: 11.94 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/0.7098, allocations: 291.8 kB / 0.6874 GB, free: 11.65 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06433/0.7742, allocations: 31.05 MB / 0.7177 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007192/0.7814, allocations: 3.088 MB / 0.7207 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004494/0.7859, allocations: 1.556 MB / 0.7223 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003447/0.7894, allocations: 1.601 MB / 0.7238 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of SimCode: time 1.593e-06/0.7895, allocations: 0 / 0.7238 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3811/1.171, allocations: 41.45 MB / 0.7643 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.01/17.18, allocations: 15.3 kB / 0.7643 GB, free: 156.3 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 & /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)