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.001246/0.001246, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001444/0.001444, allocations: 214.2 kB / 24.52 MB, free: 3.918 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.355/1.355, allocations: 230.5 MB / 258.2 MB, free: 7.777 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.SpringDamperSystem,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 59.91 kB / 378.5 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.218, allocations: 53.41 MB / 431.9 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01261/0.2306, allocations: 10.4 MB / 442.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008423/0.239, allocations: 4.007 MB / 446.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.2401, allocations: 79.62 kB / 446.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00498/0.2451, allocations: 2.69 MB / 449.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004653/0.2497, allocations: 1.992 MB / 451.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.2516, allocations: 0.8111 MB / 451.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006405/0.258, allocations: 4.69 MB / 456.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004075/0.2621, allocations: 2.941 MB / 459.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002631/0.2647, allocations: 1.705 MB / 461.2 MB, free: 8.988 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003714/0.2684, allocations: 2.523 MB / 463.8 MB, free: 6.457 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008389/0.2693, allocations: 352 kB / 464.1 MB, free: 6.113 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002302/0.2716, allocations: 1.174 MB / 465.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002165/0.2738, allocations: 2.142 MB / 467.4 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002318/0.2761, allocations: 1.813 MB / 469.2 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008614/0.2847, allocations: 7.548 MB / 476.8 MB, free: 9.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2847, allocations: 0 / 476.8 MB, free: 9.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2847, allocations: 0 / 476.8 MB, free: 9.387 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001535/0.2848, allocations: 0 / 476.8 MB, free: 9.387 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.009919/0.2948, allocations: 5.319 MB / 482.1 MB, free: 4.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.2948, allocations: 12.02 kB / 482.1 MB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001258/0.2949, allocations: 115.2 kB / 482.2 MB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001175/0.2961, allocations: 0.7943 MB / 483 MB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009307/0.3054, allocations: 2.217 MB / 485.2 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006063/0.3115, allocations: 2.893 MB / 488.1 MB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002608/0.3117, allocations: 278.8 kB / 488.4 MB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001314/0.313, allocations: 427.6 kB / 488.8 MB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02273/0.3358, allocations: 12.34 MB / 0.4894 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001398/0.3359, allocations: 51.62 kB / 0.4895 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004968/0.3364, allocations: 167.8 kB / 0.4896 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003332/0.3397, allocations: 2.166 MB / 0.4917 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02135/0.3611, allocations: 10.25 MB / 0.5017 GB, free: 3.391 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2498/0.6109, allocations: 42.49 MB / 0.5432 GB, free: 71.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/0.6209, allocations: 3.822 MB / 0.547 GB, free: 71.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001825/0.6227, allocations: 1.63 MB / 0.5486 GB, free: 71.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009023/0.6317, allocations: 6.507 MB / 0.5549 GB, free: 69.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.6318, allocations: 55.5 kB / 0.555 GB, free: 69.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 4.398e-06/0.6318, allocations: 0 / 0.555 GB, free: 69.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.03516/0.6669, allocations: 16.04 MB / 0.5706 GB, free: 57.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000827/0.6677, allocations: 1.586 MB / 0.5722 GB, free: 55.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00433/0.6721, allocations: 4.219 MB / 0.5763 GB, free: 51.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003043/0.6724, allocations: 53.7 kB / 0.5764 GB, free: 51.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.6737, allocations: 3.543 MB / 0.5798 GB, free: 48.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006696/0.6744, allocations: 0.836 MB / 0.5806 GB, free: 47.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001295/0.6756, allocations: 1.354 MB / 0.5819 GB, free: 46.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.877e-05/0.6757, allocations: 309.4 kB / 0.5822 GB, free: 45.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002619/0.6783, allocations: 2.246 MB / 0.5844 GB, free: 43.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003669/0.682, allocations: 6.381 MB / 0.5907 GB, free: 35.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007041/0.689, allocations: 9.287 MB / 0.5997 GB, free: 24.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001007/0.6891, allocations: 40 kB / 0.5998 GB, free: 24.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01315/0.7023, allocations: 9.139 MB / 0.6087 GB, free: 14.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.237e-05/0.7023, allocations: 68 kB / 0.6088 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004857/0.7072, allocations: 2.862 MB / 0.6116 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002867/0.7101, allocations: 1.073 MB / 0.6126 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004283/0.7143, allocations: 1.579 MB / 0.6141 GB, free: 9.273 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003436/0.7178, allocations: 4.456 MB / 0.6185 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004484/0.7223, allocations: 426.9 kB / 0.6189 GB, free: 4.168 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007561/0.723, allocations: 416 kB / 0.6193 GB, free: 3.762 MB / 446.1 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.002858/0.7259, allocations: 2.211 MB / 0.6215 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005484/0.7264, allocations: 397.3 kB / 0.6218 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006184/0.7326, allocations: 3.311 MB / 0.6251 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005414/0.738, allocations: 2.769 MB / 0.6278 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.738, allocations: 7.938 kB / 0.6278 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-05/0.738, allocations: 7.969 kB / 0.6278 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01915/0.7572, allocations: 9.798 MB / 0.6374 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.711e-05/0.7572, allocations: 12 kB / 0.6374 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/0.7588, allocations: 383.5 kB / 0.6377 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003036/0.7619, allocations: 0.9903 MB / 0.6387 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000246/0.7621, allocations: 63.97 kB / 0.6388 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005607/0.7677, allocations: 4.689 MB / 0.6433 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001184/0.7689, allocations: 1.455 MB / 0.6448 GB, free: 9.035 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/0.779, allocations: 5.968 MB / 0.6506 GB, free: 2.863 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/0.7801, allocations: 393.1 kB / 0.651 GB, free: 2.477 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005124/0.7807, allocations: 55.98 kB / 0.651 GB, free: 2.422 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002519/0.7832, allocations: 159.8 kB / 0.6512 GB, free: 2.266 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003757/0.7835, allocations: 176.3 kB / 0.6513 GB, free: 2.094 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001692/0.7837, allocations: 83.75 kB / 0.6514 GB, free: 2.016 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004471/0.7882, allocations: 2.594 MB / 0.654 GB, free: 15.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7882, allocations: 0 / 0.654 GB, free: 15.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005268/0.7935, allocations: 1.117 MB / 0.655 GB, free: 14.3 MB / 494.1 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.01063/0.8041, allocations: 6.657 MB / 0.6616 GB, free: 7.426 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01069/0.8148, allocations: 5.587 MB / 0.667 GB, free: 1.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-05/0.8148, allocations: 4 kB / 0.667 GB, free: 1.836 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004101/0.8189, allocations: 1.968 MB / 0.6689 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003234/0.8221, allocations: 0.4944 MB / 0.6694 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07968/0.9018, allocations: 50.81 MB / 0.719 GB, free: 5.656 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004566/0.9064, allocations: 2.924 MB / 0.7219 GB, free: 2.695 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004746/0.9111, allocations: 2.018 MB / 0.7239 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003307/0.9144, allocations: 2.101 MB / 0.7259 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of SimCode: time 1.363e-06/0.9144, allocations: 0 / 0.7259 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9656/1.88, allocations: 76.23 MB / 0.8004 GB, free: 199.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 59.09/60.97, allocations: 7.062 kB / 0.8004 GB, free: 199.9 MB / 0.5762 GB " [Timeout remaining time 599] (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: 63.50565095804632] 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'] 61.2069003849756 61.21937691 60.932067695 Calling exit ...