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.001089/0.001089, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001263/0.001263, allocations: 174 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8838/0.8838, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 1.302e-06/1.302e-06, allocations: 0 / 324.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037e-05/1.167e-05, allocations: 4.953 kB / 324.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.006628/0.00664, allocations: 9.376 MB / 334 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004837/0.01148, allocations: 3.776 MB / 337.7 MB, free: 2.594 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005918/0.01207, allocations: 67.69 kB / 337.8 MB, free: 2.527 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002544/0.01461, allocations: 2.651 MB / 340.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002246/0.01686, allocations: 1.835 MB / 342.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009597/0.01782, allocations: 0.7289 MB / 343 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002675/0.02049, allocations: 4.101 MB / 347.1 MB, free: 9.176 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.02257, allocations: 2.979 MB / 350.1 MB, free: 6.137 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00168/0.02425, allocations: 2.226 MB / 352.3 MB, free: 3.906 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.02578, allocations: 2.065 MB / 354.4 MB, free: 1.836 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003016/0.02608, allocations: 320 kB / 354.7 MB, free: 1.523 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.02719, allocations: 1.104 MB / 355.8 MB, free: 428 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009803/0.02817, allocations: 1.924 MB / 357.7 MB, free: 14.49 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008385/0.02901, allocations: 1.227 MB / 359 MB, free: 13.26 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003921/0.03293, allocations: 6.685 MB / 365.6 MB, free: 6.551 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.03294, allocations: 0 / 365.6 MB, free: 6.551 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.03294, allocations: 3.938 kB / 365.6 MB, free: 6.547 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.952e-05/0.033, allocations: 0 / 365.6 MB, free: 6.547 MB / 330.7 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.004784/0.03778, allocations: 4.615 MB / 370.3 MB, free: 1.875 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.03782, allocations: 8.031 kB / 370.3 MB, free: 1.867 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005472/0.03837, allocations: 0.7236 MB / 371 MB, free: 1.133 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003741/0.04211, allocations: 2.073 MB / 373.1 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002139/0.04425, allocations: 2.011 MB / 375.1 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.04436, allocations: 246.2 kB / 375.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004984/0.04486, allocations: 403.7 kB / 375.7 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009257/0.05412, allocations: 10.19 MB / 385.9 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.453e-05/0.05418, allocations: 47.52 kB / 385.9 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002601/0.05444, allocations: 159.8 kB / 386.1 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001453/0.05589, allocations: 1.849 MB / 387.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009369/0.06526, allocations: 8.355 MB / 396.3 MB, free: 7.023 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02714/0.0924, allocations: 37.97 MB / 434.3 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008333/0.1007, allocations: 3.603 MB / 437.9 MB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002148/0.1029, allocations: 1.341 MB / 439.2 MB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0108/0.1137, allocations: 5.667 MB / 444.9 MB, free: 5.215 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.083e-05/0.1137, allocations: 51.56 kB / 444.9 MB, free: 5.156 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 5.981e-06/0.1137, allocations: 0 / 444.9 MB, free: 5.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=159): time 0.1796/0.2933, allocations: 12.65 MB / 457.6 MB, free: 112.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007356/0.2941, allocations: 1.572 MB / 459.2 MB, free: 110.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003431/0.2975, allocations: 4.217 MB / 463.4 MB, free: 109 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002192/0.2977, allocations: 51.44 kB / 463.4 MB, free: 109 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009036/0.2986, allocations: 3.202 MB / 466.6 MB, free: 106.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004509/0.2991, allocations: 0.6631 MB / 467.3 MB, free: 106.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008991/0.3, allocations: 1.247 MB / 468.5 MB, free: 105.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.252e-05/0.3, allocations: 301.1 kB / 468.8 MB, free: 105.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/0.3018, allocations: 2.102 MB / 470.9 MB, free: 104 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002468/0.3043, allocations: 6.028 MB / 477 MB, free: 96.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005414/0.3097, allocations: 8.717 MB / 485.7 MB, free: 86.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001011/0.3098, allocations: 43.31 kB / 485.7 MB, free: 86.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01373/0.3235, allocations: 9.932 MB / 495.6 MB, free: 76.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.073e-05/0.3236, allocations: 65 kB / 495.7 MB, free: 76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005868/0.3295, allocations: 3.916 MB / 499.6 MB, free: 72.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005585/0.335, allocations: 2.728 MB / 0.4906 GB, free: 69.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/0.3376, allocations: 1.372 MB / 0.4919 GB, free: 67.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008604/0.3462, allocations: 11.2 MB / 0.5029 GB, free: 56.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003731/0.3499, allocations: 483.3 kB / 0.5033 GB, free: 55.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006134/0.3505, allocations: 390.5 kB / 0.5037 GB, free: 55.57 MB / 410.7 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 {(4,31)} Notification: Performance of prepare postOptimizeDAE: time 0.00235/0.3529, allocations: 2.009 MB / 0.5057 GB, free: 53.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004793/0.3533, allocations: 341.7 kB / 0.506 GB, free: 53.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004582/0.3538, allocations: 440.5 kB / 0.5064 GB, free: 52.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003134/0.3569, allocations: 2.695 MB / 0.509 GB, free: 50.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.3569, allocations: 11.94 kB / 0.509 GB, free: 50.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.3569, allocations: 13.75 kB / 0.5091 GB, free: 50.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009716/0.3667, allocations: 8.218 MB / 0.5171 GB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.3667, allocations: 4 kB / 0.5171 GB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/0.3672, allocations: 187.7 kB / 0.5173 GB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002198/0.3694, allocations: 1.452 MB / 0.5187 GB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.3695, allocations: 39.81 kB / 0.5187 GB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006371/0.3758, allocations: 9.43 MB / 0.5279 GB, free: 30.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004124/0.3763, allocations: 1.443 MB / 0.5293 GB, free: 28.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005279/0.3815, allocations: 5.353 MB / 0.5346 GB, free: 23.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008647/0.3824, allocations: 337.5 kB / 0.5349 GB, free: 23.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/0.3827, allocations: 31.94 kB / 0.5349 GB, free: 22.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008309/0.3835, allocations: 163.7 kB / 0.5351 GB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/0.3837, allocations: 116.7 kB / 0.5352 GB, free: 22.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.666e-05/0.3838, allocations: 48.11 kB / 0.5352 GB, free: 22.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002323/0.3861, allocations: 2.466 MB / 0.5376 GB, free: 20.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3861, allocations: 4 kB / 0.5376 GB, free: 20.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004153/0.3903, allocations: 1.156 MB / 0.5388 GB, free: 19.05 MB / 410.7 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.005133/0.3954, allocations: 6.029 MB / 0.5447 GB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006033/0.4014, allocations: 5.471 MB / 0.55 GB, free: 7.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.4014, allocations: 4 kB / 0.55 GB, free: 7.496 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002151/0.4036, allocations: 2.082 MB / 0.552 GB, free: 5.371 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.4055, allocations: 401.6 kB / 0.5524 GB, free: 4.988 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05985/0.4653, allocations: 47.92 MB / 0.5992 GB, free: 14.87 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003755/0.4691, allocations: 2.589 MB / 0.6017 GB, free: 12.25 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002792/0.4719, allocations: 1.815 MB / 0.6035 GB, free: 10.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001596/0.4735, allocations: 1.769 MB / 0.6052 GB, free: 8.656 MB / 474.7 MB Notification: Performance of SimCode: time 1.853e-06/0.4735, allocations: 4 kB / 0.6053 GB, free: 8.652 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1991/0.6726, allocations: 73.98 MB / 0.6775 GB, free: 110.7 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.1, allocations: 10.81 kB / 0.6775 GB, free: 110.7 MB / 474.7 MB " [Timeout remaining time 648] (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: 13.936195868067443] 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]'] 12.230174477212131 12.240464628 12.206010916 Calling exit ...