Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001848/0.001848, allocations: 111.1 kB / 20.44 MB, free: 1.352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002382/0.002382, allocations: 216.4 kB / 23.73 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 230.5 MB / 257.4 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 55.91 kB / 377.7 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.244, allocations: 53.41 MB / 431.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01179/0.2558, allocations: 9.367 MB / 440.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007597/0.2634, allocations: 3.773 MB / 444.3 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.2647, allocations: 75.62 kB / 444.4 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005015/0.2697, allocations: 2.515 MB / 446.9 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004445/0.2742, allocations: 1.778 MB / 448.7 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.2757, allocations: 0.6863 MB / 449.3 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00509/0.2808, allocations: 3.712 MB / 453 MB, free: 480 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003462/0.2842, allocations: 2.71 MB / 455.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00229/0.2865, allocations: 1.491 MB / 457.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/0.2894, allocations: 1.985 MB / 459.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007087/0.2901, allocations: 312 kB / 459.5 MB, free: 9.898 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.2921, allocations: 1.049 MB / 460.6 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001973/0.2941, allocations: 1.858 MB / 462.4 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00219/0.2963, allocations: 1.58 MB / 464 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007509/0.3038, allocations: 6.7 MB / 470.7 MB, free: 14.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3038, allocations: 3.984 kB / 470.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3038, allocations: 0 / 470.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001948/0.304, allocations: 0 / 470.7 MB, free: 14.66 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.00956/0.3136, allocations: 4.596 MB / 475.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3136, allocations: 11.98 kB / 475.3 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009964/0.3146, allocations: 0.7236 MB / 476.1 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007202/0.3218, allocations: 1.979 MB / 478 MB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004978/0.3268, allocations: 2.171 MB / 480.2 MB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.327, allocations: 246.2 kB / 480.5 MB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/0.3281, allocations: 395.7 kB / 480.8 MB, free: 4.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01826/0.3464, allocations: 10.19 MB / 491 MB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/0.3465, allocations: 39.69 kB / 491.1 MB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004155/0.3469, allocations: 159.8 kB / 491.2 MB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002838/0.3497, allocations: 1.853 MB / 493.1 MB, free: 7.473 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01785/0.3676, allocations: 8.351 MB / 0.4897 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05059/0.4181, allocations: 37.82 MB / 0.5266 GB, free: 8.145 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/0.4289, allocations: 3.455 MB / 0.53 GB, free: 4.656 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00212/0.431, allocations: 1.334 MB / 0.5313 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2184/0.6494, allocations: 5.527 MB / 0.5367 GB, free: 100.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.6494, allocations: 51.72 kB / 0.5367 GB, free: 100.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.679e-06/0.6494, allocations: 0 / 0.5367 GB, free: 100.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.02832/0.6777, allocations: 12.36 MB / 0.5488 GB, free: 96.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008594/0.6786, allocations: 1.571 MB / 0.5503 GB, free: 94.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004142/0.6827, allocations: 4.057 MB / 0.5543 GB, free: 92.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002833/0.683, allocations: 45.7 kB / 0.5543 GB, free: 92.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001333/0.6844, allocations: 3.24 MB / 0.5575 GB, free: 89.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005053/0.6849, allocations: 0.6802 MB / 0.5582 GB, free: 89.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/0.6859, allocations: 1.254 MB / 0.5594 GB, free: 87.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.271e-05/0.686, allocations: 313 kB / 0.5597 GB, free: 87.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002295/0.6883, allocations: 2.015 MB / 0.5617 GB, free: 85.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00346/0.6917, allocations: 5.957 MB / 0.5675 GB, free: 77.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006534/0.6982, allocations: 8.593 MB / 0.5759 GB, free: 66.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001063/0.6984, allocations: 40 kB / 0.5759 GB, free: 66.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01356/0.7119, allocations: 8.814 MB / 0.5845 GB, free: 58.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.08e-05/0.712, allocations: 68.25 kB / 0.5846 GB, free: 58.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005262/0.7172, allocations: 2.816 MB / 0.5873 GB, free: 55.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00456/0.7218, allocations: 1.561 MB / 0.5889 GB, free: 53.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003611/0.7254, allocations: 1.36 MB / 0.5902 GB, free: 52.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.7355, allocations: 9.247 MB / 0.5992 GB, free: 42.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004531/0.74, allocations: 399.5 kB / 0.5996 GB, free: 42.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000874/0.7409, allocations: 392.4 kB / 0.6 GB, free: 41.93 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.00286/0.7438, allocations: 2.016 MB / 0.6019 GB, free: 39.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006359/0.7444, allocations: 341.7 kB / 0.6023 GB, free: 39.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007681/0.7452, allocations: 440.4 kB / 0.6027 GB, free: 39.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005191/0.7504, allocations: 2.703 MB / 0.6053 GB, free: 36.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.7504, allocations: 4 kB / 0.6053 GB, free: 36.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.7504, allocations: 7.984 kB / 0.6053 GB, free: 36.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/0.7652, allocations: 8.16 MB / 0.6133 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/0.7652, allocations: 0 / 0.6133 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008283/0.766, allocations: 195.7 kB / 0.6135 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004161/0.7702, allocations: 1.459 MB / 0.6149 GB, free: 26.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/0.7704, allocations: 31.92 kB / 0.6149 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/0.7808, allocations: 9.42 MB / 0.6241 GB, free: 16.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007314/0.7815, allocations: 1.428 MB / 0.6255 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008056/0.7896, allocations: 5.383 MB / 0.6308 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000899/0.7905, allocations: 309.5 kB / 0.6311 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006524/0.7911, allocations: 31.98 kB / 0.6311 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/0.7927, allocations: 119.8 kB / 0.6312 GB, free: 9.281 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003017/0.793, allocations: 120.7 kB / 0.6313 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.7931, allocations: 51.75 kB / 0.6314 GB, free: 9.113 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003114/0.7962, allocations: 2.345 MB / 0.6337 GB, free: 6.785 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7962, allocations: 0 / 0.6337 GB, free: 6.785 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004609/0.8008, allocations: 1.043 MB / 0.6347 GB, free: 5.742 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.008592/0.8094, allocations: 6.008 MB / 0.6406 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0108/0.8202, allocations: 5.389 MB / 0.6458 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.8202, allocations: 0 / 0.6458 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004556/0.8248, allocations: 2.078 MB / 0.6479 GB, free: 8.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002788/0.8276, allocations: 410.4 kB / 0.6483 GB, free: 7.766 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08073/0.9083, allocations: 45.54 MB / 0.6927 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004955/0.9133, allocations: 2.589 MB / 0.6953 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004614/0.9179, allocations: 1.807 MB / 0.697 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002731/0.9206, allocations: 1.761 MB / 0.6987 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.9206, allocations: 3.938 kB / 0.6987 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3529/1.273, allocations: 69.53 MB / 0.7666 GB, free: 184 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.76/19.03, allocations: 11.3 kB / 0.7667 GB, free: 184 MB / 0.545 GB " [Timeout remaining time 641] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0019988 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.6461632438004] 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]'] 19.201429805718362 19.21046226 18.904339878000002 Calling exit ...