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.001341/0.001341, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001609/0.001609, allocations: 205.3 kB / 23.73 MB, free: 4.379 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.42/1.42, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 0.0015/0.0015, allocations: 43.92 kB / 377.7 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2631, allocations: 53.37 MB / 431.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01344/0.2765, allocations: 10.48 MB / 441.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008784/0.2853, allocations: 4.009 MB / 445.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.2869, allocations: 79.62 kB / 445.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005293/0.2922, allocations: 2.682 MB / 448.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005199/0.2974, allocations: 2.004 MB / 450.3 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.2993, allocations: 0.815 MB / 451.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007369/0.3066, allocations: 4.678 MB / 455.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004185/0.3108, allocations: 2.938 MB / 458.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/0.3136, allocations: 1.717 MB / 460.5 MB, free: 9.074 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003689/0.3173, allocations: 2.519 MB / 463 MB, free: 6.547 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007487/0.318, allocations: 352 kB / 463.4 MB, free: 6.203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.3202, allocations: 1.174 MB / 464.5 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002251/0.3224, allocations: 2.142 MB / 466.7 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002736/0.3252, allocations: 1.817 MB / 468.5 MB, free: 1.051 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009031/0.3342, allocations: 7.54 MB / 476 MB, free: 9.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3342, allocations: 0 / 476 MB, free: 9.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3342, allocations: 0 / 476 MB, free: 9.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001842/0.3344, allocations: 0 / 476 MB, free: 9.48 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.01306/0.3474, allocations: 5.327 MB / 481.4 MB, free: 4.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.3475, allocations: 12.03 kB / 481.4 MB, free: 4.082 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001462/0.349, allocations: 0.7943 MB / 482.2 MB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008426/0.3574, allocations: 2.217 MB / 484.4 MB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006894/0.3643, allocations: 2.894 MB / 487.3 MB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.3645, allocations: 270.9 kB / 487.5 MB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/0.3656, allocations: 427.6 kB / 488 MB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.023/0.3886, allocations: 12.34 MB / 0.4886 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000133/0.3887, allocations: 51.58 kB / 0.4886 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005009/0.3892, allocations: 175.8 kB / 0.4888 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003526/0.3927, allocations: 2.166 MB / 0.4909 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0219/0.4146, allocations: 10.21 MB / 0.5009 GB, free: 3.629 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2604/0.675, allocations: 42.49 MB / 0.5424 GB, free: 71.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0101/0.6851, allocations: 3.83 MB / 0.5461 GB, free: 71.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001919/0.687, allocations: 1.626 MB / 0.5477 GB, free: 71.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01014/0.6971, allocations: 6.503 MB / 0.554 GB, free: 69.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.6972, allocations: 63.67 kB / 0.5541 GB, free: 69.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 4.048e-06/0.6972, allocations: 0 / 0.5541 GB, free: 69.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.03475/0.7319, allocations: 16.04 MB / 0.5698 GB, free: 57.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000887/0.7328, allocations: 1.595 MB / 0.5713 GB, free: 56.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0045/0.7373, allocations: 4.457 MB / 0.5757 GB, free: 51.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003253/0.7376, allocations: 53.7 kB / 0.5757 GB, free: 51.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001339/0.739, allocations: 3.537 MB / 0.5792 GB, free: 48.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005828/0.7395, allocations: 0.8441 MB / 0.58 GB, free: 47.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00124/0.7408, allocations: 1.365 MB / 0.5813 GB, free: 46.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.096e-05/0.7408, allocations: 305.2 kB / 0.5816 GB, free: 45.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00252/0.7433, allocations: 2.242 MB / 0.5838 GB, free: 43.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003787/0.7471, allocations: 6.381 MB / 0.59 GB, free: 35.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006966/0.7541, allocations: 9.279 MB / 0.5991 GB, free: 24.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.682e-05/0.7542, allocations: 44 kB / 0.5992 GB, free: 24 MB / 446.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.0132/0.7674, allocations: 9.133 MB / 0.6081 GB, free: 14.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.942e-05/0.7674, allocations: 68 kB / 0.6081 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00449/0.7719, allocations: 2.864 MB / 0.6109 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00283/0.7748, allocations: 1.076 MB / 0.612 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004186/0.7789, allocations: 1.579 MB / 0.6135 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003466/0.7824, allocations: 4.443 MB / 0.6179 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004578/0.787, allocations: 435.3 kB / 0.6183 GB, free: 4.133 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006652/0.7877, allocations: 412 kB / 0.6187 GB, free: 3.73 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.002471/0.7901, allocations: 2.212 MB / 0.6208 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000572/0.7907, allocations: 393.4 kB / 0.6212 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006171/0.7969, allocations: 3.308 MB / 0.6244 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005427/0.8023, allocations: 2.777 MB / 0.6271 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.8023, allocations: 0 / 0.6271 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/0.8023, allocations: 11.97 kB / 0.6272 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01945/0.8218, allocations: 9.804 MB / 0.6367 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.24e-05/0.8218, allocations: 12 kB / 0.6367 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/0.8234, allocations: 383.5 kB / 0.6371 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003054/0.8264, allocations: 0.9837 MB / 0.6381 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001978/0.8266, allocations: 60.53 kB / 0.6381 GB, free: 15.49 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005538/0.8322, allocations: 4.691 MB / 0.6427 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001261/0.8334, allocations: 1.457 MB / 0.6441 GB, free: 9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009773/0.8432, allocations: 5.979 MB / 0.65 GB, free: 2.816 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/0.8443, allocations: 377.2 kB / 0.6503 GB, free: 2.445 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004444/0.8447, allocations: 63.97 kB / 0.6504 GB, free: 2.383 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/0.8463, allocations: 155.7 kB / 0.6505 GB, free: 2.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003394/0.8467, allocations: 180.3 kB / 0.6507 GB, free: 2.055 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.8468, allocations: 71.98 kB / 0.6508 GB, free: 1.984 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004023/0.8508, allocations: 2.598 MB / 0.6533 GB, free: 15.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8508, allocations: 0 / 0.6533 GB, free: 15.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004862/0.8557, allocations: 1.113 MB / 0.6544 GB, free: 14.27 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.01006/0.8657, allocations: 6.664 MB / 0.6609 GB, free: 7.395 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01017/0.8759, allocations: 5.584 MB / 0.6664 GB, free: 1.805 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.551e-05/0.8759, allocations: 0 / 0.6664 GB, free: 1.805 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004017/0.88, allocations: 1.975 MB / 0.6683 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002946/0.8829, allocations: 0.5011 MB / 0.6688 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07375/0.9567, allocations: 50.8 MB / 0.7184 GB, free: 5.629 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004165/0.9608, allocations: 2.924 MB / 0.7213 GB, free: 2.668 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004721/0.9655, allocations: 2.014 MB / 0.7232 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002877/0.9684, allocations: 2.097 MB / 0.7253 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of SimCode: time 1.092e-06/0.9684, allocations: 0 / 0.7253 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7744/1.743, allocations: 76.44 MB / 0.7999 GB, free: 199.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.5/19.25, allocations: 3.266 kB / 0.7999 GB, free: 199.9 MB / 0.5762 GB " [Timeout remaining time 641] (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: 21.775403356004972] 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'] 19.416195582976798 19.425863148 19.089433423 Calling exit ...