Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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.001837/0.001837, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.002291/0.002291, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.578/1.578, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2565/0.2565, allocations: 46.89 MB / 357.4 MB, free: 10.5 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.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",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.002305/0.002305, allocations: 79.86 kB / 0.4912 GB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1585, allocations: 65.98 MB / 0.5556 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.007904/0.1664, allocations: 5.736 MB / 0.5612 GB, free: 0.668 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004308/0.1707, allocations: 1.854 MB / 0.5631 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008141/0.1715, allocations: 19.94 kB / 0.5631 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.173, allocations: 0.5369 MB / 0.5636 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00213/0.1751, allocations: 0.6808 MB / 0.5643 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.1753, allocations: 19.98 kB / 0.5643 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002168/0.1775, allocations: 1.429 MB / 0.5657 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.1785, allocations: 0.6329 MB / 0.5663 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008158/0.1793, allocations: 490 kB / 0.5668 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.1805, allocations: 0.7472 MB / 0.5675 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003438/0.1808, allocations: 88 kB / 0.5676 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009264/0.1818, allocations: 331.4 kB / 0.5679 GB, free: 9.828 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009383/0.1827, allocations: 0.6697 MB / 0.5685 GB, free: 9.156 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.1839, allocations: 0.8225 MB / 0.5693 GB, free: 8.328 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004334/0.1882, allocations: 2.66 MB / 0.5719 GB, free: 5.656 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1882, allocations: 4 kB / 0.5719 GB, free: 5.652 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1882, allocations: 0 / 0.5719 GB, free: 5.652 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.187e-05/0.1883, allocations: 0 / 0.5719 GB, free: 5.652 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: 706 * Number of variables: 706 Notification: Performance of Generate backend data structure: time 0.003798/0.1921, allocations: 2.003 MB / 0.5739 GB, free: 3.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.1921, allocations: 16.02 kB / 0.5739 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004538/0.1926, allocations: 344.1 kB / 0.5742 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004828/0.1974, allocations: 1.481 MB / 0.5757 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/0.1997, allocations: 0.8593 MB / 0.5765 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.512e-05/0.1998, allocations: 82.03 kB / 0.5766 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002999/0.2001, allocations: 103.9 kB / 0.5767 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00719/0.2072, allocations: 4.626 MB / 0.5812 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.919e-05/0.2073, allocations: 19.81 kB / 0.5812 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.2075, allocations: 51.91 kB / 0.5813 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001811/0.2093, allocations: 1.103 MB / 0.5824 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007536/0.2168, allocations: 4.008 MB / 0.5863 GB, free: 6.449 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2873/0.5041, allocations: 18.43 MB / 0.6043 GB, free: 20.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.5055, allocations: 1.14 MB / 0.6054 GB, free: 19.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004352/0.5059, allocations: 311.4 kB / 0.6057 GB, free: 19.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.5059, allocations: 4.031 kB / 0.6057 GB, free: 19.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.5059, allocations: 43.84 kB / 0.6057 GB, free: 19.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 3.336e-06/0.506, allocations: 0 / 0.6057 GB, free: 19.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001672/0.5076, allocations: 1.042 MB / 0.6068 GB, free: 19.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.5077, allocations: 116.6 kB / 0.6069 GB, free: 19.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00357/0.5112, allocations: 2.197 MB / 0.609 GB, free: 18.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.694e-05/0.5113, allocations: 32.3 kB / 0.6091 GB, free: 18.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000997/0.5123, allocations: 1.688 MB / 0.6107 GB, free: 17.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.5126, allocations: 280.9 kB / 0.611 GB, free: 17.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008104/0.5134, allocations: 0.6796 MB / 0.6116 GB, free: 16.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5135, allocations: 354.4 kB / 0.612 GB, free: 16.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.5148, allocations: 0.8977 MB / 0.6128 GB, free: 16.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002434/0.5173, allocations: 3.169 MB / 0.6159 GB, free: 12.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003998/0.5213, allocations: 4.442 MB / 0.6203 GB, free: 8.648 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.315e-05/0.5214, allocations: 27.97 kB / 0.6203 GB, free: 8.645 MB / 446.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.006805/0.5282, allocations: 3.847 MB / 0.6241 GB, free: 7.148 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.815e-05/0.5282, allocations: 40.78 kB / 0.6241 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/0.5284, allocations: 80.38 kB / 0.6242 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001414/0.5285, allocations: 110.6 kB / 0.6243 GB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/0.5307, allocations: 0.7558 MB / 0.625 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001534/0.5309, allocations: 158.7 kB / 0.6252 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/0.5335, allocations: 0.5028 MB / 0.6257 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004716/0.534, allocations: 212.6 kB / 0.6259 GB, free: 6.664 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 371 * Number of states: 0 () * Number of discrete variables: 12 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 407 * Array equations: 3 * 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.001827/0.5358, allocations: 1.095 MB / 0.6269 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003186/0.5361, allocations: 172.8 kB / 0.6271 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003184/0.5364, allocations: 202.8 kB / 0.6273 GB, free: 5.926 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.582e-05/0.5364, allocations: 7.969 kB / 0.6273 GB, free: 5.926 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.5365, allocations: 5.125 kB / 0.6273 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.5365, allocations: 2.984 kB / 0.6273 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003575/0.54, allocations: 2.014 MB / 0.6293 GB, free: 5.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.54, allocations: 1.375 kB / 0.6293 GB, free: 5.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/0.5403, allocations: 61.64 kB / 0.6293 GB, free: 5.066 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.5403, allocations: 2.75 kB / 0.6293 GB, free: 5.066 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.5404, allocations: 12.12 kB / 0.6293 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.5404, allocations: 1.375 kB / 0.6293 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5404, allocations: 1.375 kB / 0.6294 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.5414, allocations: 1.055 MB / 0.6304 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003836/0.5418, allocations: 238.9 kB / 0.6306 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.542, allocations: 10.55 kB / 0.6306 GB, free: 4.258 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004771/0.5424, allocations: 26.62 kB / 0.6306 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.5425, allocations: 18.55 kB / 0.6307 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.5425, allocations: 25.58 kB / 0.6307 GB, free: 4.246 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001576/0.5441, allocations: 1.367 MB / 0.632 GB, free: 3.742 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5441, allocations: 0 / 0.632 GB, free: 3.742 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002615/0.5467, allocations: 0.4939 MB / 0.6325 GB, free: 3.617 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (36): * Single equations (assignments): 33 * Array equations: 3 * 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.001176/0.5479, allocations: 1.642 MB / 0.6341 GB, free: 2.508 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002781/0.5507, allocations: 1.969 MB / 0.636 GB, free: 1.863 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.5507, allocations: 3.938 kB / 0.636 GB, free: 1.859 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003019/0.551, allocations: 312.4 kB / 0.6363 GB, free: 1.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.5521, allocations: 171.2 kB / 0.6365 GB, free: 1.676 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03094/0.583, allocations: 20.39 MB / 0.6564 GB, free: 10.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002302/0.5853, allocations: 1.796 MB / 0.6582 GB, free: 9.129 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002574/0.5879, allocations: 1.11 MB / 0.6592 GB, free: 8.016 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/0.5892, allocations: 0.7297 MB / 0.66 GB, free: 7.285 MB / 478.1 MB Notification: Performance of SimCode: time 1.303e-06/0.5892, allocations: 0 / 0.66 GB, free: 7.285 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3399/0.9292, allocations: 29.15 MB / 0.6884 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.93, allocations: 10.28 kB / 0.6884 GB, free: 10.29 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.258983477018774] Failed to read output from testmodel.py, exit status != 0: ['time', 'voluminousWheel.n_rTire', 'voluminousWheel.n_rCurvature', 'voluminousWheel.rw', 'voluminousWheel.rCurvature2', 'voluminousWheel.kw', 'voluminousWheel.h', 'voluminousWheel.ri', 'voluminousWheel.rRim2'] 14.03025154909119 14.054641626 13.86186874 Calling exit ...