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.SpringWithMass.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.001356/0.001356, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.001467/0.001467, allocations: 209.7 kB / 24.54 MB, free: 4.055 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.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.SpringWithMass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",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.001983/0.001983, allocations: 64.92 kB / 378.6 MB, free: 3.246 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2732, allocations: 53.38 MB / 431.9 MB, free: 7.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.009551/0.2827, allocations: 7.481 MB / 439.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007212/0.2899, allocations: 3.297 MB / 442.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.2913, allocations: 39.81 kB / 442.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002592/0.2939, allocations: 1.047 MB / 443.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003587/0.2975, allocations: 1.366 MB / 445.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.2988, allocations: 467.1 kB / 445.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004029/0.3029, allocations: 2.663 MB / 448.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001765/0.3046, allocations: 1.329 MB / 449.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.3059, allocations: 0.8486 MB / 450.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/0.3078, allocations: 1.328 MB / 451.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004144/0.3082, allocations: 172 kB / 451.9 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.3102, allocations: 1.053 MB / 453 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00122/0.3114, allocations: 1.122 MB / 454.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.3128, allocations: 1.289 MB / 455.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005449/0.3183, allocations: 4.349 MB / 459.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3183, allocations: 4 kB / 459.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3183, allocations: 0 / 459.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001086/0.3184, allocations: 0 / 459.8 MB, free: 11.07 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.006526/0.3249, allocations: 3.037 MB / 462.8 MB, free: 7.988 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.325, allocations: 8.031 kB / 462.8 MB, free: 7.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007039/0.3257, allocations: 470.9 kB / 463.3 MB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00693/0.3326, allocations: 1.824 MB / 465.1 MB, free: 5.684 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003597/0.3362, allocations: 1.543 MB / 466.6 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.3364, allocations: 135.3 kB / 466.8 MB, free: 3.977 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009695/0.3373, allocations: 263.7 kB / 467 MB, free: 3.719 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01316/0.3505, allocations: 6.676 MB / 473.7 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.647e-05/0.3506, allocations: 23.81 kB / 473.7 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003316/0.3509, allocations: 87.89 kB / 473.8 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002351/0.3533, allocations: 1.367 MB / 475.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01261/0.3659, allocations: 6.036 MB / 481.2 MB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03644/0.4023, allocations: 25.47 MB / 0.4948 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007074/0.4094, allocations: 2.148 MB / 0.4969 GB, free: 8.641 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.4112, allocations: 0.9848 MB / 0.4979 GB, free: 7.645 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006164/0.4173, allocations: 2.968 MB / 0.5008 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.4174, allocations: 46.98 kB / 0.5008 GB, free: 4.594 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 4.057e-06/0.4174, allocations: 0 / 0.5008 GB, free: 4.594 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02859/0.446, allocations: 10.14 MB / 0.5107 GB, free: 10.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00158/0.4475, allocations: 1.571 MB / 0.5122 GB, free: 8.641 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004201/0.4517, allocations: 2.73 MB / 0.5149 GB, free: 5.891 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002928/0.452, allocations: 41.7 kB / 0.515 GB, free: 5.844 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001861/0.4539, allocations: 2.175 MB / 0.5171 GB, free: 3.645 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007719/0.4547, allocations: 0.5195 MB / 0.5176 GB, free: 3.121 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001441/0.4561, allocations: 0.9211 MB / 0.5185 GB, free: 2.188 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4562, allocations: 301.1 kB / 0.5188 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00281/0.459, allocations: 1.633 MB / 0.5204 GB, free: 256 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005492/0.4645, allocations: 4.428 MB / 0.5247 GB, free: 10.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008686/0.4732, allocations: 6.496 MB / 0.531 GB, free: 2.531 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.934e-05/0.4733, allocations: 28 kB / 0.5311 GB, free: 2.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=591) (initialization): time 0.01688/0.4902, allocations: 7.054 MB / 0.538 GB, free: 11.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.473e-05/0.4903, allocations: 48 kB / 0.538 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006618/0.4969, allocations: 2.536 MB / 0.5405 GB, free: 8.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005533/0.5024, allocations: 1.489 MB / 0.5419 GB, free: 7.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003613/0.506, allocations: 1.014 MB / 0.5429 GB, free: 6.324 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2724/0.7784, allocations: 7.56 MB / 0.5503 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00608/0.7845, allocations: 325.1 kB / 0.5506 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001116/0.7856, allocations: 281.5 kB / 0.5509 GB, free: 109.6 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],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 (543): * Single equations (assignments): 535 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004067/0.7897, allocations: 1.433 MB / 0.5523 GB, free: 109.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007842/0.7905, allocations: 245.6 kB / 0.5525 GB, free: 109.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.7915, allocations: 324.8 kB / 0.5528 GB, free: 109.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009256/0.8008, allocations: 2.512 MB / 0.5553 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.45e-05/0.8008, allocations: 4.125 kB / 0.5553 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.013e-05/0.8008, allocations: 5.766 kB / 0.5553 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01922/0.8201, allocations: 6.774 MB / 0.5619 GB, free: 106.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-05/0.8201, allocations: 6.719 kB / 0.5619 GB, free: 106.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/0.8215, allocations: 175.6 kB / 0.5621 GB, free: 106.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007459/0.829, allocations: 1.436 MB / 0.5635 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003382/0.8293, allocations: 31.92 kB / 0.5635 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01357/0.8429, allocations: 7.711 MB / 0.571 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001137/0.844, allocations: 1.452 MB / 0.5725 GB, free: 100.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01261/0.8566, allocations: 4.866 MB / 0.5772 GB, free: 96.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007996/0.8574, allocations: 226.5 kB / 0.5774 GB, free: 96.13 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004849/0.8579, allocations: 27.98 kB / 0.5774 GB, free: 96.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/0.8599, allocations: 107.8 kB / 0.5775 GB, free: 96 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003896/0.8602, allocations: 91.23 kB / 0.5776 GB, free: 95.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/0.8604, allocations: 35.98 kB / 0.5777 GB, free: 95.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003208/0.8636, allocations: 1.693 MB / 0.5793 GB, free: 94.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.8636, allocations: 0 / 0.5793 GB, free: 94.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005692/0.8693, allocations: 0.7512 MB / 0.5801 GB, free: 93.43 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0128/0.8821, allocations: 5.492 MB / 0.5854 GB, free: 87.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01016/0.8922, allocations: 4.136 MB / 0.5895 GB, free: 83.83 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.8923, allocations: 0 / 0.5895 GB, free: 83.83 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004621/0.8969, allocations: 1.591 MB / 0.591 GB, free: 82.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/0.8999, allocations: 263.9 kB / 0.5913 GB, free: 81.97 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07014/0.97, allocations: 33.8 MB / 0.6243 GB, free: 44.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003652/0.9737, allocations: 2.297 MB / 0.6265 GB, free: 41.96 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005037/0.9787, allocations: 1.408 MB / 0.6279 GB, free: 40.55 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002401/0.9811, allocations: 1.108 MB / 0.629 GB, free: 39.44 MB / 462.1 MB Notification: Performance of SimCode: time 1.433e-06/0.9811, allocations: 0 / 0.629 GB, free: 39.44 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.136/1.117, allocations: 52.7 MB / 0.6804 GB, free: 3.062 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.19/20.3, allocations: 3.859 kB / 0.6804 GB, free: 3.059 MB / 478.1 MB " [Timeout remaining time 640] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_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_SpringWithMass.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.789909180253744] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.frame_a.r_0[1]', 'body.frame_a.r_0[2]', 'body.frame_a.r_0[3]', 'body.v_0[1]', 'body.v_0[2]', 'body.v_0[3]', 'body.w_a[1]', 'body.w_a[2]', 'body.w_a[3]'] 20.439411112107337 20.468276824 20.144158053 Calling exit ...