Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002177/0.002177, allocations: 209.2 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.567/1.567, allocations: 230.6 MB / 257.5 MB, free: 7.781 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 43.94 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2662, allocations: 53.36 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.0119/0.2781, allocations: 9.37 MB / 440.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00785/0.286, allocations: 3.773 MB / 444.2 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.287, allocations: 75.62 kB / 444.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004771/0.2917, allocations: 2.511 MB / 446.8 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004595/0.2963, allocations: 1.774 MB / 448.6 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.298, allocations: 0.6902 MB / 449.3 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005118/0.3031, allocations: 3.716 MB / 453 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003374/0.3065, allocations: 2.706 MB / 455.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002158/0.3086, allocations: 1.491 MB / 457.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002784/0.3114, allocations: 1.985 MB / 459.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006524/0.3121, allocations: 312 kB / 459.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.3142, allocations: 1.049 MB / 460.5 MB, free: 9.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001836/0.316, allocations: 1.858 MB / 462.4 MB, free: 7.164 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.3179, allocations: 1.573 MB / 464 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007733/0.3256, allocations: 6.707 MB / 470.7 MB, free: 14.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3256, allocations: 0 / 470.7 MB, free: 14.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3256, allocations: 0 / 470.7 MB, free: 14.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001379/0.3257, allocations: 0 / 470.7 MB, free: 14.85 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.008825/0.3346, allocations: 4.603 MB / 475.3 MB, free: 10.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3346, allocations: 8.031 kB / 475.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000963/0.3356, allocations: 0.7236 MB / 476 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006981/0.3426, allocations: 1.971 MB / 478 MB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00504/0.3476, allocations: 2.175 MB / 480.2 MB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002142/0.3478, allocations: 246.2 kB / 480.4 MB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009068/0.3487, allocations: 391.7 kB / 480.8 MB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01852/0.3672, allocations: 10.19 MB / 491 MB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001066/0.3673, allocations: 39.67 kB / 491 MB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004161/0.3678, allocations: 159.9 kB / 491.2 MB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002811/0.3706, allocations: 1.857 MB / 493 MB, free: 7.656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01728/0.3879, allocations: 8.343 MB / 0.4896 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04856/0.4364, allocations: 37.83 MB / 0.5265 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/0.447, allocations: 3.451 MB / 0.5299 GB, free: 4.844 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002152/0.4492, allocations: 1.337 MB / 0.5312 GB, free: 3.496 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2132/0.6624, allocations: 5.529 MB / 0.5366 GB, free: 100.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.6625, allocations: 49.03 kB / 0.5367 GB, free: 100.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 5.821e-06/0.6625, allocations: 0 / 0.5367 GB, free: 100.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.0285/0.691, allocations: 12.34 MB / 0.5487 GB, free: 96.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001014/0.692, allocations: 1.567 MB / 0.5503 GB, free: 94.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004145/0.6961, allocations: 4.061 MB / 0.5542 GB, free: 92.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000271/0.6964, allocations: 49.22 kB / 0.5543 GB, free: 92.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001497/0.6979, allocations: 3.231 MB / 0.5574 GB, free: 89.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006217/0.6985, allocations: 0.6799 MB / 0.5581 GB, free: 89.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001241/0.6998, allocations: 1.259 MB / 0.5593 GB, free: 88.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.521e-05/0.6998, allocations: 313.2 kB / 0.5596 GB, free: 87.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00224/0.702, allocations: 2.021 MB / 0.5616 GB, free: 85.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003853/0.7059, allocations: 5.953 MB / 0.5674 GB, free: 77.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006834/0.7127, allocations: 8.589 MB / 0.5758 GB, free: 67.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.273e-05/0.7128, allocations: 42.25 kB / 0.5758 GB, free: 67.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01389/0.7267, allocations: 8.822 MB / 0.5844 GB, free: 58.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.218e-05/0.7268, allocations: 64 kB / 0.5845 GB, free: 58.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005174/0.732, allocations: 2.817 MB / 0.5873 GB, free: 55.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004312/0.7363, allocations: 1.557 MB / 0.5888 GB, free: 54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003493/0.7398, allocations: 1.365 MB / 0.5901 GB, free: 52.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009602/0.7494, allocations: 9.256 MB / 0.5992 GB, free: 43.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004459/0.7538, allocations: 403.5 kB / 0.5995 GB, free: 42.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007231/0.7546, allocations: 392 kB / 0.5999 GB, free: 42.27 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (738): * Single equations (assignments): 728 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of prepare postOptimizeDAE: time 0.002641/0.7572, allocations: 2.011 MB / 0.6019 GB, free: 40.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005519/0.7577, allocations: 353.6 kB / 0.6022 GB, free: 39.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006232/0.7584, allocations: 432.5 kB / 0.6026 GB, free: 39.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004934/0.7633, allocations: 2.703 MB / 0.6053 GB, free: 36.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.7633, allocations: 0 / 0.6053 GB, free: 36.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.7633, allocations: 11.97 kB / 0.6053 GB, free: 36.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/0.7767, allocations: 8.161 MB / 0.6132 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.7768, allocations: 4.125 kB / 0.6132 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009054/0.7777, allocations: 195.7 kB / 0.6134 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004038/0.7817, allocations: 1.455 MB / 0.6149 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000165/0.7819, allocations: 39.91 kB / 0.6149 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009961/0.7918, allocations: 9.414 MB / 0.6241 GB, free: 17.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006654/0.7925, allocations: 1.44 MB / 0.6255 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007812/0.8003, allocations: 5.372 MB / 0.6307 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000882/0.8012, allocations: 309.5 kB / 0.631 GB, free: 9.766 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003808/0.8016, allocations: 35.98 kB / 0.6311 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.8028, allocations: 119.8 kB / 0.6312 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002947/0.8031, allocations: 116.7 kB / 0.6313 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.8032, allocations: 55.91 kB / 0.6314 GB, free: 9.441 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002774/0.806, allocations: 2.333 MB / 0.6336 GB, free: 7.125 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.806, allocations: 0 / 0.6336 GB, free: 7.125 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0044/0.8104, allocations: 1.05 MB / 0.6347 GB, free: 6.078 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008104/0.8185, allocations: 6.006 MB / 0.6405 GB, free: 36 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0105/0.829, allocations: 5.393 MB / 0.6458 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.829, allocations: 0 / 0.6458 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004566/0.8336, allocations: 2.083 MB / 0.6478 GB, free: 8.492 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/0.8361, allocations: 400 kB / 0.6482 GB, free: 8.102 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08873/0.9248, allocations: 45.53 MB / 0.6927 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005525/0.9303, allocations: 2.585 MB / 0.6952 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004692/0.935, allocations: 1.804 MB / 0.697 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003013/0.938, allocations: 1.765 MB / 0.6987 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of SimCode: time 1.031e-06/0.938, allocations: 0 / 0.6987 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3533/1.291, allocations: 69.54 MB / 0.7666 GB, free: 184.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.75/19.04, allocations: 6.312 kB / 0.7666 GB, free: 184.4 MB / 0.545 GB " [Timeout remaining time 641] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0019988 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.729405030142516] Failed to read output from testmodel.py, exit status != 0: ['time', 'body1.frame_a.r_0[1]', 'body1.frame_a.r_0[2]', 'body1.frame_a.r_0[3]', 'body1.v_0[1]', 'body1.v_0[2]', 'body1.v_0[3]', 'body1.w_a[1]', 'body1.w_a[2]', 'body1.w_a[3]'] 19.21175874583423 19.227471948 18.898560661 Calling exit ...