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.001155/0.001155, allocations: 87.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.004586/0.004586, allocations: 162.6 kB / 24.69 MB, free: 9.402 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.9104/0.9104, allocations: 158.6 MB / 186.5 MB, free: 3.035 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 1.373e-06/1.373e-06, allocations: 0 / 298.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.511e-05, allocations: 2.281 kB / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.1266/0.1266, allocations: 10.52 MB / 309 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004613/0.1312, allocations: 4.022 MB / 313 MB, free: 7.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007361/0.1319, allocations: 84.22 kB / 313.1 MB, free: 7.473 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002794/0.1347, allocations: 2.827 MB / 315.9 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002943/0.1377, allocations: 2.098 MB / 318 MB, free: 5.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.1388, allocations: 0.8807 MB / 318.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00356/0.1423, allocations: 5.272 MB / 324.2 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002197/0.1445, allocations: 3.441 MB / 327.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.1467, allocations: 2.638 MB / 330.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/0.1486, allocations: 2.621 MB / 332.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003106/0.1489, allocations: 364 kB / 333.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.1503, allocations: 1.236 MB / 334.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001105/0.1514, allocations: 2.279 MB / 336.7 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008984/0.1523, allocations: 1.441 MB / 338.2 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004265/0.1565, allocations: 7.651 MB / 345.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1565, allocations: 0 / 345.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1565, allocations: 0 / 345.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.856e-05/0.1566, allocations: 3.938 kB / 345.8 MB, free: 15.22 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.005133/0.1617, allocations: 5.463 MB / 351.3 MB, free: 9.695 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1617, allocations: 15.98 kB / 351.3 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005719/0.1623, allocations: 0.7943 MB / 352.1 MB, free: 8.875 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004344/0.1667, allocations: 2.334 MB / 354.4 MB, free: 6.535 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002926/0.1696, allocations: 2.868 MB / 357.3 MB, free: 3.617 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.1697, allocations: 270.8 kB / 357.6 MB, free: 3.352 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005441/0.1702, allocations: 427.6 kB / 358 MB, free: 2.934 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/0.1823, allocations: 12.31 MB / 370.3 MB, free: 5.793 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.606e-05/0.1824, allocations: 47.58 kB / 370.3 MB, free: 5.746 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000308/0.1827, allocations: 179.8 kB / 370.5 MB, free: 5.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001752/0.1844, allocations: 2.162 MB / 372.7 MB, free: 3.406 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01244/0.1969, allocations: 10.21 MB / 382.9 MB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03346/0.2303, allocations: 42.87 MB / 425.8 MB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006402/0.2367, allocations: 3.939 MB / 429.7 MB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.2381, allocations: 1.619 MB / 431.3 MB, free: 7.477 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007292/0.2454, allocations: 6.713 MB / 438 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.2455, allocations: 59.75 kB / 438.1 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of pre-optimization done (n=183): time 3.377e-06/0.2455, allocations: 0 / 438.1 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of matching and sorting (n=205): time 0.02466/0.2701, allocations: 16.68 MB / 454.8 MB, free: 15.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009089/0.271, allocations: 1.592 MB / 456.4 MB, free: 14.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00458/0.2756, allocations: 4.863 MB / 461.2 MB, free: 9.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.2757, allocations: 53.7 kB / 461.3 MB, free: 9.191 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001769/0.2775, allocations: 3.517 MB / 464.8 MB, free: 5.641 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004848/0.278, allocations: 0.8334 MB / 465.6 MB, free: 4.801 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001069/0.279, allocations: 1.342 MB / 467 MB, free: 3.449 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.52e-05/0.2791, allocations: 305.1 kB / 467.3 MB, free: 3.148 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002295/0.2814, allocations: 2.317 MB / 469.6 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1288/0.4102, allocations: 6.433 MB / 476 MB, free: 131.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006548/0.4167, allocations: 9.385 MB / 485.4 MB, free: 124 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.539e-05/0.4168, allocations: 42.83 kB / 485.4 MB, free: 124 MB / 426.7 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01273/0.4295, allocations: 10.16 MB / 495.6 MB, free: 120.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.4296, allocations: 71.31 kB / 495.7 MB, free: 120.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005321/0.4349, allocations: 3.852 MB / 499.5 MB, free: 120 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00465/0.4396, allocations: 2.17 MB / 0.4899 GB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002253/0.4418, allocations: 1.591 MB / 0.4915 GB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004709/0.4465, allocations: 6.355 MB / 0.4977 GB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002852/0.4494, allocations: 0.5482 MB / 0.4982 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002733/0.4497, allocations: 418.5 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.001859/0.4515, allocations: 2.214 MB / 0.5008 GB, free: 113.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003027/0.4518, allocations: 395.1 kB / 0.5012 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003088/0.4549, allocations: 3.278 MB / 0.5044 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002563/0.4575, allocations: 2.738 MB / 0.507 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4575, allocations: 4 kB / 0.507 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.4575, allocations: 7.969 kB / 0.5071 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008548/0.466, allocations: 9.875 MB / 0.5167 GB, free: 96.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.466, allocations: 12 kB / 0.5167 GB, free: 96.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007021/0.4667, allocations: 371.6 kB / 0.5171 GB, free: 96.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001337/0.4681, allocations: 0.9863 MB / 0.518 GB, free: 95.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-05/0.4682, allocations: 67.8 kB / 0.5181 GB, free: 95.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002357/0.4705, allocations: 4.674 MB / 0.5227 GB, free: 90.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003693/0.4709, allocations: 1.468 MB / 0.5241 GB, free: 89.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004255/0.4751, allocations: 5.913 MB / 0.5299 GB, free: 83.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007353/0.4759, allocations: 0.6592 MB / 0.5305 GB, free: 82.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/0.4761, allocations: 67.5 kB / 0.5306 GB, free: 82.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009829/0.4771, allocations: 219.7 kB / 0.5308 GB, free: 82.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.4773, allocations: 177.4 kB / 0.5309 GB, free: 82.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.497e-05/0.4773, allocations: 75.97 kB / 0.531 GB, free: 82.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002127/0.4795, allocations: 2.915 MB / 0.5339 GB, free: 79.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4795, allocations: 0 / 0.5339 GB, free: 79.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003423/0.4829, allocations: 1.306 MB / 0.5351 GB, free: 77.88 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.004731/0.4876, allocations: 6.616 MB / 0.5416 GB, free: 71.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005298/0.4929, allocations: 5.67 MB / 0.5471 GB, free: 65.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.4929, allocations: 4 kB / 0.5471 GB, free: 65.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.4946, allocations: 1.949 MB / 0.549 GB, free: 63.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.4962, allocations: 0.5088 MB / 0.5495 GB, free: 62.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04239/0.5386, allocations: 53.85 MB / 0.6021 GB, free: 2.223 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002329/0.5409, allocations: 2.937 MB / 0.605 GB, free: 15.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002811/0.5437, allocations: 2.042 MB / 0.607 GB, free: 13.21 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001664/0.5454, allocations: 2.121 MB / 0.6091 GB, free: 11.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.372e-06/0.5454, allocations: 0 / 0.6091 GB, free: 11.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1996/0.745, allocations: 79.62 MB / 0.6868 GB, free: 91.74 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/13.03, allocations: 7.922 kB / 0.6868 GB, free: 91.73 MB / 442.7 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 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: 14.815705323591828] 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'] 13.169013413600624 13.181445536 13.02228069 Calling exit ...