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.001309/0.001309, allocations: 109.1 kB / 20.22 MB, free: 1.812 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.001588/0.001588, allocations: 220.3 kB / 23.48 MB, free: 5.254 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.432/1.432, allocations: 230.2 MB / 256.8 MB, free: 8.559 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.2238/0.2238, allocations: 46.88 MB / 360 MB, free: 4.711 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.002272/0.002272, allocations: 83.86 kB / 0.4951 GB, free: 8.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3401, allocations: 65.99 MB / 0.5595 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.00713/0.3473, allocations: 5.429 MB / 0.5648 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003472/0.3507, allocations: 1.822 MB / 0.5666 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003705/0.3511, allocations: 23.94 kB / 0.5666 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.3523, allocations: 0.5524 MB / 0.5671 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001861/0.3542, allocations: 0.9224 MB / 0.568 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.151e-05/0.3543, allocations: 15.92 kB / 0.5681 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001955/0.3563, allocations: 1.519 MB / 0.5695 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008652/0.3571, allocations: 0.6278 MB / 0.5702 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006408/0.3578, allocations: 0.5213 MB / 0.5707 GB, free: 9.508 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002223/0.36, allocations: 1.703 MB / 0.5723 GB, free: 7.801 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001969/0.3602, allocations: 88 kB / 0.5724 GB, free: 7.715 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006314/0.3608, allocations: 335.5 kB / 0.5727 GB, free: 7.387 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006489/0.3615, allocations: 0.7125 MB / 0.5734 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007513/0.3622, allocations: 0.8729 MB / 0.5743 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002877/0.3651, allocations: 2.808 MB / 0.577 GB, free: 2.973 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3651, allocations: 4 kB / 0.577 GB, free: 2.969 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3651, allocations: 0 / 0.577 GB, free: 2.969 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.633e-05/0.3651, allocations: 0 / 0.577 GB, free: 2.969 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.002826/0.3679, allocations: 2.101 MB / 0.5791 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.368, allocations: 12.02 kB / 0.5791 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004111/0.3684, allocations: 373.9 kB / 0.5794 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00493/0.3733, allocations: 1.509 MB / 0.5809 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.3747, allocations: 0.8569 MB / 0.5818 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.3748, allocations: 94.22 kB / 0.5818 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/0.375, allocations: 107.9 kB / 0.5819 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006315/0.3813, allocations: 4.984 MB / 0.5868 GB, free: 8.352 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.728e-05/0.3814, allocations: 19.81 kB / 0.5868 GB, free: 8.332 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.3815, allocations: 59.91 kB / 0.5869 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0019/0.3834, allocations: 1.182 MB / 0.588 GB, free: 7.086 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006698/0.3901, allocations: 4.258 MB / 0.5922 GB, free: 2.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02156/0.4117, allocations: 20.55 MB / 0.6123 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.4132, allocations: 1.173 MB / 0.6134 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004834/0.4137, allocations: 367 kB / 0.6138 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.4137, allocations: 4 kB / 0.6138 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.4137, allocations: 34.56 kB / 0.6138 GB, free: 11.79 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 2.194e-06/0.4137, allocations: 0 / 0.6138 GB, free: 11.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001761/0.4155, allocations: 1.156 MB / 0.6149 GB, free: 10.63 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.612e-05/0.4156, allocations: 140.5 kB / 0.6151 GB, free: 10.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003166/0.4187, allocations: 2.433 MB / 0.6174 GB, free: 7.996 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.154e-05/0.4188, allocations: 37.69 kB / 0.6175 GB, free: 7.953 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001516/0.4203, allocations: 1.866 MB / 0.6193 GB, free: 6.066 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/0.4206, allocations: 313.8 kB / 0.6196 GB, free: 5.758 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009159/0.4215, allocations: 0.794 MB / 0.6204 GB, free: 4.957 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.4217, allocations: 349.9 kB / 0.6207 GB, free: 4.609 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.4231, allocations: 1.034 MB / 0.6217 GB, free: 3.574 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003786/0.4269, allocations: 3.695 MB / 0.6253 GB, free: 14.55 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006143/0.4331, allocations: 5.158 MB / 0.6304 GB, free: 8.055 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.533e-05/0.4331, allocations: 28 kB / 0.6304 GB, free: 8.027 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007355/0.4405, allocations: 4.462 MB / 0.6347 GB, free: 3.562 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.759e-05/0.4406, allocations: 47.98 kB / 0.6348 GB, free: 3.516 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001235/0.4407, allocations: 96 kB / 0.6349 GB, free: 3.422 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001254/0.4408, allocations: 124 kB / 0.635 GB, free: 3.301 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002203/0.443, allocations: 0.8695 MB / 0.6359 GB, free: 2.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001597/0.4432, allocations: 187.2 kB / 0.636 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/0.4456, allocations: 0.5664 MB / 0.6366 GB, free: 1.676 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003323/0.446, allocations: 252 kB / 0.6368 GB, free: 1.43 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.001673/0.4476, allocations: 1.2 MB / 0.638 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003638/0.448, allocations: 198.6 kB / 0.6382 GB, free: 24 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003775/0.4484, allocations: 217.7 kB / 0.6384 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.432e-05/0.4484, allocations: 23.98 kB / 0.6384 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.4484, allocations: 0 / 0.6384 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4484, allocations: 0 / 0.6384 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003347/0.4518, allocations: 2.069 MB / 0.6404 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.4518, allocations: 0 / 0.6404 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.4521, allocations: 67.89 kB / 0.6405 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.4521, allocations: 0 / 0.6405 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.4521, allocations: 12 kB / 0.6405 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4521, allocations: 0 / 0.6405 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.22e-05/0.4521, allocations: 7.938 kB / 0.6405 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.4535, allocations: 1.199 MB / 0.6417 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003631/0.4538, allocations: 255.7 kB / 0.6419 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.454, allocations: 11.98 kB / 0.6419 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004591/0.4544, allocations: 19.97 kB / 0.642 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.4545, allocations: 23.91 kB / 0.642 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.4546, allocations: 23.94 kB / 0.642 GB, free: 12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002042/0.4566, allocations: 1.494 MB / 0.6435 GB, free: 10.49 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4566, allocations: 4 kB / 0.6435 GB, free: 10.49 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002601/0.4592, allocations: 0.5264 MB / 0.644 GB, free: 9.961 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.002114/0.4613, allocations: 1.789 MB / 0.6457 GB, free: 8.137 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003727/0.465, allocations: 2.271 MB / 0.648 GB, free: 5.891 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.465, allocations: 0 / 0.648 GB, free: 5.891 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004436/0.4655, allocations: 336.1 kB / 0.6483 GB, free: 5.562 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.4666, allocations: 174.7 kB / 0.6484 GB, free: 5.391 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03074/0.4974, allocations: 23.1 MB / 0.671 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001999/0.4994, allocations: 1.861 MB / 0.6728 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002523/0.5019, allocations: 1.251 MB / 0.674 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009768/0.5029, allocations: 0.7844 MB / 0.6748 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of SimCode: time 1.553e-06/0.5029, allocations: 3.938 kB / 0.6748 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0678/0.5707, allocations: 30.27 MB / 0.7044 GB, free: 8.773 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.53, allocations: 11.62 kB / 0.7044 GB, free: 8.766 MB / 0.545 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.455887364107184] Failed to read output from testmodel.py, exit status != 0: ['time', 'visGroundAxis.n[1]', 'visGroundAxis.n[2]', 'visGroundAxis.n[3]'] 13.619223747053184 13.643782089 13.275267331 Calling exit ...