Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 119.3 kB / 17.74 MB, free: 5.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 186.9 kB / 20.68 MB, free: 2.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 246.4 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 47.92 kB / 357.5 MB, free: 8.793 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1069, allocations: 49.44 MB / 406.9 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01089/0.1178, allocations: 9.025 MB / 416 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005525/0.1234, allocations: 2.667 MB / 418.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.1246, allocations: 47.88 kB / 418.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003688/0.1283, allocations: 1.814 MB / 420.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003095/0.1314, allocations: 1.33 MB / 421.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.132, allocations: 215.6 kB / 422 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003342/0.1353, allocations: 2.355 MB / 424.4 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002699/0.138, allocations: 2.114 MB / 426.5 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002155/0.1402, allocations: 1.012 MB / 427.5 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004088/0.1443, allocations: 2.326 MB / 429.8 MB, free: 296 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006392/0.145, allocations: 188 kB / 430 MB, free: 108 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2107/0.3557, allocations: 498.7 kB / 430.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001397/0.3571, allocations: 1.291 MB / 431.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001739/0.3589, allocations: 1.592 MB / 433.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007303/0.3662, allocations: 4.866 MB / 438.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.3662, allocations: 2.094 kB / 438.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.3663, allocations: 3.844 kB / 438.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002463/0.3665, allocations: 0.6094 kB / 438.3 MB, free: 6.117 MB / 350.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.009594/0.3761, allocations: 3.734 MB / 442 MB, free: 4.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3762, allocations: 10.3 kB / 442 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001035/0.3772, allocations: 0.5355 MB / 442.6 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005527/0.3827, allocations: 1.676 MB / 444.2 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/0.3858, allocations: 1.589 MB / 445.8 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.3859, allocations: 159.3 kB / 446 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004445/0.3864, allocations: 195.8 kB / 446.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.3973, allocations: 6.986 MB / 453.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.878e-05/0.3974, allocations: 30.84 kB / 453.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003445/0.3977, allocations: 96.81 kB / 453.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002274/0.4, allocations: 1.556 MB / 454.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009245/0.4093, allocations: 5.492 MB / 460.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03659/0.4459, allocations: 27.19 MB / 487.5 MB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003133/0.4491, allocations: 1.633 MB / 489.1 MB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008133/0.4499, allocations: 0.5017 MB / 489.6 MB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004765/0.4547, allocations: 2.685 MB / 492.3 MB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.323e-05/0.4548, allocations: 49.45 kB / 492.4 MB, free: 2.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 4.028e-06/0.4548, allocations: 0 / 492.4 MB, free: 2.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.004306/0.4591, allocations: 1.774 MB / 494.1 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/0.4593, allocations: 220.1 kB / 494.4 MB, free: 316 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006684/0.466, allocations: 3.672 MB / 498 MB, free: 12.65 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.4662, allocations: 37.7 kB / 498.1 MB, free: 12.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002508/0.4687, allocations: 2.798 MB / 0.4891 GB, free: 9.824 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005855/0.4693, allocations: 405.6 kB / 0.4895 GB, free: 9.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001394/0.4707, allocations: 0.9646 MB / 0.4905 GB, free: 8.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4709, allocations: 309.1 kB / 0.4908 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/0.4728, allocations: 1.204 MB / 0.4919 GB, free: 6.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004779/0.4776, allocations: 4.528 MB / 0.4964 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007889/0.4855, allocations: 6.305 MB / 0.5025 GB, free: 9.289 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.625e-05/0.4856, allocations: 32 kB / 0.5025 GB, free: 9.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01053/0.4961, allocations: 5.45 MB / 0.5079 GB, free: 3.859 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.292e-05/0.4962, allocations: 58.5 kB / 0.5079 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001367/0.4964, allocations: 120 kB / 0.508 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001667/0.4966, allocations: 160.1 kB / 0.5082 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003293/0.4999, allocations: 1.084 MB / 0.5092 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002138/0.5001, allocations: 233.3 kB / 0.5095 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003725/0.5038, allocations: 0.7018 MB / 0.5102 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005797/0.5044, allocations: 320 kB / 0.5105 GB, free: 1.199 MB / 414.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.00309/0.5075, allocations: 1.712 MB / 0.5121 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006986/0.5082, allocations: 313.9 kB / 0.5124 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.5094, allocations: 499.1 kB / 0.5129 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.92e-05/0.5094, allocations: 19.98 kB / 0.5129 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.966e-05/0.5095, allocations: 4 kB / 0.5129 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.5095, allocations: 7.984 kB / 0.5129 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00666/0.5161, allocations: 3.15 MB / 0.516 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.5162, allocations: 4 kB / 0.516 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/0.5167, allocations: 103.8 kB / 0.5161 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/0.5167, allocations: 8 kB / 0.5161 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.392e-05/0.5168, allocations: 23.88 kB / 0.5161 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.5168, allocations: 7.625 kB / 0.5162 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.5168, allocations: 7.938 kB / 0.5162 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002774/0.5196, allocations: 2.228 MB / 0.5183 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009797/0.5206, allocations: 446.7 kB / 0.5188 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003896/0.521, allocations: 19.89 kB / 0.5188 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009018/0.5219, allocations: 39.53 kB / 0.5188 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.5221, allocations: 43.89 kB / 0.5189 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-05/0.5221, allocations: 31.94 kB / 0.5189 GB, free: 8.418 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004281/0.5264, allocations: 2.341 MB / 0.5212 GB, free: 6.094 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5264, allocations: 0 / 0.5212 GB, free: 6.094 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004458/0.5309, allocations: 0.8145 MB / 0.522 GB, free: 5.277 MB / 430.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.003419/0.5344, allocations: 2.859 MB / 0.5248 GB, free: 2.363 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005277/0.5397, allocations: 2.82 MB / 0.5275 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.5397, allocations: 0 / 0.5275 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000659/0.5404, allocations: 433 kB / 0.5279 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/0.543, allocations: 374.9 kB / 0.5283 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0564/0.5994, allocations: 33.29 MB / 0.5608 GB, free: 8.789 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003705/0.6032, allocations: 2.691 MB / 0.5634 GB, free: 6.07 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003655/0.6068, allocations: 1.493 MB / 0.5649 GB, free: 4.574 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002598/0.6095, allocations: 1.464 MB / 0.5663 GB, free: 3.109 MB / 478.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6095, allocations: 0 / 0.5663 GB, free: 3.109 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.104/0.7134, allocations: 47.52 MB / 0.6127 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.01/17.72, allocations: 11.98 kB / 0.6127 GB, free: 3.938 MB / 0.5137 GB " [Timeout remaining time 642] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.36894172686152] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v'] 17.822347697103396 18.016721964 17.648217294 Calling exit ...