Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.001328/0.001328, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00148/0.00148, allocations: 211 kB / 23.73 MB, free: 4.523 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.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.ThreeSprings,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 47.92 kB / 377.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2336, allocations: 53.36 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.0118/0.2454, allocations: 9.37 MB / 440.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007629/0.253, allocations: 3.77 MB / 444.2 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.2546, allocations: 71.62 kB / 444.3 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004952/0.2596, allocations: 2.503 MB / 446.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004755/0.2643, allocations: 1.789 MB / 448.6 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.2659, allocations: 0.6902 MB / 449.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005441/0.2713, allocations: 3.709 MB / 453 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004208/0.2755, allocations: 2.733 MB / 455.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002191/0.2777, allocations: 1.491 MB / 457.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002766/0.2805, allocations: 2.114 MB / 459.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005325/0.281, allocations: 316 kB / 459.6 MB, free: 9.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.2829, allocations: 1.057 MB / 460.7 MB, free: 8.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001855/0.2848, allocations: 1.854 MB / 462.5 MB, free: 7.008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001704/0.2865, allocations: 1.576 MB / 464.1 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007884/0.2944, allocations: 6.707 MB / 470.8 MB, free: 14.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2944, allocations: 4 kB / 470.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2944, allocations: 0 / 470.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001384/0.2945, allocations: 0 / 470.8 MB, free: 14.68 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.008124/0.3026, allocations: 4.592 MB / 475.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3027, allocations: 12.03 kB / 475.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009235/0.3036, allocations: 0.7197 MB / 476.2 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006916/0.3105, allocations: 1.975 MB / 478.1 MB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00546/0.316, allocations: 2.171 MB / 480.3 MB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002675/0.3162, allocations: 242.2 kB / 480.5 MB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00118/0.3174, allocations: 399.7 kB / 480.9 MB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01942/0.3368, allocations: 10.19 MB / 491.1 MB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/0.3369, allocations: 35.69 kB / 491.2 MB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004264/0.3374, allocations: 159.9 kB / 491.3 MB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002814/0.3402, allocations: 1.849 MB / 493.2 MB, free: 7.512 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01684/0.357, allocations: 8.362 MB / 0.4898 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04966/0.4067, allocations: 37.82 MB / 0.5267 GB, free: 8.168 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/0.417, allocations: 3.455 MB / 0.5301 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002153/0.4191, allocations: 1.33 MB / 0.5314 GB, free: 3.336 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.262/0.6811, allocations: 5.525 MB / 0.5368 GB, free: 100.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/0.6811, allocations: 54.61 kB / 0.5368 GB, free: 100.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 5.791e-06/0.6811, allocations: 0 / 0.5368 GB, free: 100.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.0303/0.7114, allocations: 12.35 MB / 0.5489 GB, free: 96.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009687/0.7124, allocations: 1.573 MB / 0.5504 GB, free: 94.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004461/0.7169, allocations: 4.057 MB / 0.5544 GB, free: 92.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003262/0.7172, allocations: 45.7 kB / 0.5544 GB, free: 92.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.7185, allocations: 3.233 MB / 0.5576 GB, free: 89.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006359/0.7191, allocations: 0.6763 MB / 0.5582 GB, free: 89.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/0.7204, allocations: 1.263 MB / 0.5595 GB, free: 87.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.869e-05/0.7205, allocations: 309.2 kB / 0.5598 GB, free: 87.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00233/0.7228, allocations: 2.026 MB / 0.5618 GB, free: 85.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003566/0.7264, allocations: 5.953 MB / 0.5676 GB, free: 77.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006806/0.7332, allocations: 8.585 MB / 0.576 GB, free: 67.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001203/0.7333, allocations: 43.94 kB / 0.576 GB, free: 67.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01499/0.7483, allocations: 8.823 MB / 0.5846 GB, free: 58.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.7484, allocations: 64 kB / 0.5847 GB, free: 58.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009736/0.7581, allocations: 2.821 MB / 0.5874 GB, free: 55.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007101/0.7652, allocations: 1.557 MB / 0.5889 GB, free: 53.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004359/0.7696, allocations: 1.361 MB / 0.5903 GB, free: 52.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.7806, allocations: 9.253 MB / 0.5993 GB, free: 42.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005154/0.7857, allocations: 399.5 kB / 0.5997 GB, free: 42.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/0.7868, allocations: 392 kB / 0.6001 GB, free: 42.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[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 (738): * Single equations (assignments): 728 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(6,29)} Notification: Performance of prepare postOptimizeDAE: time 0.003759/0.7905, allocations: 2.006 MB / 0.602 GB, free: 40.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009394/0.7915, allocations: 345.7 kB / 0.6024 GB, free: 39.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.7926, allocations: 432.5 kB / 0.6028 GB, free: 39.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0055/0.7981, allocations: 2.71 MB / 0.6054 GB, free: 36.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.183e-05/0.7981, allocations: 4 kB / 0.6054 GB, free: 36.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.541e-05/0.7982, allocations: 3.984 kB / 0.6054 GB, free: 36.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01876/0.8169, allocations: 8.162 MB / 0.6134 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.176e-05/0.817, allocations: 0 / 0.6134 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009042/0.8179, allocations: 196.2 kB / 0.6136 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004196/0.8221, allocations: 1.455 MB / 0.615 GB, free: 26.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002005/0.8223, allocations: 35.92 kB / 0.615 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01008/0.8323, allocations: 9.419 MB / 0.6242 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000689/0.833, allocations: 1.44 MB / 0.6256 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007764/0.8408, allocations: 5.381 MB / 0.6309 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009717/0.8418, allocations: 309.5 kB / 0.6312 GB, free: 9.594 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008755/0.8426, allocations: 35.98 kB / 0.6312 GB, free: 9.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/0.8443, allocations: 119.8 kB / 0.6313 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003301/0.8447, allocations: 116.6 kB / 0.6314 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.8448, allocations: 47.91 kB / 0.6315 GB, free: 9.281 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003457/0.8482, allocations: 2.345 MB / 0.6338 GB, free: 6.953 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.8482, allocations: 3.938 kB / 0.6338 GB, free: 6.949 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005026/0.8533, allocations: 1.043 MB / 0.6348 GB, free: 5.906 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($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]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008304/0.8616, allocations: 6.01 MB / 0.6407 GB, free: 15.86 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01159/0.8732, allocations: 5.385 MB / 0.6459 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/0.8732, allocations: 0 / 0.6459 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007429/0.8806, allocations: 2.079 MB / 0.648 GB, free: 8.324 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/0.8832, allocations: 407 kB / 0.6484 GB, free: 7.938 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08912/0.9724, allocations: 45.54 MB / 0.6928 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006005/0.9784, allocations: 2.589 MB / 0.6953 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006812/0.9852, allocations: 1.804 MB / 0.6971 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004541/0.9897, allocations: 1.768 MB / 0.6988 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of SimCode: time 1.563e-06/0.9897, allocations: 0 / 0.6988 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6368/1.627, allocations: 72.18 MB / 0.7693 GB, free: 185.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.04/18.67, allocations: 1.75 kB / 0.7693 GB, free: 185.2 MB / 0.545 GB " [Timeout remaining time 641] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_fmu --startTime=0 --stopTime=10 --stepSize=0.0019988 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.088787500018952] 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]'] 18.837924847000977 18.856808064 18.558580867 Calling exit ...