Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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.00193/0.00193, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.002303/0.002303, allocations: 206.6 kB / 21.45 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.501/1.501, allocations: 230.5 MB / 254.8 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.002023/0.002023, allocations: 75.81 kB / 373.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1217, allocations: 53.31 MB / 427 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01155/0.1332, allocations: 9.057 MB / 436.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006392/0.1396, allocations: 2.729 MB / 438.8 MB, free: 8.996 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.1414, allocations: 55.75 kB / 438.9 MB, free: 8.941 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004602/0.1461, allocations: 1.861 MB / 440.7 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00449/0.1505, allocations: 1.346 MB / 442.1 MB, free: 5.723 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007994/0.1513, allocations: 215.6 kB / 442.3 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004018/0.1554, allocations: 2.339 MB / 444.6 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002586/0.1579, allocations: 1.778 MB / 446.4 MB, free: 1.332 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/0.1598, allocations: 1.016 MB / 447.4 MB, free: 320 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2491/0.409, allocations: 2.559 MB / 450 MB, free: 9.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009223/0.4099, allocations: 189.8 kB / 450.2 MB, free: 9.219 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.4113, allocations: 0.5173 MB / 450.7 MB, free: 9.219 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00153/0.4128, allocations: 1.335 MB / 452 MB, free: 9.141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001846/0.4147, allocations: 1.575 MB / 453.6 MB, free: 8.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00703/0.4217, allocations: 4.856 MB / 458.4 MB, free: 7.613 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.4217, allocations: 2.719 kB / 458.4 MB, free: 7.613 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.4217, allocations: 1.578 kB / 458.4 MB, free: 7.613 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000175/0.4219, allocations: 0 / 458.4 MB, free: 7.613 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1143 * Number of variables: 1143 Notification: Performance of Generate backend data structure: time 0.008778/0.4306, allocations: 3.718 MB / 462.2 MB, free: 5.828 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4307, allocations: 10.95 kB / 462.2 MB, free: 5.828 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001085/0.4318, allocations: 0.5367 MB / 462.7 MB, free: 5.762 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006453/0.4382, allocations: 1.724 MB / 464.4 MB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003524/0.4418, allocations: 1.587 MB / 466 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.4419, allocations: 158.2 kB / 466.2 MB, free: 4.945 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004715/0.4423, allocations: 196.7 kB / 466.4 MB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/0.4538, allocations: 6.98 MB / 473.3 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.5e-05/0.4538, allocations: 29.08 kB / 473.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003117/0.4541, allocations: 101.2 kB / 473.5 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002282/0.4564, allocations: 1.567 MB / 475 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01032/0.4667, allocations: 5.484 MB / 480.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03783/0.5046, allocations: 27.18 MB / 0.4958 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00315/0.5077, allocations: 1.589 MB / 0.4974 GB, free: 4.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00077/0.5085, allocations: 472.5 kB / 0.4978 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004976/0.5135, allocations: 2.692 MB / 0.5004 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/0.5135, allocations: 50.03 kB / 0.5005 GB, free: 1.629 MB / 398.1 MB Notification: Performance of pre-optimization done (n=89): time 2.906e-06/0.5135, allocations: 3.938 kB / 0.5005 GB, free: 1.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.00454/0.5181, allocations: 1.77 MB / 0.5022 GB, free: 15.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/0.5182, allocations: 221.4 kB / 0.5024 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006874/0.5251, allocations: 3.678 MB / 0.506 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.5252, allocations: 33.7 kB / 0.506 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002628/0.5279, allocations: 2.784 MB / 0.5088 GB, free: 9.133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006574/0.5285, allocations: 411.1 kB / 0.5092 GB, free: 8.738 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001551/0.5301, allocations: 0.9646 MB / 0.5101 GB, free: 7.762 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5302, allocations: 301.1 kB / 0.5104 GB, free: 7.465 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00209/0.5323, allocations: 1.208 MB / 0.5116 GB, free: 6.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005066/0.5374, allocations: 4.523 MB / 0.516 GB, free: 88 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008356/0.5457, allocations: 6.303 MB / 0.5221 GB, free: 8.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001108/0.5458, allocations: 32.56 kB / 0.5222 GB, free: 8.559 MB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01191/0.5577, allocations: 5.459 MB / 0.5275 GB, free: 3.105 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.029e-05/0.5578, allocations: 56 kB / 0.5276 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001571/0.558, allocations: 120 kB / 0.5277 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001751/0.5582, allocations: 156 kB / 0.5278 GB, free: 2.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003461/0.5616, allocations: 1.085 MB / 0.5289 GB, free: 1.695 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002051/0.5618, allocations: 231.7 kB / 0.5291 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00414/0.566, allocations: 0.7018 MB / 0.5298 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006294/0.5666, allocations: 316 kB / 0.5301 GB, free: 464 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (589): * Single equations (assignments): 585 * 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.003419/0.57, allocations: 1.714 MB / 0.5318 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007369/0.5708, allocations: 321.8 kB / 0.5321 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.5719, allocations: 491.9 kB / 0.5325 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.258e-05/0.5719, allocations: 24 kB / 0.5326 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.5719, allocations: 3.984 kB / 0.5326 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.5719, allocations: 4 kB / 0.5326 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006585/0.5785, allocations: 3.15 MB / 0.5356 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.5785, allocations: 4 kB / 0.5356 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005157/0.5791, allocations: 112.1 kB / 0.5358 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.5791, allocations: 8 kB / 0.5358 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.633e-05/0.5791, allocations: 19.98 kB / 0.5358 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.747e-06/0.5791, allocations: 7.938 kB / 0.5358 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.5791, allocations: 5.875 kB / 0.5358 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002839/0.582, allocations: 2.229 MB / 0.538 GB, free: 8.258 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.583, allocations: 446.7 kB / 0.5384 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002892/0.5833, allocations: 23.94 kB / 0.5384 GB, free: 7.777 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009061/0.5842, allocations: 27.91 kB / 0.5384 GB, free: 7.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.5843, allocations: 54.3 kB / 0.5385 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.417e-05/0.5844, allocations: 31.98 kB / 0.5385 GB, free: 7.668 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004766/0.5891, allocations: 2.336 MB / 0.5408 GB, free: 5.348 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5891, allocations: 0 / 0.5408 GB, free: 5.348 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004777/0.5939, allocations: 0.8016 MB / 0.5416 GB, free: 4.547 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (prismatic.v,position.s) * 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 (58): * Single equations (assignments): 54 * 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.003526/0.5974, allocations: 2.852 MB / 0.5444 GB, free: 1.641 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005272/0.6027, allocations: 2.705 MB / 0.547 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.6027, allocations: 4 kB / 0.547 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007004/0.6034, allocations: 415.7 kB / 0.5474 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/0.606, allocations: 383.9 kB / 0.5478 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06234/0.6684, allocations: 33.24 MB / 0.5802 GB, free: 8.234 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003432/0.6718, allocations: 2.685 MB / 0.5829 GB, free: 5.527 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003485/0.6753, allocations: 1.486 MB / 0.5843 GB, free: 4.035 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002291/0.6776, allocations: 1.472 MB / 0.5858 GB, free: 2.562 MB / 494.1 MB Notification: Performance of SimCode: time 1.343e-06/0.6776, allocations: 0 / 0.5858 GB, free: 2.562 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1064/0.784, allocations: 47.77 MB / 0.6324 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.66/17.44, allocations: 16.05 kB / 0.6324 GB, free: 3.172 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.28184114396572] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v'] 17.5495099038817 17.77617588 17.351626308 Calling exit ...