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.001714/0.001714, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.002116/0.002116, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.502/1.502, allocations: 230.5 MB / 254.8 MB, free: 15.05 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.002034/0.002034, allocations: 67.83 kB / 373.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1072, allocations: 53.32 MB / 427 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.2202/0.3274, allocations: 7.444 MB / 434.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006121/0.3335, allocations: 3.27 MB / 437.7 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.3347, allocations: 41.91 kB / 437.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002359/0.3371, allocations: 1.05 MB / 438.8 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004492/0.3416, allocations: 1.357 MB / 440.2 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.3429, allocations: 465.9 kB / 440.6 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005053/0.348, allocations: 2.666 MB / 443.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002433/0.3504, allocations: 1.318 MB / 444.6 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002216/0.3526, allocations: 0.8516 MB / 445.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002867/0.3555, allocations: 1.329 MB / 446.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008277/0.3563, allocations: 170 kB / 447 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00314/0.3595, allocations: 1.047 MB / 448 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001667/0.3611, allocations: 1.121 MB / 449.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001491/0.3626, allocations: 1.29 MB / 450.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0059/0.3685, allocations: 4.342 MB / 454.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.3685, allocations: 1.469 kB / 454.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3685, allocations: 0 / 454.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001091/0.3687, allocations: 4 kB / 454.8 MB, free: 14.79 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.007472/0.3761, allocations: 3.113 MB / 457.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.3762, allocations: 13.42 kB / 457.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007602/0.3769, allocations: 469.7 kB / 458.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007501/0.3844, allocations: 1.824 MB / 460.2 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003899/0.3883, allocations: 1.607 MB / 461.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.3885, allocations: 133.6 kB / 461.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009012/0.3894, allocations: 253.8 kB / 462.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01273/0.4021, allocations: 6.679 MB / 468.8 MB, free: 5.988 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.663e-05/0.4022, allocations: 32.12 kB / 468.9 MB, free: 5.969 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003054/0.4025, allocations: 85.97 kB / 469 MB, free: 5.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002375/0.4049, allocations: 1.366 MB / 470.3 MB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01302/0.4179, allocations: 6.045 MB / 476.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03448/0.4524, allocations: 25.54 MB / 0.4901 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007746/0.4601, allocations: 2.608 MB / 0.4927 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.4618, allocations: 0.9894 MB / 0.4937 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006935/0.4687, allocations: 3.946 MB / 0.4975 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/0.4688, allocations: 51.06 kB / 0.4976 GB, free: 12.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 6.452e-06/0.4688, allocations: 4 kB / 0.4976 GB, free: 12.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02994/0.4987, allocations: 10.46 MB / 0.5078 GB, free: 1.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00153/0.5002, allocations: 1.674 MB / 0.5094 GB, free: 64 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004376/0.5046, allocations: 2.73 MB / 0.5121 GB, free: 13.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000362/0.505, allocations: 45.73 kB / 0.5121 GB, free: 13.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001799/0.5068, allocations: 2.179 MB / 0.5142 GB, free: 11.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007255/0.5075, allocations: 0.5234 MB / 0.5148 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001387/0.5089, allocations: 0.9171 MB / 0.5157 GB, free: 9.602 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.509, allocations: 305.1 kB / 0.5159 GB, free: 9.301 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002824/0.5119, allocations: 1.629 MB / 0.5175 GB, free: 7.664 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005344/0.5172, allocations: 4.432 MB / 0.5219 GB, free: 1.824 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008807/0.526, allocations: 6.491 MB / 0.5282 GB, free: 9.945 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.363e-05/0.5261, allocations: 28 kB / 0.5282 GB, free: 9.918 MB / 446.1 MB Notification: Performance of matching and sorting (n=591) (initialization): time 0.01677/0.5429, allocations: 7.042 MB / 0.5351 GB, free: 2.855 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.543, allocations: 52.03 kB / 0.5352 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007177/0.5502, allocations: 2.534 MB / 0.5376 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005739/0.5559, allocations: 1.494 MB / 0.5391 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003426/0.5593, allocations: 1.006 MB / 0.5401 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01212/0.5715, allocations: 7.78 MB / 0.5477 GB, free: 5.695 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003816/0.5753, allocations: 327.7 kB / 0.548 GB, free: 5.375 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009325/0.5762, allocations: 284 kB / 0.5483 GB, free: 5.098 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.003364/0.5796, allocations: 1.419 MB / 0.5496 GB, free: 3.668 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006647/0.5802, allocations: 246.3 kB / 0.5499 GB, free: 3.426 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.5813, allocations: 325.9 kB / 0.5502 GB, free: 3.098 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006799/0.5881, allocations: 2.514 MB / 0.5526 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.309e-05/0.5881, allocations: 7.125 kB / 0.5526 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.132e-05/0.5882, allocations: 3.984 kB / 0.5527 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01751/0.6057, allocations: 6.863 MB / 0.5594 GB, free: 9.602 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.127e-05/0.6057, allocations: 2.578 kB / 0.5594 GB, free: 9.602 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.6067, allocations: 179.7 kB / 0.5595 GB, free: 9.426 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005517/0.6122, allocations: 1.434 MB / 0.5609 GB, free: 7.98 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002926/0.6125, allocations: 35.97 kB / 0.561 GB, free: 7.945 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/0.6248, allocations: 7.911 MB / 0.5687 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001375/0.6262, allocations: 1.547 MB / 0.5702 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/0.6369, allocations: 4.865 MB / 0.5749 GB, free: 9.164 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008696/0.6378, allocations: 303.4 kB / 0.5752 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006469/0.6385, allocations: 27.92 kB / 0.5753 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/0.64, allocations: 111.8 kB / 0.5754 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003676/0.6404, allocations: 88.42 kB / 0.5755 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/0.6405, allocations: 40.23 kB / 0.5755 GB, free: 8.586 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003526/0.6441, allocations: 1.689 MB / 0.5771 GB, free: 6.887 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6441, allocations: 0 / 0.5771 GB, free: 6.887 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005278/0.6493, allocations: 0.7538 MB / 0.5779 GB, free: 6.133 MB / 494.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.01103/0.6604, allocations: 5.5 MB / 0.5833 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008638/0.669, allocations: 4.202 MB / 0.5874 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.669, allocations: 0 / 0.5874 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003762/0.6728, allocations: 1.656 MB / 0.589 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002431/0.6752, allocations: 282.4 kB / 0.5892 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06763/0.7428, allocations: 33.75 MB / 0.6222 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004051/0.7469, allocations: 2.281 MB / 0.6244 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003683/0.7506, allocations: 1.411 MB / 0.6258 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2077/0.9583, allocations: 1.108 MB / 0.6269 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.262e-06/0.9583, allocations: 0 / 0.6269 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09894/1.057, allocations: 48.87 MB / 0.6746 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.76/19.82, allocations: 8.062 kB / 0.6746 GB, free: 157.2 MB / 0.5294 GB " [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.409284067340195] 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]'] 19.94489423884079 19.959360343 19.587547015 Calling exit ...