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.001247/0.001247, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001345/0.001345, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.324/1.324, allocations: 230.6 MB / 258.3 MB, free: 7.77 MB / 206.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 43.92 kB / 378.5 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2162, allocations: 53.37 MB / 431.9 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01214/0.2283, allocations: 10.41 MB / 442.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007753/0.2361, allocations: 4.005 MB / 446.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.2375, allocations: 83.56 kB / 446.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004789/0.2423, allocations: 2.679 MB / 449 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004445/0.2467, allocations: 2.007 MB / 451 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.2483, allocations: 0.8149 MB / 451.9 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005536/0.2538, allocations: 4.676 MB / 456.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003185/0.257, allocations: 2.945 MB / 459.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002137/0.2591, allocations: 1.709 MB / 461.2 MB, free: 9.168 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003076/0.2622, allocations: 2.515 MB / 463.7 MB, free: 6.645 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006182/0.2628, allocations: 352 kB / 464.1 MB, free: 6.301 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.2648, allocations: 1.182 MB / 465.2 MB, free: 5.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001885/0.2667, allocations: 2.142 MB / 467.4 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001951/0.2686, allocations: 1.802 MB / 469.2 MB, free: 1.156 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007954/0.2766, allocations: 7.548 MB / 476.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2766, allocations: 0 / 476.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2766, allocations: 0 / 476.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001562/0.2768, allocations: 0 / 476.7 MB, free: 9.578 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.009689/0.2864, allocations: 5.323 MB / 482 MB, free: 4.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.2865, allocations: 12.03 kB / 482.1 MB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001259/0.2866, allocations: 115.2 kB / 482.2 MB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009819/0.2876, allocations: 0.806 MB / 483 MB, free: 3.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007769/0.2954, allocations: 2.209 MB / 485.2 MB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005811/0.3012, allocations: 2.89 MB / 488.1 MB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/0.3014, allocations: 274.8 kB / 488.3 MB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009916/0.3024, allocations: 427.6 kB / 488.8 MB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02136/0.3238, allocations: 12.35 MB / 0.4894 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/0.3239, allocations: 55.56 kB / 0.4894 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004368/0.3243, allocations: 167.8 kB / 0.4896 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00309/0.3274, allocations: 2.158 MB / 0.4917 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01931/0.3467, allocations: 10.25 MB / 0.5017 GB, free: 3.578 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2234/0.5701, allocations: 42.49 MB / 0.5432 GB, free: 72.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009501/0.5796, allocations: 3.83 MB / 0.5469 GB, free: 72.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001758/0.5814, allocations: 1.625 MB / 0.5485 GB, free: 71.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00866/0.5901, allocations: 6.51 MB / 0.5549 GB, free: 69.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.5901, allocations: 52.84 kB / 0.5549 GB, free: 69.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 4.609e-06/0.5901, allocations: 0 / 0.5549 GB, free: 69.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.032/0.6221, allocations: 16.04 MB / 0.5706 GB, free: 57.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007313/0.6228, allocations: 1.591 MB / 0.5721 GB, free: 56.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003781/0.6266, allocations: 4.213 MB / 0.5763 GB, free: 51.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.6267, allocations: 53.7 kB / 0.5763 GB, free: 51.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.6278, allocations: 3.534 MB / 0.5798 GB, free: 48.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004075/0.6282, allocations: 0.8402 MB / 0.5806 GB, free: 47.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001126/0.6294, allocations: 1.365 MB / 0.5819 GB, free: 46.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.788e-05/0.6294, allocations: 301.1 kB / 0.5822 GB, free: 46.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002389/0.6318, allocations: 2.25 MB / 0.5844 GB, free: 43.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003411/0.6352, allocations: 6.377 MB / 0.5906 GB, free: 35.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006343/0.6415, allocations: 9.287 MB / 0.5997 GB, free: 24.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-05/0.6416, allocations: 45.59 kB / 0.5997 GB, free: 24.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01186/0.6534, allocations: 9.13 MB / 0.6087 GB, free: 15.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.182e-05/0.6535, allocations: 71.94 kB / 0.6087 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00428/0.6578, allocations: 2.864 MB / 0.6115 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002689/0.6605, allocations: 1.08 MB / 0.6126 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004015/0.6645, allocations: 1.571 MB / 0.6141 GB, free: 9.508 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003198/0.6677, allocations: 4.458 MB / 0.6185 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003935/0.6716, allocations: 431 kB / 0.6189 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003826/0.672, allocations: 412 kB / 0.6193 GB, free: 3.992 MB / 446.1 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.002125/0.6741, allocations: 2.204 MB / 0.6214 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004447/0.6746, allocations: 393.4 kB / 0.6218 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005691/0.6803, allocations: 3.317 MB / 0.625 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005326/0.6856, allocations: 2.769 MB / 0.6277 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.6856, allocations: 4 kB / 0.6277 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/0.6856, allocations: 11.97 kB / 0.6278 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01669/0.7023, allocations: 9.8 MB / 0.6373 GB, free: 1.203 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/0.7023, allocations: 13 kB / 0.6373 GB, free: 1.191 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/0.7038, allocations: 379.4 kB / 0.6377 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002895/0.7067, allocations: 0.9864 MB / 0.6387 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/0.7068, allocations: 63.97 kB / 0.6387 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005125/0.712, allocations: 4.689 MB / 0.6433 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001073/0.713, allocations: 1.457 MB / 0.6447 GB, free: 9.27 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008999/0.722, allocations: 5.977 MB / 0.6506 GB, free: 3.082 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007699/0.7228, allocations: 385.1 kB / 0.6509 GB, free: 2.703 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003984/0.7232, allocations: 55.98 kB / 0.651 GB, free: 2.648 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/0.7247, allocations: 151.8 kB / 0.6511 GB, free: 2.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003105/0.725, allocations: 180.3 kB / 0.6513 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/0.7252, allocations: 79.25 kB / 0.6514 GB, free: 2.25 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003619/0.7288, allocations: 2.594 MB / 0.6539 GB, free: 15.65 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7288, allocations: 0 / 0.6539 GB, free: 15.65 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004346/0.7331, allocations: 1.117 MB / 0.655 GB, free: 14.53 MB / 494.1 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.009411/0.7425, allocations: 6.661 MB / 0.6615 GB, free: 7.664 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009666/0.7522, allocations: 5.595 MB / 0.667 GB, free: 2.066 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.635e-05/0.7522, allocations: 0 / 0.667 GB, free: 2.066 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003781/0.756, allocations: 1.976 MB / 0.6689 GB, free: 64 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002738/0.7587, allocations: 0.4911 MB / 0.6694 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07234/0.8311, allocations: 50.81 MB / 0.719 GB, free: 5.883 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003647/0.8347, allocations: 2.928 MB / 0.7219 GB, free: 2.918 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004286/0.839, allocations: 2.014 MB / 0.7238 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002702/0.8417, allocations: 2.103 MB / 0.7259 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of SimCode: time 1.343e-06/0.8417, allocations: 0 / 0.7259 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.055/1.897, allocations: 76.25 MB / 0.8003 GB, free: 200.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 56.25/58.15, allocations: 8.047 kB / 0.8003 GB, free: 200.8 MB / 0.5762 GB " [Timeout remaining time 602] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 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: 60.49669380893465] 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'] 58.386958776041865 58.405188042 58.125097962 Calling exit ...