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.001384/0.001384, 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.001445/0.001445, allocations: 205.5 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001648/0.001648, allocations: 47.92 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.259, allocations: 53.37 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01298/0.272, allocations: 10.48 MB / 441.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009116/0.2811, allocations: 4.003 MB / 445.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.2833, allocations: 83.56 kB / 445.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006332/0.2897, allocations: 2.682 MB / 448.3 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006413/0.2961, allocations: 2.004 MB / 450.3 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.2982, allocations: 0.8111 MB / 451.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007189/0.3054, allocations: 4.674 MB / 455.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00408/0.3095, allocations: 2.949 MB / 458.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003056/0.3125, allocations: 1.702 MB / 460.5 MB, free: 9.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004144/0.3167, allocations: 2.527 MB / 463 MB, free: 6.566 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001103/0.3178, allocations: 352 kB / 463.3 MB, free: 6.223 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002784/0.3206, allocations: 1.174 MB / 464.5 MB, free: 5.047 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002755/0.3233, allocations: 2.146 MB / 466.7 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002614/0.3259, allocations: 1.806 MB / 468.5 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01179/0.3377, allocations: 7.544 MB / 476 MB, free: 9.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.3377, allocations: 0 / 476 MB, free: 9.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3377, allocations: 0 / 476 MB, free: 9.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000268/0.338, allocations: 0 / 476 MB, free: 9.504 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.01381/0.3518, allocations: 5.327 MB / 481.3 MB, free: 4.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.859e-05/0.3519, allocations: 8.031 kB / 481.4 MB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001723/0.3536, allocations: 0.7943 MB / 482.1 MB, free: 3.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008714/0.3623, allocations: 2.225 MB / 484.4 MB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007366/0.3697, allocations: 2.897 MB / 487.3 MB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003105/0.37, allocations: 270.9 kB / 487.5 MB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001667/0.3716, allocations: 427.7 kB / 488 MB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0274/0.399, allocations: 12.34 MB / 0.4886 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001629/0.3992, allocations: 51.58 kB / 0.4886 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007175/0.3999, allocations: 171.8 kB / 0.4888 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003643/0.4036, allocations: 2.166 MB / 0.4909 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02409/0.4277, allocations: 10.22 MB / 0.5009 GB, free: 3.637 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3064/0.734, allocations: 42.48 MB / 0.5424 GB, free: 72.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/0.7445, allocations: 3.82 MB / 0.5461 GB, free: 71.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001998/0.7465, allocations: 1.629 MB / 0.5477 GB, free: 71.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/0.7575, allocations: 6.506 MB / 0.554 GB, free: 69.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.7575, allocations: 64.41 kB / 0.5541 GB, free: 69.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 5.53e-06/0.7576, allocations: 0 / 0.5541 GB, free: 69.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.03579/0.7933, allocations: 16.05 MB / 0.5698 GB, free: 57.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009935/0.7943, allocations: 1.582 MB / 0.5713 GB, free: 56.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004572/0.7989, allocations: 4.451 MB / 0.5757 GB, free: 51.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003444/0.7993, allocations: 57.86 kB / 0.5757 GB, free: 51.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001373/0.8006, allocations: 3.544 MB / 0.5792 GB, free: 48.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006566/0.8013, allocations: 0.8431 MB / 0.58 GB, free: 47.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/0.8025, allocations: 1.365 MB / 0.5813 GB, free: 46.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.142e-05/0.8026, allocations: 301.1 kB / 0.5816 GB, free: 45.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002693/0.8053, allocations: 2.242 MB / 0.5838 GB, free: 43.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003963/0.8092, allocations: 6.38 MB / 0.59 GB, free: 35.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007617/0.8168, allocations: 9.29 MB / 0.5991 GB, free: 24.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.74e-05/0.8169, allocations: 44 kB / 0.5992 GB, free: 24.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01468/0.8316, allocations: 9.12 MB / 0.6081 GB, free: 14.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.454e-05/0.8317, allocations: 71.94 kB / 0.6081 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00469/0.8364, allocations: 2.868 MB / 0.6109 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002806/0.8392, allocations: 1.072 MB / 0.612 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004513/0.8437, allocations: 1.581 MB / 0.6135 GB, free: 9.277 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003548/0.8472, allocations: 4.439 MB / 0.6179 GB, free: 4.602 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004744/0.852, allocations: 443.1 kB / 0.6183 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006925/0.8527, allocations: 416 kB / 0.6187 GB, free: 3.766 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.002534/0.8552, allocations: 2.211 MB / 0.6208 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005825/0.8558, allocations: 393.4 kB / 0.6212 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006435/0.8622, allocations: 3.309 MB / 0.6244 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005652/0.8679, allocations: 2.773 MB / 0.6272 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.8679, allocations: 0 / 0.6272 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.367e-05/0.8679, allocations: 11.97 kB / 0.6272 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02048/0.8884, allocations: 9.806 MB / 0.6367 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-05/0.8884, allocations: 12 kB / 0.6367 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001601/0.89, allocations: 379.4 kB / 0.6371 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003053/0.8931, allocations: 0.9827 MB / 0.6381 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002372/0.8933, allocations: 59.97 kB / 0.6381 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005657/0.899, allocations: 4.686 MB / 0.6427 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001161/0.9001, allocations: 1.465 MB / 0.6441 GB, free: 9.043 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009935/0.9101, allocations: 5.982 MB / 0.65 GB, free: 2.852 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.9112, allocations: 377.2 kB / 0.6503 GB, free: 2.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004808/0.9117, allocations: 59.98 kB / 0.6504 GB, free: 2.422 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/0.9133, allocations: 155.8 kB / 0.6505 GB, free: 2.27 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003422/0.9137, allocations: 180.3 kB / 0.6507 GB, free: 2.094 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/0.9138, allocations: 75.81 kB / 0.6508 GB, free: 2.023 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004143/0.918, allocations: 2.594 MB / 0.6533 GB, free: 15.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.918, allocations: 0.5625 kB / 0.6533 GB, free: 15.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005318/0.9233, allocations: 1.109 MB / 0.6544 GB, free: 14.31 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.01099/0.9343, allocations: 6.663 MB / 0.6609 GB, free: 7.441 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01063/0.9449, allocations: 5.591 MB / 0.6664 GB, free: 1.848 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.61e-05/0.9449, allocations: 0 / 0.6664 GB, free: 1.848 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004513/0.9494, allocations: 1.979 MB / 0.6683 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003859/0.9533, allocations: 499.8 kB / 0.6688 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08547/1.039, allocations: 50.81 MB / 0.7184 GB, free: 5.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004287/1.043, allocations: 2.927 MB / 0.7213 GB, free: 2.715 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004733/1.048, allocations: 2.014 MB / 0.7232 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003262/1.051, allocations: 2.096 MB / 0.7253 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/1.051, allocations: 0 / 0.7253 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3442/1.395, allocations: 76.44 MB / 0.7999 GB, free: 199.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.38/19.77, allocations: 5.75 kB / 0.7999 GB, free: 199.9 MB / 0.5762 GB " [Timeout remaining time 640] (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: 22.335809556010645] 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.951824399002362 19.966585121 19.625446164 Calling exit ...