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.001312/0.001312, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001365/0.001365, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.494/1.494, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2505/0.2505, allocations: 46.89 MB / 357.4 MB, free: 10.61 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.003835/0.003835, allocations: 75.88 kB / 0.4912 GB, free: 8.645 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1723, allocations: 65.99 MB / 0.5556 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007086/0.1793, allocations: 5.422 MB / 0.5609 GB, free: 1.074 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003652/0.183, allocations: 1.819 MB / 0.5627 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000372/0.1834, allocations: 23.94 kB / 0.5627 GB, free: 15.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.1846, allocations: 0.5407 MB / 0.5633 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.1864, allocations: 0.9262 MB / 0.5642 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.932e-05/0.1865, allocations: 11.98 kB / 0.5642 GB, free: 13.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001727/0.1882, allocations: 1.526 MB / 0.5657 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008284/0.1891, allocations: 0.6682 MB / 0.5663 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005951/0.1897, allocations: 0.5213 MB / 0.5668 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001989/0.1917, allocations: 1.707 MB / 0.5685 GB, free: 9.297 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.1919, allocations: 88 kB / 0.5686 GB, free: 9.211 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005737/0.1924, allocations: 323.5 kB / 0.5689 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006337/0.1931, allocations: 0.7164 MB / 0.5696 GB, free: 8.176 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007527/0.1938, allocations: 0.8729 MB / 0.5704 GB, free: 7.297 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002792/0.1966, allocations: 2.804 MB / 0.5732 GB, free: 4.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.1966, allocations: 7.984 kB / 0.5732 GB, free: 4.473 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1966, allocations: 0 / 0.5732 GB, free: 4.473 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.174e-05/0.1966, allocations: 0 / 0.5732 GB, free: 4.473 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: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.002881/0.1995, allocations: 2.105 MB / 0.5752 GB, free: 2.305 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.1996, allocations: 8.031 kB / 0.5752 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000419/0.2, allocations: 373.9 kB / 0.5756 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004753/0.2047, allocations: 1.52 MB / 0.5771 GB, free: 408 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.2066, allocations: 0.8492 MB / 0.5779 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.635e-05/0.2066, allocations: 86.22 kB / 0.578 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/0.2069, allocations: 115.9 kB / 0.5781 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006204/0.2131, allocations: 4.972 MB / 0.583 GB, free: 9.859 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.681e-05/0.2131, allocations: 23.75 kB / 0.583 GB, free: 9.836 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/0.2133, allocations: 59.91 kB / 0.583 GB, free: 9.777 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001844/0.2151, allocations: 1.182 MB / 0.5842 GB, free: 8.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007213/0.2223, allocations: 4.266 MB / 0.5884 GB, free: 4.324 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2986/0.521, allocations: 20.54 MB / 0.6084 GB, free: 18.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.5225, allocations: 1.179 MB / 0.6096 GB, free: 17.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005223/0.523, allocations: 348.5 kB / 0.6099 GB, free: 17.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.523, allocations: 11.34 kB / 0.6099 GB, free: 17.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.5231, allocations: 34.03 kB / 0.6099 GB, free: 17.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 3.055e-06/0.5231, allocations: 1 kB / 0.6099 GB, free: 17.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.002049/0.5251, allocations: 1.159 MB / 0.6111 GB, free: 16.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.5252, allocations: 133.5 kB / 0.6112 GB, free: 16.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003551/0.5287, allocations: 2.44 MB / 0.6136 GB, free: 15.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.5288, allocations: 34.08 kB / 0.6136 GB, free: 15.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00109/0.5299, allocations: 1.876 MB / 0.6154 GB, free: 14.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/0.5301, allocations: 318 kB / 0.6158 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001097/0.5312, allocations: 0.7904 MB / 0.6165 GB, free: 13.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.5313, allocations: 352.4 kB / 0.6169 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/0.5328, allocations: 1.034 MB / 0.6179 GB, free: 13.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002531/0.5353, allocations: 3.694 MB / 0.6215 GB, free: 9.211 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004804/0.5401, allocations: 5.161 MB / 0.6265 GB, free: 4.375 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.011e-05/0.5402, allocations: 27 kB / 0.6265 GB, free: 4.375 MB / 446.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007672/0.5479, allocations: 4.454 MB / 0.6309 GB, free: 2.652 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.962e-05/0.548, allocations: 45.53 kB / 0.6309 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001381/0.5481, allocations: 94.78 kB / 0.631 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001576/0.5483, allocations: 124.7 kB / 0.6311 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002105/0.5504, allocations: 0.8729 MB / 0.632 GB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001565/0.5505, allocations: 183.9 kB / 0.6322 GB, free: 2.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/0.5532, allocations: 0.5749 MB / 0.6327 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003482/0.5535, allocations: 254 kB / 0.633 GB, free: 2.094 MB / 446.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.001505/0.555, allocations: 1.194 MB / 0.6341 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002999/0.5553, allocations: 193.5 kB / 0.6343 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/0.5556, allocations: 222.1 kB / 0.6345 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.985e-05/0.5557, allocations: 15.81 kB / 0.6346 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.5557, allocations: 3.969 kB / 0.6346 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.5557, allocations: 7.828 kB / 0.6346 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.559, allocations: 2.067 MB / 0.6366 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.559, allocations: 0 / 0.6366 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.5592, allocations: 62.12 kB / 0.6366 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.5592, allocations: 6.188 kB / 0.6366 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.5593, allocations: 7.75 kB / 0.6367 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.5593, allocations: 7.188 kB / 0.6367 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.5593, allocations: 2.672 kB / 0.6367 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.5604, allocations: 1.213 MB / 0.6379 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004603/0.5608, allocations: 265.7 kB / 0.6381 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.561, allocations: 7.75 kB / 0.6381 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004705/0.5615, allocations: 18.73 kB / 0.6381 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.5615, allocations: 25.28 kB / 0.6382 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/0.5616, allocations: 21.47 kB / 0.6382 GB, free: 15.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001684/0.5632, allocations: 1.494 MB / 0.6396 GB, free: 14.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5632, allocations: 3.938 kB / 0.6396 GB, free: 14.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00285/0.5661, allocations: 0.5259 MB / 0.6402 GB, free: 14.82 MB / 462.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.001926/0.568, allocations: 1.792 MB / 0.6419 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004246/0.5723, allocations: 2.273 MB / 0.6441 GB, free: 10.75 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5723, allocations: 0 / 0.6441 GB, free: 10.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005439/0.5728, allocations: 339.8 kB / 0.6444 GB, free: 10.42 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.5741, allocations: 169.1 kB / 0.6446 GB, free: 10.26 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03267/0.6068, allocations: 23.08 MB / 0.6671 GB, free: 15.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001934/0.6087, allocations: 1.867 MB / 0.669 GB, free: 13.88 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002674/0.6114, allocations: 1.252 MB / 0.6702 GB, free: 12.62 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.6124, allocations: 0.7844 MB / 0.671 GB, free: 11.84 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6124, allocations: 0 / 0.671 GB, free: 11.84 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.066/0.6784, allocations: 30.13 MB / 0.7004 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.37, allocations: 3.984 kB / 0.7004 GB, free: 13.88 MB / 0.5137 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.411804479081184] Failed to read output from testmodel.py, exit status != 0: ['time', 'visGroundAxis.n[1]', 'visGroundAxis.n[2]', 'visGroundAxis.n[3]'] 13.458333826158196 13.480397697999999 13.279511449 Calling exit ...