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.InitSpringConstant.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: 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.002352/0.002352, 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.525/1.525, allocations: 230.5 MB / 254.8 MB, free: 15.29 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.InitSpringConstant,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",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.002073/0.002073, allocations: 75.81 kB / 373.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1069, allocations: 53.33 MB / 427 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01277/0.1197, allocations: 10.24 MB / 437.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008378/0.1281, allocations: 3.829 MB / 441.1 MB, free: 6.691 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.1296, allocations: 67.69 kB / 441.1 MB, free: 6.625 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00415/0.1337, allocations: 1.962 MB / 443.1 MB, free: 4.656 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004499/0.1382, allocations: 1.677 MB / 444.8 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.1399, allocations: 0.6082 MB / 445.4 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2603/0.4001, allocations: 3.356 MB / 448.8 MB, free: 8.441 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003186/0.4033, allocations: 2.186 MB / 450.9 MB, free: 8.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002671/0.406, allocations: 1.262 MB / 452.2 MB, free: 8.188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003578/0.4096, allocations: 1.806 MB / 454 MB, free: 7.984 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001198/0.4108, allocations: 254.2 kB / 454.3 MB, free: 7.984 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.4138, allocations: 1.047 MB / 455.3 MB, free: 7.984 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002882/0.4167, allocations: 1.594 MB / 456.9 MB, free: 7.785 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003668/0.4204, allocations: 1.819 MB / 458.7 MB, free: 7.117 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.4304, allocations: 5.814 MB / 464.5 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4304, allocations: 0 / 464.5 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4304, allocations: 0 / 464.5 MB, free: 5.395 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002481/0.4307, allocations: 0 / 464.5 MB, free: 5.395 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01175/0.4424, allocations: 4.12 MB / 468.6 MB, free: 3.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.4425, allocations: 9.906 kB / 468.7 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001768/0.4442, allocations: 0.6041 MB / 469.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007588/0.4518, allocations: 1.801 MB / 471.1 MB, free: 2.453 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006135/0.458, allocations: 2.171 MB / 473.2 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002711/0.4582, allocations: 192.3 kB / 473.4 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001539/0.4598, allocations: 249.7 kB / 473.7 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02042/0.4802, allocations: 8.441 MB / 482.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001919/0.4804, allocations: 39.67 kB / 482.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001101/0.4815, allocations: 130.4 kB / 482.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003359/0.4848, allocations: 1.699 MB / 484 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01589/0.5007, allocations: 7.107 MB / 491.1 MB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05152/0.5523, allocations: 34.08 MB / 0.5129 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008626/0.5609, allocations: 3.183 MB / 0.516 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002394/0.5633, allocations: 1.364 MB / 0.5173 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009072/0.5723, allocations: 4.449 MB / 0.5216 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.507e-05/0.5724, allocations: 50.34 kB / 0.5217 GB, free: 11.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 5.62e-06/0.5724, allocations: 3.938 kB / 0.5217 GB, free: 11.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.0369/0.6093, allocations: 11.74 MB / 0.5331 GB, free: 15.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.6094, allocations: 145.2 kB / 0.5333 GB, free: 15.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008324/0.6177, allocations: 3.722 MB / 0.5369 GB, free: 11.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003767/0.6181, allocations: 41.7 kB / 0.537 GB, free: 11.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003462/0.6216, allocations: 2.866 MB / 0.5398 GB, free: 8.457 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001079/0.6227, allocations: 0.5368 MB / 0.5403 GB, free: 7.926 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002455/0.6251, allocations: 1.09 MB / 0.5413 GB, free: 6.832 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.6253, allocations: 305.1 kB / 0.5416 GB, free: 6.531 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003372/0.6286, allocations: 1.701 MB / 0.5433 GB, free: 4.824 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007463/0.6361, allocations: 5.121 MB / 0.5483 GB, free: 14.03 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/0.6474, allocations: 7.406 MB / 0.5555 GB, free: 5.098 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001284/0.6475, allocations: 36 kB / 0.5556 GB, free: 5.062 MB / 462.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01726/0.6648, allocations: 6.727 MB / 0.5621 GB, free: 14.33 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.6649, allocations: 56 kB / 0.5622 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001631/0.665, allocations: 124 kB / 0.5623 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007722/0.6658, allocations: 325.5 kB / 0.5626 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004743/0.6706, allocations: 1.24 MB / 0.5638 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003377/0.6739, allocations: 2.489 MB / 0.5663 GB, free: 9.961 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004458/0.6784, allocations: 287.7 kB / 0.5665 GB, free: 9.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00123/0.6796, allocations: 339.9 kB / 0.5669 GB, free: 9.352 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 660 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004785/0.6844, allocations: 1.784 MB / 0.5686 GB, free: 7.559 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008212/0.6852, allocations: 333.8 kB / 0.5689 GB, free: 7.23 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005949/0.6912, allocations: 2.359 MB / 0.5712 GB, free: 4.855 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.883e-05/0.6912, allocations: 16 kB / 0.5712 GB, free: 4.84 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.6912, allocations: 5.594 kB / 0.5712 GB, free: 4.836 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.657e-05/0.6913, allocations: 7.984 kB / 0.5713 GB, free: 4.828 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/0.7073, allocations: 5.911 MB / 0.577 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.659e-05/0.7073, allocations: 7.984 kB / 0.577 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.7083, allocations: 169.6 kB / 0.5772 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002458/0.7108, allocations: 0.7116 MB / 0.5779 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002449/0.711, allocations: 24 kB / 0.5779 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007323/0.7184, allocations: 4.81 MB / 0.5826 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.7184, allocations: 7.969 kB / 0.5826 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008957/0.7273, allocations: 4.349 MB / 0.5869 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.7286, allocations: 370.8 kB / 0.5872 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001025/0.7296, allocations: 31.98 kB / 0.5872 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/0.7313, allocations: 63.91 kB / 0.5873 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004109/0.7317, allocations: 72.52 kB / 0.5874 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.7319, allocations: 34.8 kB / 0.5874 GB, free: 4.059 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00563/0.7375, allocations: 2.319 MB / 0.5897 GB, free: 1.754 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.7375, allocations: 0 / 0.5897 GB, free: 1.754 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005799/0.7433, allocations: 0.8083 MB / 0.5905 GB, free: 0.9492 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009024/0.7523, allocations: 4.976 MB / 0.5953 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008009/0.7603, allocations: 3.896 MB / 0.5991 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.7603, allocations: 4 kB / 0.5991 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.7623, allocations: 1.04 MB / 0.6001 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003022/0.7653, allocations: 389.9 kB / 0.6005 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2886/1.054, allocations: 37.7 MB / 0.6373 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005022/1.059, allocations: 2.781 MB / 0.6401 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004596/1.063, allocations: 1.66 MB / 0.6417 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00255/1.066, allocations: 1.522 MB / 0.6432 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of SimCode: time 9.32e-07/1.066, allocations: 0 / 0.6432 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1049/1.171, allocations: 57.94 MB / 0.6997 GB, free: 139.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.98/24.15, allocations: 7.188 kB / 0.6997 GB, free: 139.4 MB / 0.5294 GB " [Timeout remaining time 636] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.826027465984225] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 24.278447992168367 24.291341594 23.857754394 Calling exit ...