Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00109/0.00109, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003691/0.003691, allocations: 159.6 kB / 24.69 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8456/0.8456, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.083e-06/2.083e-06, allocations: 0 / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.735e-05, allocations: 2.281 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.1478/0.1479, allocations: 10.53 MB / 309 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007266/0.1551, allocations: 4.017 MB / 313 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002222/0.1574, allocations: 80.06 kB / 313.1 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003712/0.1611, allocations: 2.824 MB / 315.9 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004726/0.1658, allocations: 2.101 MB / 318 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.1675, allocations: 0.8844 MB / 318.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006119/0.1736, allocations: 5.268 MB / 324.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004034/0.1776, allocations: 3.436 MB / 327.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004676/0.1823, allocations: 2.639 MB / 330.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003254/0.1856, allocations: 2.627 MB / 332.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007678/0.1863, allocations: 360 kB / 333.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002044/0.1884, allocations: 1.236 MB / 334.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001631/0.19, allocations: 2.279 MB / 336.7 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001734/0.1917, allocations: 1.441 MB / 338.2 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00697/0.1987, allocations: 7.655 MB / 345.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1987, allocations: 4 kB / 345.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1987, allocations: 0 / 345.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002196/0.1989, allocations: 0 / 345.8 MB, free: 15.21 MB / 314.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.009257/0.2082, allocations: 5.463 MB / 351.3 MB, free: 9.691 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.2082, allocations: 11.98 kB / 351.3 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001124/0.2094, allocations: 0.7982 MB / 352.1 MB, free: 8.871 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00472/0.2141, allocations: 2.33 MB / 354.4 MB, free: 6.535 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0039/0.218, allocations: 2.869 MB / 357.3 MB, free: 3.617 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/0.2182, allocations: 274.8 kB / 357.6 MB, free: 3.348 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009515/0.2191, allocations: 423.7 kB / 358 MB, free: 2.934 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02068/0.2398, allocations: 12.31 MB / 370.3 MB, free: 5.789 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001444/0.24, allocations: 47.58 kB / 370.3 MB, free: 5.742 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005917/0.2406, allocations: 187.8 kB / 370.5 MB, free: 5.559 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002856/0.2434, allocations: 2.154 MB / 372.7 MB, free: 3.402 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01906/0.2625, allocations: 10.21 MB / 382.9 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04917/0.3116, allocations: 42.87 MB / 425.7 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00707/0.3187, allocations: 3.943 MB / 429.7 MB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00214/0.3208, allocations: 1.626 MB / 431.3 MB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009399/0.3302, allocations: 6.71 MB / 438 MB, free: 0.7188 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.3303, allocations: 63.73 kB / 438.1 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of pre-optimization done (n=183): time 5.671e-06/0.3303, allocations: 0 / 438.1 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of matching and sorting (n=205): time 0.02798/0.3583, allocations: 16.68 MB / 454.8 MB, free: 15.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001085/0.3594, allocations: 1.588 MB / 456.4 MB, free: 14.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005823/0.3652, allocations: 4.863 MB / 461.2 MB, free: 9.246 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003886/0.3656, allocations: 57.7 kB / 461.3 MB, free: 9.184 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001919/0.3675, allocations: 3.517 MB / 464.8 MB, free: 5.633 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001157/0.3686, allocations: 0.8295 MB / 465.6 MB, free: 4.797 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001879/0.3705, allocations: 1.346 MB / 467 MB, free: 3.441 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.849e-05/0.3706, allocations: 305.1 kB / 467.3 MB, free: 3.141 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002743/0.3733, allocations: 2.309 MB / 469.6 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1416/0.5149, allocations: 6.436 MB / 476 MB, free: 131.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00871/0.5236, allocations: 9.385 MB / 485.4 MB, free: 124 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00016/0.5238, allocations: 41.84 kB / 485.4 MB, free: 124 MB / 426.7 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01636/0.5401, allocations: 10.17 MB / 495.6 MB, free: 120.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.566e-05/0.5402, allocations: 71.25 kB / 495.7 MB, free: 120.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006099/0.5463, allocations: 3.853 MB / 499.5 MB, free: 120 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004973/0.5513, allocations: 2.173 MB / 0.4899 GB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003406/0.5547, allocations: 1.588 MB / 0.4915 GB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005158/0.5599, allocations: 6.356 MB / 0.4977 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004302/0.5642, allocations: 0.5421 MB / 0.4982 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006192/0.5648, allocations: 423.6 kB / 0.4986 GB, free: 115.4 MB / 426.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.002408/0.5672, allocations: 2.21 MB / 0.5008 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000499/0.5677, allocations: 399.4 kB / 0.5012 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/0.571, allocations: 3.277 MB / 0.5044 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002699/0.5737, allocations: 2.742 MB / 0.507 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.5737, allocations: 0 / 0.507 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.5738, allocations: 11.97 kB / 0.5071 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/0.5852, allocations: 9.871 MB / 0.5167 GB, free: 96.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.5852, allocations: 12 kB / 0.5167 GB, free: 96.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008008/0.586, allocations: 375.5 kB / 0.5171 GB, free: 96.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001432/0.5874, allocations: 0.9787 MB / 0.518 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.5876, allocations: 67.97 kB / 0.5181 GB, free: 95.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002585/0.5902, allocations: 4.679 MB / 0.5227 GB, free: 90.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004201/0.5906, allocations: 1.467 MB / 0.5241 GB, free: 89.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005482/0.5961, allocations: 5.911 MB / 0.5299 GB, free: 83.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/0.5974, allocations: 0.6615 MB / 0.5305 GB, free: 82.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003238/0.5977, allocations: 59.98 kB / 0.5306 GB, free: 82.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.5988, allocations: 219.7 kB / 0.5308 GB, free: 82.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/0.5991, allocations: 177.4 kB / 0.5309 GB, free: 82.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.104e-05/0.5991, allocations: 85.72 kB / 0.531 GB, free: 82.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002772/0.6019, allocations: 2.915 MB / 0.5339 GB, free: 79.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6019, allocations: 0 / 0.5339 GB, free: 79.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004335/0.6062, allocations: 1.302 MB / 0.5351 GB, free: 77.89 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.005301/0.6115, allocations: 6.611 MB / 0.5416 GB, free: 71.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006547/0.6181, allocations: 5.671 MB / 0.5471 GB, free: 65.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/0.6181, allocations: 4 kB / 0.5471 GB, free: 65.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002028/0.6201, allocations: 1.953 MB / 0.549 GB, free: 63.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/0.6224, allocations: 0.5047 MB / 0.5495 GB, free: 62.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05683/0.6793, allocations: 53.85 MB / 0.6021 GB, free: 2.242 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002762/0.682, allocations: 2.941 MB / 0.605 GB, free: 15.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003574/0.6856, allocations: 2.042 MB / 0.607 GB, free: 13.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002496/0.6881, allocations: 2.121 MB / 0.6091 GB, free: 11.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.503e-06/0.6881, allocations: 0 / 0.6091 GB, free: 11.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2193/0.9074, allocations: 79.61 MB / 0.6868 GB, free: 91.68 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.72, allocations: 15.92 kB / 0.6868 GB, free: 91.66 MB / 442.7 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.429192708805203] 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.852949580177665 11.863367065 11.662287822 Calling exit ...