Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.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.001305/0.001305, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00139/0.00139, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.427/1.427, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Translational.Examples.Damper,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 68.77 kB / 378.5 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2748, allocations: 53.36 MB / 431.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003935/0.2787, allocations: 2.452 MB / 434.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005448/0.2793, allocations: 247 kB / 434.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.2794, allocations: 7.938 kB / 434.6 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.2796, allocations: 43.58 kB / 434.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.2797, allocations: 91.2 kB / 434.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.2799, allocations: 55.92 kB / 434.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.2802, allocations: 286.6 kB / 435.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.2804, allocations: 76.09 kB / 435.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.2806, allocations: 115.6 kB / 435.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.2807, allocations: 123.4 kB / 435.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.2808, allocations: 24 kB / 435.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.718e-05/0.2808, allocations: 24 kB / 435.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.2809, allocations: 51.84 kB / 435.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.281, allocations: 131.3 kB / 435.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.2814, allocations: 294.8 kB / 435.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2814, allocations: 0 / 435.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2814, allocations: 0 / 435.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.2814, allocations: 0 / 435.9 MB, free: 2.891 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007899/0.2822, allocations: 481.5 kB / 436.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.2822, allocations: 8.031 kB / 436.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.688e-05/0.2823, allocations: 62.72 kB / 436.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.2824, allocations: 32.75 kB / 436.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.2827, allocations: 178.9 kB / 436.6 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.2827, allocations: 20.88 kB / 436.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.731e-05/0.2828, allocations: 24.38 kB / 436.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.2832, allocations: 247.1 kB / 436.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.2832, allocations: 7.938 kB / 436.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.2833, allocations: 8 kB / 436.9 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.2833, allocations: 4 kB / 436.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.2836, allocations: 167.8 kB / 437.1 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.2846, allocations: 0.7572 MB / 437.9 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005109/0.2852, allocations: 279.8 kB / 438.1 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.2854, allocations: 118.5 kB / 438.3 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.2854, allocations: 7.938 kB / 438.3 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.2855, allocations: 38.5 kB / 438.3 MB, free: 308 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.383e-06/0.2855, allocations: 4 kB / 438.3 MB, free: 304 kB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002576/0.288, allocations: 1.508 MB / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.976e-05/0.2881, allocations: 106.8 kB / 439.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.2883, allocations: 195.2 kB / 440.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.2883, allocations: 29.7 kB / 440.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.2884, allocations: 144.9 kB / 440.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.2886, allocations: 166.5 kB / 440.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.2887, allocations: 74.12 kB / 440.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.2888, allocations: 342.8 kB / 440.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.289, allocations: 88.84 kB / 440.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.2892, allocations: 162.4 kB / 441.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.2896, allocations: 280.7 kB / 441.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2896, allocations: 0 / 441.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005086/0.2901, allocations: 341 kB / 441.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2901, allocations: 11.92 kB / 441.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.2901, allocations: 8 kB / 441.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.2902, allocations: 4 kB / 441.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.2905, allocations: 87.91 kB / 441.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.2905, allocations: 8.094 kB / 441.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.2906, allocations: 8 kB / 441.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.2906, allocations: 16 kB / 441.8 MB, free: 12.51 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.2908, allocations: 158.6 kB / 442 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-05/0.2909, allocations: 35.75 kB / 442 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.025e-05/0.291, allocations: 33.81 kB / 442.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.291, allocations: 4 kB / 442.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.291, allocations: 0 / 442.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.291, allocations: 7.984 kB / 442.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.2924, allocations: 1.03 MB / 443.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2924, allocations: 0 / 443.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.2927, allocations: 99.77 kB / 443.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.2928, allocations: 4 kB / 443.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.2928, allocations: 8 kB / 443.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.2928, allocations: 8 kB / 443.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.2928, allocations: 3.938 kB / 443.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008082/0.2936, allocations: 0.7367 MB / 444 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.2936, allocations: 23.92 kB / 444 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.2937, allocations: 12 kB / 444 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.2939, allocations: 12 kB / 444 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.2939, allocations: 35.92 kB / 444 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.2939, allocations: 19.98 kB / 444.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.2941, allocations: 136.5 kB / 444.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2941, allocations: 3.938 kB / 444.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000416/0.2945, allocations: 72 kB / 444.3 MB, free: 9.941 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001139/0.2956, allocations: 1.275 MB / 445.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004353/0.2961, allocations: 248.5 kB / 445.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2961, allocations: 4 kB / 445.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.2963, allocations: 132.4 kB / 445.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000679/0.2969, allocations: 80.41 kB / 446 MB, free: 8.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/0.3011, allocations: 3.284 MB / 449.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.3015, allocations: 0.7684 MB / 450.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.3016, allocations: 30.95 kB / 450.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.3018, allocations: 91.42 kB / 450.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3018, allocations: 0 / 450.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03171/0.3335, allocations: 6.22 MB / 456.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.364/8.697, allocations: 6.703 kB / 456.4 MB, free: 13.68 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.019171542022377] Failed to read output from testmodel.py, exit status != 0: ['time', 'damper1.s_rel', 'damper1.v_rel', 'damper2.s_rel', 'damper2.v_rel', 'springDamper3.s_rel', 'springDamper3.v_rel'] 8.770684495102614 8.79511815 8.50894141 Calling exit ...