Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.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.001268/0.001268, 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.001433/0.001433, allocations: 213.9 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.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.Oscillator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Oscillator",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.002673/0.002673, allocations: 60.77 kB / 378.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2815, allocations: 53.36 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003845/0.2854, allocations: 2.473 MB / 434.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.2867, allocations: 0.666 MB / 435 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.2868, allocations: 11.94 kB / 435.1 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.287, allocations: 39.59 kB / 435.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.2872, allocations: 63.41 kB / 435.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.2875, allocations: 75.84 kB / 435.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003626/0.2878, allocations: 262.8 kB / 435.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.2881, allocations: 77.62 kB / 435.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.2883, allocations: 111.6 kB / 435.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.2885, allocations: 111.5 kB / 435.8 MB, free: 3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.2885, allocations: 20 kB / 435.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.971e-05/0.2886, allocations: 20 kB / 435.8 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.076e-05/0.2886, allocations: 47.84 kB / 435.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.2888, allocations: 119.4 kB / 436 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.2891, allocations: 263.7 kB / 436.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.2891, allocations: 0 / 436.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2891, allocations: 0 / 436.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.2892, allocations: 4 kB / 436.2 MB, free: 2.539 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009071/0.2901, allocations: 461.5 kB / 436.7 MB, free: 2.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.2901, allocations: 8.031 kB / 436.7 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.292e-05/0.2902, allocations: 62.66 kB / 436.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002463/0.2904, allocations: 44.73 kB / 436.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.2908, allocations: 187 kB / 437 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.2908, allocations: 12.81 kB / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/0.2909, allocations: 32.31 kB / 437 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.2913, allocations: 213.1 kB / 437.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.2913, allocations: 0 / 437.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.2914, allocations: 12 kB / 437.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.2914, allocations: 4 kB / 437.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.2917, allocations: 155.8 kB / 437.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.2929, allocations: 0.7471 MB / 438.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004231/0.2934, allocations: 193 kB / 438.3 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.2936, allocations: 93.67 kB / 438.4 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.2936, allocations: 192 / 438.4 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.2937, allocations: 46.5 kB / 438.5 MB, free: 136 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 9.72e-07/0.2937, allocations: 0 / 438.5 MB, free: 136 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001663/0.2953, allocations: 0.7228 MB / 439.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.033e-05/0.2954, allocations: 85.11 kB / 439.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.2956, allocations: 187.2 kB / 439.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.2956, allocations: 29.7 kB / 439.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.2957, allocations: 136.5 kB / 439.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.454e-05/0.2958, allocations: 103.1 kB / 439.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.982e-05/0.2959, allocations: 45.7 kB / 439.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.2961, allocations: 330.8 kB / 440.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.2962, allocations: 67.95 kB / 440.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.2964, allocations: 104.2 kB / 440.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.2968, allocations: 188.1 kB / 440.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.2968, allocations: 7.938 kB / 440.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000445/0.2972, allocations: 243.9 kB / 440.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.2972, allocations: 10.66 kB / 440.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.2972, allocations: 0 / 440.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.2972, allocations: 4 kB / 440.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.2975, allocations: 60 kB / 440.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.2975, allocations: 4 kB / 440.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.2976, allocations: 11.98 kB / 440.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.2976, allocations: 12 kB / 440.8 MB, free: 13.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.0001454/0.2978, allocations: 146.1 kB / 440.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.2979, allocations: 23.86 kB / 441 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.644e-05/0.2979, allocations: 29.8 kB / 441 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.2979, allocations: 8 kB / 441 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2979, allocations: 4 kB / 441 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.2979, allocations: 4 kB / 441 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008878/0.2988, allocations: 0.5466 MB / 441.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2988, allocations: 3.938 kB / 441.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.2991, allocations: 63.89 kB / 441.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.2991, allocations: 8.094 kB / 441.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.2991, allocations: 8 kB / 441.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2991, allocations: 3.938 kB / 441.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.2992, allocations: 11.88 kB / 441.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006919/0.2998, allocations: 485.1 kB / 442.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.2999, allocations: 15.91 kB / 442.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.2999, allocations: 12.03 kB / 442.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.3001, allocations: 11.94 kB / 442.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.3001, allocations: 19.91 kB / 442.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.3002, allocations: 8 kB / 442.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.3003, allocations: 140.5 kB / 442.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3003, allocations: 0 / 442.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003265/0.3006, allocations: 44 kB / 442.4 MB, free: 12.01 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.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 (26): * Single equations (assignments): 26 * 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.0009995/0.3016, allocations: 1.031 MB / 443.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003922/0.302, allocations: 171.7 kB / 443.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.302, allocations: 0 / 443.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.3022, allocations: 98.98 kB / 443.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.3027, allocations: 31.98 kB / 443.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.3062, allocations: 2.653 MB / 446.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.3066, allocations: 0.7479 MB / 447.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.3067, allocations: 25.94 kB / 447.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.3068, allocations: 71.41 kB / 447.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3068, allocations: 0 / 447.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03356/0.3404, allocations: 4.644 MB / 451.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/8.592, allocations: 6.844 kB / 451.8 MB, free: 2.461 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Oscillator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.928724428638816] Failed to read output from testmodel.py, exit status != 0: ['time', 'damper1.s_rel', 'damper1.v_rel', 'mass1.s', 'mass1.v'] 8.663541012909263 8.680865017 8.388042445 Calling exit ...