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.0009976/0.0009976, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009449/0.0009449, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8888/0.8888, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.463e-06/1.463e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.279e-05, allocations: 3.125 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.007249/0.007272, allocations: 9.369 MB / 333.9 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006321/0.01359, allocations: 3.774 MB / 337.7 MB, free: 2.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.01542, allocations: 71.62 kB / 337.7 MB, free: 2.609 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00335/0.01877, allocations: 2.643 MB / 340.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004193/0.02296, allocations: 1.835 MB / 342.2 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.02454, allocations: 0.7366 MB / 343 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004692/0.02923, allocations: 4.104 MB / 347.1 MB, free: 9.258 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003795/0.03303, allocations: 2.975 MB / 350 MB, free: 6.223 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003196/0.03622, allocations: 2.226 MB / 352.3 MB, free: 3.992 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003/0.03922, allocations: 2.069 MB / 354.3 MB, free: 1.918 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007345/0.03996, allocations: 316 kB / 354.6 MB, free: 1.609 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.04158, allocations: 1.092 MB / 355.7 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001382/0.04296, allocations: 1.94 MB / 357.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002068/0.04503, allocations: 1.227 MB / 358.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006834/0.05186, allocations: 6.685 MB / 365.6 MB, free: 6.633 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.05187, allocations: 0 / 365.6 MB, free: 6.633 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.05187, allocations: 0 / 365.6 MB, free: 6.633 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002426/0.05211, allocations: 0 / 365.6 MB, free: 6.633 MB / 330.7 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.007768/0.05988, allocations: 4.615 MB / 370.2 MB, free: 1.961 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.05993, allocations: 11.98 kB / 370.2 MB, free: 1.949 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007363/0.06067, allocations: 0.7236 MB / 370.9 MB, free: 1.215 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004101/0.06477, allocations: 2.073 MB / 373 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002861/0.06763, allocations: 2.007 MB / 375 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.06777, allocations: 254.1 kB / 375.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000593/0.06837, allocations: 391.8 kB / 375.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01292/0.08129, allocations: 10.2 MB / 385.8 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/0.0814, allocations: 43.58 kB / 385.9 MB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003426/0.08175, allocations: 151.9 kB / 386 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001802/0.08355, allocations: 1.86 MB / 387.9 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01306/0.09661, allocations: 8.359 MB / 396.2 MB, free: 7.098 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03459/0.1312, allocations: 37.97 MB / 434.2 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006708/0.1379, allocations: 3.604 MB / 437.8 MB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/0.1395, allocations: 1.334 MB / 439.2 MB, free: 11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007712/0.1472, allocations: 5.668 MB / 444.8 MB, free: 5.305 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.1472, allocations: 51.5 kB / 444.9 MB, free: 5.246 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 4.538e-06/0.1472, allocations: 0 / 444.9 MB, free: 5.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=159): time 0.1653/0.3125, allocations: 12.66 MB / 457.5 MB, free: 112 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00069/0.3132, allocations: 1.572 MB / 459.1 MB, free: 110.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003345/0.3165, allocations: 4.206 MB / 463.3 MB, free: 109 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001913/0.3167, allocations: 51.56 kB / 463.4 MB, free: 108.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009211/0.3176, allocations: 3.204 MB / 466.6 MB, free: 106.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004073/0.318, allocations: 0.6688 MB / 467.2 MB, free: 106.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000889/0.3189, allocations: 1.249 MB / 468.5 MB, free: 105.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.532e-05/0.3189, allocations: 301.1 kB / 468.8 MB, free: 105.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/0.3208, allocations: 2.096 MB / 470.9 MB, free: 104 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00257/0.3233, allocations: 6.041 MB / 476.9 MB, free: 96.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005031/0.3284, allocations: 8.72 MB / 485.6 MB, free: 86.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.438e-05/0.3284, allocations: 40 kB / 485.7 MB, free: 86.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01262/0.3411, allocations: 9.934 MB / 495.6 MB, free: 76.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.587e-05/0.3411, allocations: 64 kB / 495.7 MB, free: 76.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0059/0.347, allocations: 3.909 MB / 499.6 MB, free: 72.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005652/0.3527, allocations: 2.739 MB / 0.4905 GB, free: 69.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/0.3551, allocations: 1.376 MB / 0.4919 GB, free: 67.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008654/0.3637, allocations: 11.19 MB / 0.5028 GB, free: 56.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003423/0.3671, allocations: 475.4 kB / 0.5033 GB, free: 55.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004064/0.3675, allocations: 392 kB / 0.5036 GB, free: 55.61 MB / 410.7 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 {(4,31)} Notification: Performance of prepare postOptimizeDAE: time 0.001931/0.3695, allocations: 2.005 MB / 0.5056 GB, free: 53.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003748/0.3698, allocations: 341.7 kB / 0.5059 GB, free: 53.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003555/0.3702, allocations: 440.5 kB / 0.5063 GB, free: 52.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003119/0.3733, allocations: 2.707 MB / 0.509 GB, free: 50.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.3733, allocations: 7.938 kB / 0.509 GB, free: 50.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.3733, allocations: 7.969 kB / 0.509 GB, free: 50.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009511/0.3829, allocations: 8.221 MB / 0.517 GB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.3829, allocations: 0 / 0.517 GB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005159/0.3834, allocations: 187.7 kB / 0.5172 GB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002211/0.3856, allocations: 1.454 MB / 0.5186 GB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.888e-05/0.3857, allocations: 39.97 kB / 0.5187 GB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006336/0.392, allocations: 9.423 MB / 0.5279 GB, free: 30.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004093/0.3924, allocations: 1.451 MB / 0.5293 GB, free: 28.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004999/0.3974, allocations: 5.356 MB / 0.5345 GB, free: 23.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007503/0.3982, allocations: 337.5 kB / 0.5348 GB, free: 23.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/0.3984, allocations: 39.77 kB / 0.5349 GB, free: 23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007784/0.3992, allocations: 159.7 kB / 0.535 GB, free: 22.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/0.3994, allocations: 116.8 kB / 0.5351 GB, free: 22.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.449e-05/0.3994, allocations: 39.98 kB / 0.5352 GB, free: 22.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002183/0.4016, allocations: 2.462 MB / 0.5376 GB, free: 20.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4016, allocations: 0 / 0.5376 GB, free: 20.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003606/0.4052, allocations: 1.159 MB / 0.5387 GB, free: 19.09 MB / 410.7 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.00515/0.4104, allocations: 6.031 MB / 0.5446 GB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005961/0.4163, allocations: 5.462 MB / 0.5499 GB, free: 7.543 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.4164, allocations: 4.188 kB / 0.5499 GB, free: 7.539 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002189/0.4185, allocations: 2.086 MB / 0.552 GB, free: 5.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/0.4203, allocations: 397.3 kB / 0.5524 GB, free: 5.027 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05813/0.4784, allocations: 47.92 MB / 0.5992 GB, free: 14.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002439/0.4809, allocations: 2.585 MB / 0.6017 GB, free: 12.29 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002649/0.4835, allocations: 1.815 MB / 0.6035 GB, free: 10.47 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001825/0.4853, allocations: 1.773 MB / 0.6052 GB, free: 8.695 MB / 474.7 MB Notification: Performance of SimCode: time 1.743e-06/0.4853, allocations: 0 / 0.6052 GB, free: 8.695 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2422/0.7275, allocations: 73.97 MB / 0.6774 GB, free: 110.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.06, allocations: 8.047 kB / 0.6774 GB, free: 110.8 MB / 474.7 MB " [Timeout remaining time 648] (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: 13.866455966606736] 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]'] 12.18919771257788 12.195983686 12.142472456 Calling exit ...