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.001544/0.001544, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001918/0.001918, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.482/1.482, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.00226/0.00226, allocations: 64.77 kB / 378.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2737, allocations: 53.37 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01147/0.2852, allocations: 9.064 MB / 441 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006386/0.2916, allocations: 2.754 MB / 443.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/0.293, allocations: 59.75 kB / 443.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003958/0.297, allocations: 1.869 MB / 445.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003978/0.3009, allocations: 1.366 MB / 447 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008078/0.3017, allocations: 219.6 kB / 447.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003785/0.3055, allocations: 2.334 MB / 449.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00263/0.3082, allocations: 1.742 MB / 451.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/0.3103, allocations: 1.016 MB / 452.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004192/0.3145, allocations: 2.583 MB / 454.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006696/0.3151, allocations: 192 kB / 455.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.3164, allocations: 0.5188 MB / 455.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00154/0.3179, allocations: 1.336 MB / 457 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002155/0.3201, allocations: 1.575 MB / 458.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006718/0.3268, allocations: 4.857 MB / 463.4 MB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3268, allocations: 0 / 463.4 MB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3268, allocations: 0 / 463.4 MB, free: 7.246 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001523/0.327, allocations: 0 / 463.4 MB, free: 7.246 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.007731/0.3347, allocations: 3.642 MB / 467.1 MB, free: 3.551 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.3348, allocations: 8.031 kB / 467.1 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009953/0.3358, allocations: 0.5462 MB / 467.6 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006161/0.3419, allocations: 1.714 MB / 469.3 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003749/0.3457, allocations: 1.525 MB / 470.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.3458, allocations: 147.8 kB / 471 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006465/0.3465, allocations: 199.9 kB / 471.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01177/0.3582, allocations: 6.979 MB / 478.2 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.716e-05/0.3583, allocations: 31.7 kB / 478.2 MB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003453/0.3586, allocations: 103.9 kB / 478.3 MB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002336/0.361, allocations: 1.562 MB / 479.9 MB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/0.3715, allocations: 5.489 MB / 485.3 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03785/0.4093, allocations: 27.08 MB / 0.5004 GB, free: 4.652 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003093/0.4124, allocations: 1.127 MB / 0.5015 GB, free: 3.461 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008762/0.4133, allocations: 462 kB / 0.502 GB, free: 2.988 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004711/0.418, allocations: 2.23 MB / 0.5041 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.418, allocations: 50.48 kB / 0.5042 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 4.078e-06/0.418, allocations: 4 kB / 0.5042 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004714/0.4228, allocations: 1.771 MB / 0.5059 GB, free: 14.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/0.4229, allocations: 217.8 kB / 0.5061 GB, free: 14.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007192/0.4301, allocations: 3.67 MB / 0.5097 GB, free: 10.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000164/0.4303, allocations: 37.69 kB / 0.5097 GB, free: 10.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002928/0.4332, allocations: 2.792 MB / 0.5125 GB, free: 8.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006931/0.4339, allocations: 409.1 kB / 0.5129 GB, free: 7.688 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001961/0.4358, allocations: 0.9646 MB / 0.5138 GB, free: 6.711 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.436, allocations: 301.1 kB / 0.5141 GB, free: 6.414 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/0.4382, allocations: 1.208 MB / 0.5153 GB, free: 5.199 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005258/0.4434, allocations: 4.526 MB / 0.5197 GB, free: 14.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008033/0.4515, allocations: 6.3 MB / 0.5258 GB, free: 7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000142/0.4516, allocations: 32 kB / 0.5259 GB, free: 6.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01146/0.4631, allocations: 5.453 MB / 0.5312 GB, free: 1.516 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.4632, allocations: 59.98 kB / 0.5313 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002033/0.4634, allocations: 120 kB / 0.5314 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002137/0.4636, allocations: 156 kB / 0.5315 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003772/0.4674, allocations: 1.084 MB / 0.5326 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000313/0.4677, allocations: 235.2 kB / 0.5328 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003953/0.4717, allocations: 0.6902 MB / 0.5335 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007689/0.4724, allocations: 316 kB / 0.5338 GB, free: 14.86 MB / 462.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.003361/0.4758, allocations: 1.723 MB / 0.5355 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007351/0.4765, allocations: 317.8 kB / 0.5358 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.4779, allocations: 489.7 kB / 0.5362 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-05/0.478, allocations: 20 kB / 0.5363 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/0.478, allocations: 8 kB / 0.5363 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.478, allocations: 3.984 kB / 0.5363 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00845/0.4865, allocations: 3.13 MB / 0.5393 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/0.4865, allocations: 8.281 kB / 0.5393 GB, free: 9.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005936/0.4871, allocations: 103.8 kB / 0.5394 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.778e-05/0.4871, allocations: 15.88 kB / 0.5394 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.722e-05/0.4872, allocations: 16 kB / 0.5395 GB, free: 8.957 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.31e-05/0.4872, allocations: 11.94 kB / 0.5395 GB, free: 8.945 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.4872, allocations: 4 kB / 0.5395 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00309/0.4903, allocations: 2.219 MB / 0.5416 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.4914, allocations: 369.6 kB / 0.542 GB, free: 6.305 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005925/0.492, allocations: 23.88 kB / 0.542 GB, free: 6.281 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.4932, allocations: 31.97 kB / 0.542 GB, free: 6.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.4933, allocations: 55.86 kB / 0.5421 GB, free: 6.195 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.517e-05/0.4934, allocations: 35.97 kB / 0.5421 GB, free: 6.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005094/0.4985, allocations: 2.329 MB / 0.5444 GB, free: 3.848 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4985, allocations: 4 kB / 0.5444 GB, free: 3.844 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004806/0.5033, allocations: 0.795 MB / 0.5452 GB, free: 3.047 MB / 462.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.004077/0.5074, allocations: 2.855 MB / 0.548 GB, free: 136 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2204/0.7278, allocations: 2.7 MB / 0.5506 GB, free: 116.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/0.7278, allocations: 5.281 kB / 0.5506 GB, free: 116.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006088/0.7284, allocations: 400.1 kB / 0.551 GB, free: 116.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/0.7307, allocations: 385.1 kB / 0.5514 GB, free: 116.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03618/0.7669, allocations: 33.25 MB / 0.5838 GB, free: 85.24 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002469/0.7694, allocations: 2.683 MB / 0.5865 GB, free: 82.53 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002669/0.772, allocations: 1.494 MB / 0.5879 GB, free: 81.03 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/0.7734, allocations: 1.468 MB / 0.5894 GB, free: 79.56 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.7734, allocations: 0 / 0.5894 GB, free: 79.56 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08827/0.8617, allocations: 51.5 MB / 0.6396 GB, free: 28.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.35/18.22, allocations: 3.984 kB / 0.6397 GB, free: 28.4 MB / 462.1 MB " [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.753607518039644] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v'] 18.329023508820683 18.34747374 18.016532897 Calling exit ...