Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00161/0.00161, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001552/0.001552, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2196/0.2196, allocations: 46.93 MB / 361.6 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 180] 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.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.00239/0.00239, allocations: 79.88 kB / 0.497 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3559, allocations: 66.08 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007039/0.3629, allocations: 5.433 MB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003626/0.3666, allocations: 1.832 MB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004911/0.3671, allocations: 19.94 kB / 0.5686 GB, free: 13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.3684, allocations: 0.5525 MB / 0.5691 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.3703, allocations: 0.9301 MB / 0.57 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.793e-05/0.3704, allocations: 11.98 kB / 0.5701 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001993/0.3724, allocations: 1.526 MB / 0.5716 GB, free: 9.973 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.3735, allocations: 0.7459 MB / 0.5723 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007258/0.3742, allocations: 0.5252 MB / 0.5728 GB, free: 8.684 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002112/0.3763, allocations: 1.707 MB / 0.5745 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002168/0.3765, allocations: 92 kB / 0.5745 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006312/0.3772, allocations: 327.5 kB / 0.5749 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006308/0.3778, allocations: 0.7203 MB / 0.5756 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008098/0.3786, allocations: 0.869 MB / 0.5764 GB, free: 4.965 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002915/0.3815, allocations: 2.808 MB / 0.5792 GB, free: 2.145 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3815, allocations: 4 kB / 0.5792 GB, free: 2.141 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3815, allocations: 0 / 0.5792 GB, free: 2.141 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.505e-05/0.3816, allocations: 0 / 0.5792 GB, free: 2.141 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.00297/0.3845, allocations: 2.033 MB / 0.5811 GB, free: 64 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.3846, allocations: 12.03 kB / 0.5812 GB, free: 52 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004377/0.385, allocations: 369.9 kB / 0.5815 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004696/0.3897, allocations: 1.516 MB / 0.583 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.3913, allocations: 0.7965 MB / 0.5838 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.973e-05/0.3914, allocations: 82.22 kB / 0.5838 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.3916, allocations: 111.9 kB / 0.584 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006485/0.3981, allocations: 4.976 MB / 0.5888 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.296e-05/0.3982, allocations: 27.75 kB / 0.5888 GB, free: 7.676 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/0.3983, allocations: 59.91 kB / 0.5889 GB, free: 7.617 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001842/0.4002, allocations: 1.181 MB / 0.59 GB, free: 6.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006924/0.4071, allocations: 4.258 MB / 0.5942 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02125/0.4284, allocations: 20.47 MB / 0.6142 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.4296, allocations: 0.7291 MB / 0.6149 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004759/0.4301, allocations: 351.2 kB / 0.6152 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.4302, allocations: 4 kB / 0.6152 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.4302, allocations: 46.48 kB / 0.6153 GB, free: 11.76 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 2.865e-06/0.4302, allocations: 0 / 0.6153 GB, free: 11.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001836/0.432, allocations: 1.151 MB / 0.6164 GB, free: 10.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.475e-05/0.4321, allocations: 136.5 kB / 0.6165 GB, free: 10.44 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003132/0.4353, allocations: 2.437 MB / 0.6189 GB, free: 7.965 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/0.4353, allocations: 29.7 kB / 0.619 GB, free: 7.93 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001419/0.4367, allocations: 1.874 MB / 0.6208 GB, free: 6.035 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/0.437, allocations: 317.8 kB / 0.6211 GB, free: 5.723 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009529/0.438, allocations: 0.7979 MB / 0.6219 GB, free: 4.918 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.4381, allocations: 345.9 kB / 0.6222 GB, free: 4.574 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.4397, allocations: 1.038 MB / 0.6232 GB, free: 3.535 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004427/0.4441, allocations: 3.688 MB / 0.6268 GB, free: 14.52 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006661/0.4508, allocations: 5.166 MB / 0.6319 GB, free: 8.016 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.43e-05/0.4508, allocations: 28 kB / 0.6319 GB, free: 7.988 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.008156/0.459, allocations: 4.461 MB / 0.6362 GB, free: 3.523 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.389e-05/0.4591, allocations: 44 kB / 0.6363 GB, free: 3.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.792e-05/0.4592, allocations: 96 kB / 0.6364 GB, free: 3.387 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001308/0.4593, allocations: 127.9 kB / 0.6365 GB, free: 3.262 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002347/0.4616, allocations: 0.8694 MB / 0.6373 GB, free: 2.391 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001516/0.4618, allocations: 183.3 kB / 0.6375 GB, free: 2.211 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/0.4642, allocations: 0.5703 MB / 0.6381 GB, free: 1.637 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002948/0.4645, allocations: 255.9 kB / 0.6383 GB, free: 1.387 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 434 * Number of states: 0 () * Number of discrete variables: 17 (visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],visGroundAxis.color[3],visGroundAxis.color[2],visGroundAxis.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (476): * Single equations (assignments): 472 * Array equations: 4 * 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.001613/0.4661, allocations: 1.185 MB / 0.6395 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/0.4664, allocations: 198.8 kB / 0.6397 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.4667, allocations: 221.8 kB / 0.6399 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.724e-05/0.4668, allocations: 19.98 kB / 0.6399 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.4668, allocations: 0 / 0.6399 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4668, allocations: 0 / 0.6399 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003469/0.4703, allocations: 2.047 MB / 0.6419 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.4703, allocations: 4 kB / 0.6419 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.4705, allocations: 59.91 kB / 0.642 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.4706, allocations: 4 kB / 0.642 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.4706, allocations: 15.97 kB / 0.642 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.288e-05/0.4706, allocations: 4 kB / 0.642 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4706, allocations: 3.938 kB / 0.642 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.4719, allocations: 1.193 MB / 0.6431 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/0.4722, allocations: 182.5 kB / 0.6433 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.4723, allocations: 8 kB / 0.6433 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004498/0.4728, allocations: 19.97 kB / 0.6433 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.4728, allocations: 35.89 kB / 0.6434 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.4729, allocations: 20.09 kB / 0.6434 GB, free: 12.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001957/0.4748, allocations: 1.49 MB / 0.6449 GB, free: 10.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4748, allocations: 8 kB / 0.6449 GB, free: 10.58 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002446/0.4773, allocations: 0.5303 MB / 0.6454 GB, free: 10.05 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (37): * Single equations (assignments): 33 * Array equations: 4 * 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.001769/0.479, allocations: 1.798 MB / 0.6471 GB, free: 8.223 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003605/0.4827, allocations: 2.261 MB / 0.6493 GB, free: 5.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4827, allocations: 0 / 0.6493 GB, free: 5.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004298/0.4831, allocations: 339.7 kB / 0.6497 GB, free: 5.648 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.4842, allocations: 166 kB / 0.6498 GB, free: 5.484 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0322/0.5164, allocations: 23.1 MB / 0.6724 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002099/0.5185, allocations: 1.857 MB / 0.6742 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002753/0.5212, allocations: 1.255 MB / 0.6754 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/0.5223, allocations: 0.7805 MB / 0.6762 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of SimCode: time 1.463e-06/0.5223, allocations: 0 / 0.6762 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07278/0.5951, allocations: 33.21 MB / 0.7086 GB, free: 5.93 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.23, allocations: 8 kB / 0.7086 GB, free: 5.922 MB / 0.545 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_WorldGroundVisualization_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.024760256055743] Failed to read output from testmodel.py, exit status != 0: ['time', 'visGroundAxis.n[1]', 'visGroundAxis.n[2]', 'visGroundAxis.n[3]'] 13.319924212060869 13.343948474 12.959236677 Calling exit ...