Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.001275/0.001275, 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.001442/0.001442, 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.8924/0.8924, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.SpringDamperSystem,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/2.018e-05, allocations: 6.219 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.007842/0.007862, allocations: 10.48 MB / 335.1 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006486/0.01435, allocations: 4.032 MB / 339.1 MB, free: 1.355 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.01583, allocations: 83.56 kB / 339.2 MB, free: 1.273 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003407/0.01923, allocations: 2.818 MB / 342 MB, free: 14.44 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003942/0.02317, allocations: 2.049 MB / 344 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.0246, allocations: 0.8888 MB / 344.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004949/0.02955, allocations: 5.386 MB / 350.3 MB, free: 6.094 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003528/0.03308, allocations: 3.424 MB / 353.7 MB, free: 2.621 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003882/0.03696, allocations: 2.608 MB / 356.4 MB, free: 8 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003181/0.04014, allocations: 2.611 MB / 359 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007063/0.04085, allocations: 360 kB / 359.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.04267, allocations: 1.221 MB / 360.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001563/0.04424, allocations: 2.244 MB / 362.8 MB, free: 9.566 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001668/0.0459, allocations: 1.417 MB / 364.2 MB, free: 8.145 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007342/0.05325, allocations: 7.569 MB / 371.8 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.05325, allocations: 4 kB / 371.8 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.05325, allocations: 0 / 371.8 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002351/0.05349, allocations: 0 / 371.8 MB, free: 0.5469 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.009642/0.06313, allocations: 5.385 MB / 377.2 MB, free: 11.1 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.06318, allocations: 12.03 kB / 377.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001209/0.06439, allocations: 0.7982 MB / 378 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005315/0.06971, allocations: 2.381 MB / 380.3 MB, free: 7.895 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00411/0.07382, allocations: 2.566 MB / 382.9 MB, free: 5.281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/0.07399, allocations: 262.9 kB / 383.2 MB, free: 5.023 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009871/0.07498, allocations: 431.7 kB / 383.6 MB, free: 4.602 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01658/0.09156, allocations: 12.36 MB / 395.9 MB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/0.09167, allocations: 51.52 kB / 396 MB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005017/0.09217, allocations: 175.8 kB / 396.2 MB, free: 7.188 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001905/0.09408, allocations: 2.166 MB / 398.3 MB, free: 5.016 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01539/0.1095, allocations: 10.24 MB / 408.6 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1923/0.3017, allocations: 42.73 MB / 451.3 MB, free: 104 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007018/0.3088, allocations: 3.999 MB / 455.3 MB, free: 103.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.3104, allocations: 1.621 MB / 456.9 MB, free: 103.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007778/0.3181, allocations: 6.686 MB / 463.6 MB, free: 101.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.3182, allocations: 58.44 kB / 463.7 MB, free: 101.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=183): time 3.967e-06/0.3182, allocations: 0 / 463.7 MB, free: 101.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.02244/0.3406, allocations: 16.62 MB / 480.3 MB, free: 90.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006308/0.3413, allocations: 1.583 MB / 481.9 MB, free: 88.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003524/0.3448, allocations: 4.769 MB / 486.6 MB, free: 84.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002807/0.3451, allocations: 53.7 kB / 486.7 MB, free: 84.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009346/0.346, allocations: 3.51 MB / 490.2 MB, free: 80.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005181/0.3465, allocations: 0.8279 MB / 491 MB, free: 80.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009228/0.3474, allocations: 1.342 MB / 492.4 MB, free: 78.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.049e-05/0.3475, allocations: 305.1 kB / 492.7 MB, free: 78.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/0.3495, allocations: 2.328 MB / 495 MB, free: 76.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002919/0.3524, allocations: 6.465 MB / 0.4897 GB, free: 67.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006515/0.3589, allocations: 9.419 MB / 0.4989 GB, free: 56.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001573/0.3591, allocations: 40 kB / 0.499 GB, free: 56.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.0157/0.3748, allocations: 10.27 MB / 0.509 GB, free: 45.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.397e-05/0.3749, allocations: 74.44 kB / 0.509 GB, free: 45.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005618/0.3805, allocations: 3.959 MB / 0.5129 GB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004781/0.3853, allocations: 2.254 MB / 0.5151 GB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003184/0.3884, allocations: 1.602 MB / 0.5167 GB, free: 38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004969/0.3934, allocations: 6.378 MB / 0.5229 GB, free: 31.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004496/0.3979, allocations: 0.5422 MB / 0.5234 GB, free: 30.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008934/0.3988, allocations: 416 kB / 0.5238 GB, free: 30.44 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (848): * Single equations (assignments): 839 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002987/0.4018, allocations: 2.214 MB / 0.526 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006852/0.4025, allocations: 397.3 kB / 0.5264 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003834/0.4063, allocations: 3.309 MB / 0.5296 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003141/0.4094, allocations: 2.769 MB / 0.5323 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/0.4095, allocations: 0 / 0.5323 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/0.4095, allocations: 11.97 kB / 0.5323 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/0.4239, allocations: 9.877 MB / 0.542 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/0.424, allocations: 15.98 kB / 0.542 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009469/0.4249, allocations: 375.4 kB / 0.5423 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001565/0.4265, allocations: 0.9863 MB / 0.5433 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001879/0.4267, allocations: 63.97 kB / 0.5434 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002846/0.4295, allocations: 4.702 MB / 0.548 GB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005614/0.4301, allocations: 1.465 MB / 0.5494 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006068/0.4361, allocations: 5.936 MB / 0.5552 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/0.4374, allocations: 437.1 kB / 0.5556 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004315/0.4378, allocations: 55.98 kB / 0.5557 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.4391, allocations: 215.7 kB / 0.5559 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/0.4393, allocations: 180.3 kB / 0.556 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.4394, allocations: 75.98 kB / 0.5561 GB, free: 12.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003711/0.4432, allocations: 2.851 MB / 0.5589 GB, free: 9.672 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4432, allocations: 0 / 0.5589 GB, free: 9.672 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004732/0.4479, allocations: 1.269 MB / 0.5601 GB, free: 8.406 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($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],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00731/0.4552, allocations: 6.652 MB / 0.5666 GB, free: 1.539 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008094/0.4633, allocations: 5.713 MB / 0.5722 GB, free: 11.83 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-05/0.4633, allocations: 4 kB / 0.5722 GB, free: 11.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002499/0.4658, allocations: 1.968 MB / 0.5741 GB, free: 9.828 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002679/0.4685, allocations: 0.5055 MB / 0.5746 GB, free: 9.328 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.215/0.6835, allocations: 53.67 MB / 0.627 GB, free: 149.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002088/0.6856, allocations: 2.919 MB / 0.6299 GB, free: 149.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002745/0.6883, allocations: 2.039 MB / 0.6319 GB, free: 148.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/0.6898, allocations: 2.105 MB / 0.6339 GB, free: 146.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.734e-06/0.6898, allocations: 0 / 0.6339 GB, free: 146.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08676/0.7765, allocations: 78.72 MB / 0.7108 GB, free: 69 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.78, allocations: 15.5 kB / 0.7108 GB, free: 68.98 MB / 474.7 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.624505681917071] 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]', 'p2.s', 'p2.v'] 11.914936112239957 11.924688087 11.86991754 Calling exit ...