Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002196/0.002196, allocations: 192.5 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 47.92 kB / 370.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2708, allocations: 52.18 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01216/0.283, allocations: 9.393 MB / 432 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007909/0.2909, allocations: 3.758 MB / 435.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.2921, allocations: 71.62 kB / 435.8 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004891/0.297, allocations: 2.531 MB / 438.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004551/0.3015, allocations: 1.805 MB / 440.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.3031, allocations: 0.6902 MB / 440.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004887/0.308, allocations: 3.691 MB / 444.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003251/0.3112, allocations: 2.718 MB / 447.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002456/0.3137, allocations: 1.503 MB / 448.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002952/0.3167, allocations: 1.985 MB / 450.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006015/0.3173, allocations: 312 kB / 451 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.3194, allocations: 1.081 MB / 452.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001897/0.3213, allocations: 1.877 MB / 454 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001878/0.3232, allocations: 1.592 MB / 455.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007442/0.3306, allocations: 6.746 MB / 462.3 MB, free: 6.441 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3306, allocations: 8 kB / 462.3 MB, free: 6.434 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3306, allocations: 0 / 462.3 MB, free: 6.434 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000119/0.3307, allocations: 0 / 462.3 MB, free: 6.434 MB / 366.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.008458/0.3392, allocations: 4.63 MB / 467 MB, free: 1.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3392, allocations: 8.031 kB / 467 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009499/0.3402, allocations: 0.7275 MB / 467.7 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006805/0.347, allocations: 1.913 MB / 469.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005274/0.3523, allocations: 2.28 MB / 471.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002291/0.3525, allocations: 242.2 kB / 472.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009203/0.3534, allocations: 395.7 kB / 472.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01827/0.3717, allocations: 10.14 MB / 482.7 MB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/0.3718, allocations: 39.64 kB / 482.7 MB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004174/0.3722, allocations: 155.8 kB / 482.8 MB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002856/0.375, allocations: 1.86 MB / 484.7 MB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01719/0.3922, allocations: 8.316 MB / 493 MB, free: 6.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05432/0.4466, allocations: 37.83 MB / 0.5184 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01097/0.4575, allocations: 3.408 MB / 0.5217 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002487/0.46, allocations: 1.338 MB / 0.523 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.4713, allocations: 5.52 MB / 0.5284 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.4714, allocations: 55.5 kB / 0.5285 GB, free: 5.508 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.098e-06/0.4714, allocations: 4 kB / 0.5285 GB, free: 5.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.3005/0.7719, allocations: 12.2 MB / 0.5404 GB, free: 106.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009139/0.7728, allocations: 1.568 MB / 0.5419 GB, free: 105.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004469/0.7773, allocations: 4.057 MB / 0.5459 GB, free: 103.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002276/0.7775, allocations: 49.05 kB / 0.5459 GB, free: 103.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001423/0.7789, allocations: 3.255 MB / 0.5491 GB, free: 101.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005436/0.7795, allocations: 0.6772 MB / 0.5498 GB, free: 101 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001122/0.7806, allocations: 1.258 MB / 0.551 GB, free: 100.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.69e-05/0.7806, allocations: 312.8 kB / 0.5513 GB, free: 100.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002268/0.7829, allocations: 1.999 MB / 0.5533 GB, free: 99.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00353/0.7864, allocations: 5.94 MB / 0.5591 GB, free: 92.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006918/0.7933, allocations: 8.582 MB / 0.5674 GB, free: 82.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001033/0.7934, allocations: 40 kB / 0.5675 GB, free: 82.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01433/0.8078, allocations: 8.758 MB / 0.576 GB, free: 73.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8e-05/0.8079, allocations: 72.03 kB / 0.5761 GB, free: 73.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004978/0.8128, allocations: 2.762 MB / 0.5788 GB, free: 70.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004263/0.8171, allocations: 1.542 MB / 0.5803 GB, free: 69.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003455/0.8206, allocations: 1.357 MB / 0.5816 GB, free: 67.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004414/0.825, allocations: 5.575 MB / 0.5871 GB, free: 61.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004295/0.8293, allocations: 399.5 kB / 0.5875 GB, free: 61.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004505/0.8297, allocations: 388.2 kB / 0.5878 GB, free: 61.16 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.002227/0.8319, allocations: 2.01 MB / 0.5898 GB, free: 59.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005024/0.8324, allocations: 341.7 kB / 0.5901 GB, free: 58.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005634/0.8381, allocations: 3.097 MB / 0.5931 GB, free: 55.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004816/0.8429, allocations: 2.67 MB / 0.5958 GB, free: 52.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.8429, allocations: 11.92 kB / 0.5958 GB, free: 52.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/0.8429, allocations: 7.984 kB / 0.5958 GB, free: 52.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/0.8565, allocations: 8.104 MB / 0.6037 GB, free: 44.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.8565, allocations: 3.938 kB / 0.6037 GB, free: 44.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008353/0.8573, allocations: 187.7 kB / 0.6039 GB, free: 44.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004053/0.8614, allocations: 1.44 MB / 0.6053 GB, free: 43.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/0.8616, allocations: 35.95 kB / 0.6053 GB, free: 43.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004916/0.8665, allocations: 5.787 MB / 0.611 GB, free: 37.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006519/0.8672, allocations: 1.439 MB / 0.6124 GB, free: 35.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007741/0.8749, allocations: 5.308 MB / 0.6175 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/0.8759, allocations: 313.5 kB / 0.6178 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004734/0.8764, allocations: 28 kB / 0.6179 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.8778, allocations: 119.8 kB / 0.618 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/0.878, allocations: 100.7 kB / 0.6181 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.8781, allocations: 51.03 kB / 0.6181 GB, free: 29.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002655/0.8807, allocations: 2.341 MB / 0.6204 GB, free: 27.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8807, allocations: 0 / 0.6204 GB, free: 27.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004514/0.8853, allocations: 1.008 MB / 0.6214 GB, free: 26.25 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.007039/0.8923, allocations: 5.765 MB / 0.627 GB, free: 20.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008104/0.9004, allocations: 5.092 MB / 0.632 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.9004, allocations: 4 kB / 0.632 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003331/0.9037, allocations: 1.794 MB / 0.6338 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/0.9063, allocations: 403.3 kB / 0.6341 GB, free: 13.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07254/0.9788, allocations: 45.41 MB / 0.6785 GB, free: 9.523 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003867/0.9827, allocations: 2.565 MB / 0.681 GB, free: 6.926 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004228/0.9869, allocations: 1.8 MB / 0.6828 GB, free: 5.117 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002797/0.9897, allocations: 1.765 MB / 0.6845 GB, free: 3.352 MB / 494.1 MB Notification: Performance of SimCode: time 1.212e-06/0.9897, allocations: 0 / 0.6845 GB, free: 3.352 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3781/1.368, allocations: 65.62 MB / 0.7486 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.67/19.04, allocations: 10.53 kB / 0.7486 GB, free: 187.4 MB / 0.5294 GB " [Timeout remaining time 641] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.680387867614627] 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.20171375013888 19.212153592 18.879200235 Calling exit ...