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.001583/0.001583, allocations: 108.2 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.001553/0.001553, allocations: 221.5 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.434/1.434, allocations: 230.2 MB / 256.8 MB, free: 8.582 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.2435/0.2435, allocations: 46.89 MB / 360 MB, free: 4.703 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.002234/0.002234, allocations: 79.84 kB / 0.4951 GB, free: 8.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3623, allocations: 65.99 MB / 0.5595 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007073/0.3694, allocations: 5.428 MB / 0.5648 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003509/0.3729, allocations: 1.83 MB / 0.5666 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006075/0.3735, allocations: 20 kB / 0.5666 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.3749, allocations: 0.5524 MB / 0.5671 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.3771, allocations: 0.9185 MB / 0.568 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001251/0.3773, allocations: 11.98 kB / 0.5681 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002121/0.3794, allocations: 1.522 MB / 0.5695 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008946/0.3803, allocations: 0.6278 MB / 0.5702 GB, free: 10 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007166/0.381, allocations: 0.5291 MB / 0.5707 GB, free: 9.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002315/0.3833, allocations: 1.695 MB / 0.5723 GB, free: 7.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003508/0.3837, allocations: 92 kB / 0.5724 GB, free: 7.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008676/0.3845, allocations: 335.4 kB / 0.5727 GB, free: 7.352 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008752/0.3854, allocations: 0.7164 MB / 0.5734 GB, free: 6.633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000977/0.3864, allocations: 0.8729 MB / 0.5743 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003239/0.3896, allocations: 2.808 MB / 0.577 GB, free: 2.934 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3896, allocations: 0 / 0.577 GB, free: 2.934 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3896, allocations: 0 / 0.577 GB, free: 2.934 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.305e-05/0.3897, allocations: 0 / 0.577 GB, free: 2.934 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.003278/0.393, allocations: 2.101 MB / 0.5791 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.393, allocations: 12.03 kB / 0.5791 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005369/0.3935, allocations: 377.8 kB / 0.5795 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005024/0.3986, allocations: 1.509 MB / 0.5809 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.4005, allocations: 0.853 MB / 0.5818 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-05/0.4006, allocations: 90.22 kB / 0.5818 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002743/0.4009, allocations: 115.9 kB / 0.582 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007816/0.4087, allocations: 4.968 MB / 0.5868 GB, free: 8.328 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.853e-05/0.4087, allocations: 27.75 kB / 0.5868 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/0.4089, allocations: 59.91 kB / 0.5869 GB, free: 8.242 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002054/0.411, allocations: 1.182 MB / 0.588 GB, free: 7.055 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007758/0.4187, allocations: 4.258 MB / 0.5922 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02472/0.4435, allocations: 20.55 MB / 0.6123 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.445, allocations: 1.181 MB / 0.6134 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005157/0.4456, allocations: 347.2 kB / 0.6138 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.4456, allocations: 8 kB / 0.6138 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.4456, allocations: 42.5 kB / 0.6138 GB, free: 11.76 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.306e-06/0.4456, allocations: 0 / 0.6138 GB, free: 11.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001847/0.4475, allocations: 1.154 MB / 0.6149 GB, free: 10.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.016e-05/0.4476, allocations: 136.5 kB / 0.6151 GB, free: 10.43 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003244/0.4508, allocations: 2.437 MB / 0.6174 GB, free: 7.961 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.4509, allocations: 29.7 kB / 0.6175 GB, free: 7.926 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001392/0.4523, allocations: 1.874 MB / 0.6193 GB, free: 6.031 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002877/0.4525, allocations: 313.8 kB / 0.6196 GB, free: 5.723 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00094/0.4535, allocations: 0.794 MB / 0.6204 GB, free: 4.922 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002669/0.4537, allocations: 349.9 kB / 0.6207 GB, free: 4.574 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.4552, allocations: 1.034 MB / 0.6217 GB, free: 3.539 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004361/0.4596, allocations: 3.687 MB / 0.6253 GB, free: 14.52 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007069/0.4666, allocations: 5.169 MB / 0.6304 GB, free: 8.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-05/0.4667, allocations: 24 kB / 0.6304 GB, free: 7.996 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007843/0.4746, allocations: 4.463 MB / 0.6348 GB, free: 3.527 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.4747, allocations: 44 kB / 0.6348 GB, free: 3.484 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/0.4748, allocations: 96 kB / 0.6349 GB, free: 3.391 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001479/0.4749, allocations: 124 kB / 0.635 GB, free: 3.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002363/0.4773, allocations: 0.8694 MB / 0.6359 GB, free: 2.398 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001594/0.4775, allocations: 187.8 kB / 0.636 GB, free: 2.215 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002469/0.4799, allocations: 0.5661 MB / 0.6366 GB, free: 1.645 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004156/0.4803, allocations: 252.2 kB / 0.6368 GB, free: 1.398 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.001704/0.482, allocations: 1.2 MB / 0.638 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003559/0.4824, allocations: 202.8 kB / 0.6382 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003444/0.4827, allocations: 217.7 kB / 0.6384 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.951e-05/0.4828, allocations: 15.94 kB / 0.6384 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.4828, allocations: 4 kB / 0.6384 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.4828, allocations: 3.984 kB / 0.6384 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003751/0.4866, allocations: 2.061 MB / 0.6404 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.4866, allocations: 8 kB / 0.6404 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.4869, allocations: 63.91 kB / 0.6405 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.4869, allocations: 4 kB / 0.6405 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/0.4869, allocations: 15.97 kB / 0.6405 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.443e-06/0.4869, allocations: 4 kB / 0.6405 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/0.4869, allocations: 3.938 kB / 0.6405 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.4884, allocations: 1.201 MB / 0.6417 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004601/0.4889, allocations: 251.6 kB / 0.6419 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.489, allocations: 8 kB / 0.6419 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004764/0.4895, allocations: 23.97 kB / 0.642 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.4896, allocations: 23.91 kB / 0.642 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.899e-05/0.4896, allocations: 27.98 kB / 0.642 GB, free: 11.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00231/0.4919, allocations: 1.486 MB / 0.6435 GB, free: 10.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4919, allocations: 0 / 0.6435 GB, free: 10.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002904/0.4948, allocations: 0.5303 MB / 0.644 GB, free: 9.93 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.002067/0.4969, allocations: 1.797 MB / 0.6457 GB, free: 8.098 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004123/0.501, allocations: 2.276 MB / 0.648 GB, free: 5.844 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.501, allocations: 0 / 0.648 GB, free: 5.844 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004443/0.5015, allocations: 331.2 kB / 0.6483 GB, free: 5.523 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.5026, allocations: 167.8 kB / 0.6484 GB, free: 5.355 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03158/0.5342, allocations: 23.09 MB / 0.671 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001836/0.536, allocations: 1.865 MB / 0.6728 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002539/0.5385, allocations: 1.251 MB / 0.674 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/0.5396, allocations: 0.7844 MB / 0.6748 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of SimCode: time 1.253e-06/0.5396, allocations: 7.938 kB / 0.6748 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06498/0.6046, allocations: 30.26 MB / 0.7044 GB, free: 8.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.13, allocations: 22.44 kB / 0.7044 GB, free: 8.715 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: 15.914162005065009] Failed to read output from testmodel.py, exit status != 0: ['time', 'visGroundAxis.n[1]', 'visGroundAxis.n[2]', 'visGroundAxis.n[3]'] 13.223532581003383 13.245661518 12.851756191 Calling exit ...