Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.0008884/0.0008884, 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.001291/0.001291, 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.8689/0.8689, allocations: 177 MB / 204.1 MB, free: 5.742 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.SpringDamperSystem,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 4 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.327e-06/1.165e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.007293/0.007305, allocations: 10.48 MB / 335 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005414/0.01272, allocations: 4.024 MB / 339 MB, free: 1.324 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005587/0.01328, allocations: 83.56 kB / 339.1 MB, free: 1.242 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002429/0.01571, allocations: 2.822 MB / 341.9 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.01797, allocations: 2.057 MB / 344 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007638/0.01874, allocations: 0.881 MB / 344.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002797/0.02154, allocations: 5.39 MB / 350.3 MB, free: 6.059 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002158/0.02369, allocations: 3.436 MB / 353.7 MB, free: 2.574 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001594/0.02529, allocations: 2.596 MB / 356.3 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/0.02718, allocations: 2.611 MB / 358.9 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002942/0.02748, allocations: 360 kB / 359.3 MB, free: 13 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.02849, allocations: 1.225 MB / 360.5 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.02954, allocations: 2.244 MB / 362.7 MB, free: 9.527 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008429/0.03038, allocations: 1.417 MB / 364.1 MB, free: 8.105 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004225/0.03461, allocations: 7.569 MB / 371.7 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.03461, allocations: 0 / 371.7 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.03461, allocations: 0 / 371.7 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.093e-05/0.03465, allocations: 0 / 371.7 MB, free: 0.5117 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.005232/0.03989, allocations: 5.397 MB / 377.1 MB, free: 11.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.03992, allocations: 11.98 kB / 377.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000588/0.04051, allocations: 0.7982 MB / 377.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00467/0.04518, allocations: 2.385 MB / 380.3 MB, free: 7.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00264/0.04782, allocations: 2.558 MB / 382.9 MB, free: 5.234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.04795, allocations: 266.9 kB / 383.1 MB, free: 4.973 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005685/0.04852, allocations: 435.6 kB / 383.5 MB, free: 4.547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01167/0.06018, allocations: 12.35 MB / 395.9 MB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.964e-05/0.06025, allocations: 51.56 kB / 395.9 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002888/0.06054, allocations: 175.8 kB / 396.1 MB, free: 7.137 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001696/0.06224, allocations: 2.158 MB / 398.3 MB, free: 4.973 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0117/0.07394, allocations: 10.26 MB / 408.5 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1628/0.2367, allocations: 42.72 MB / 451.3 MB, free: 104 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006615/0.2433, allocations: 3.986 MB / 455.2 MB, free: 103.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.2446, allocations: 1.629 MB / 456.9 MB, free: 103.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006772/0.2514, allocations: 6.682 MB / 463.6 MB, free: 101.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.2514, allocations: 57.25 kB / 463.6 MB, free: 101.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=183): time 3.547e-06/0.2514, allocations: 0.8906 kB / 463.6 MB, free: 101.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.01979/0.2712, allocations: 16.62 MB / 480.2 MB, free: 90.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005421/0.2718, allocations: 1.579 MB / 481.8 MB, free: 88.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003105/0.2749, allocations: 4.774 MB / 486.6 MB, free: 84.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-05/0.275, allocations: 57.7 kB / 486.6 MB, free: 84.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007975/0.2758, allocations: 3.505 MB / 490.1 MB, free: 80.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002892/0.276, allocations: 0.8303 MB / 491 MB, free: 79.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008171/0.2769, allocations: 1.341 MB / 492.3 MB, free: 78.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 1.833e-05/0.2769, allocations: 301.1 kB / 492.6 MB, free: 78.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.2787, allocations: 2.336 MB / 494.9 MB, free: 75.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00255/0.2813, allocations: 6.46 MB / 0.4897 GB, free: 67.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005145/0.2864, allocations: 9.427 MB / 0.4989 GB, free: 56.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.774e-05/0.2865, allocations: 40 kB / 0.4989 GB, free: 56.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01019/0.2966, allocations: 10.26 MB / 0.5089 GB, free: 45.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/0.2967, allocations: 71.94 kB / 0.509 GB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005131/0.3018, allocations: 3.959 MB / 0.5129 GB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0044/0.3062, allocations: 2.256 MB / 0.5151 GB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/0.3084, allocations: 1.602 MB / 0.5166 GB, free: 37.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004368/0.3128, allocations: 6.378 MB / 0.5229 GB, free: 31.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/0.3152, allocations: 0.5461 MB / 0.5234 GB, free: 30.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002588/0.3155, allocations: 412 kB / 0.5238 GB, free: 30.38 MB / 410.7 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.001645/0.3171, allocations: 2.211 MB / 0.5259 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002836/0.3174, allocations: 401.9 kB / 0.5263 GB, free: 27.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/0.3206, allocations: 3.305 MB / 0.5296 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002692/0.3232, allocations: 2.769 MB / 0.5323 GB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.3232, allocations: 3.938 kB / 0.5323 GB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.3233, allocations: 11.97 kB / 0.5323 GB, free: 21.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009357/0.3326, allocations: 9.891 MB / 0.5419 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/0.3326, allocations: 15.56 kB / 0.5419 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007144/0.3333, allocations: 380.2 kB / 0.5423 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/0.3347, allocations: 0.9786 MB / 0.5433 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.426e-05/0.3348, allocations: 63.97 kB / 0.5433 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002306/0.3371, allocations: 4.69 MB / 0.5479 GB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003614/0.3374, allocations: 1.462 MB / 0.5493 GB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004758/0.3422, allocations: 5.944 MB / 0.5551 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004591/0.3427, allocations: 429.1 kB / 0.5555 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002364/0.3429, allocations: 67.8 kB / 0.5556 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009729/0.3439, allocations: 215.7 kB / 0.5558 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/0.3441, allocations: 176.5 kB / 0.556 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.663e-05/0.3442, allocations: 79.91 kB / 0.5561 GB, free: 12.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002435/0.3466, allocations: 2.847 MB / 0.5588 GB, free: 9.605 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3466, allocations: 0 / 0.5588 GB, free: 9.605 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002903/0.3495, allocations: 1.262 MB / 0.5601 GB, free: 8.344 MB / 426.7 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.005609/0.3551, allocations: 6.651 MB / 0.5666 GB, free: 1.477 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005654/0.3608, allocations: 5.712 MB / 0.5721 GB, free: 11.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.3608, allocations: 3.984 kB / 0.5721 GB, free: 11.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.3628, allocations: 1.975 MB / 0.5741 GB, free: 9.758 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.3644, allocations: 0.4998 MB / 0.5746 GB, free: 9.266 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1951/0.5594, allocations: 53.67 MB / 0.627 GB, free: 149.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002763/0.5622, allocations: 2.923 MB / 0.6298 GB, free: 149 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003251/0.5655, allocations: 2.032 MB / 0.6318 GB, free: 148.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/0.5669, allocations: 2.109 MB / 0.6339 GB, free: 146.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.603e-06/0.5669, allocations: 0 / 0.6339 GB, free: 146.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08041/0.6473, allocations: 78.69 MB / 0.7107 GB, free: 68.69 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.09, allocations: 3.938 kB / 0.7107 GB, free: 68.69 MB / 474.7 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.754510896280408] 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'] 12.221092455089092 12.227513451 12.191585707 Calling exit ...