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.001554/0.001554, allocations: 109 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.0017/0.0017, 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.407/1.407, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.001982/0.001982, allocations: 64.78 kB / 378.5 MB, free: 3.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2455, allocations: 53.36 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003938/0.2494, allocations: 2.468 MB / 434.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.2507, allocations: 0.67 MB / 435 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.2509, allocations: 7.938 kB / 435 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.251, allocations: 39.59 kB / 435.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.2512, allocations: 67.41 kB / 435.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.2515, allocations: 75.83 kB / 435.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003905/0.2519, allocations: 258.8 kB / 435.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.2521, allocations: 73.62 kB / 435.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.2523, allocations: 115.6 kB / 435.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.2525, allocations: 107.5 kB / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.2525, allocations: 20 kB / 435.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.997e-05/0.2526, allocations: 28 kB / 435.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.2526, allocations: 47.83 kB / 435.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.2528, allocations: 123.4 kB / 436 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.2531, allocations: 259.7 kB / 436.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2531, allocations: 0 / 436.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2531, allocations: 0 / 436.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.2531, allocations: 0 / 436.2 MB, free: 2.551 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.0007983/0.2539, allocations: 468 kB / 436.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/0.254, allocations: 12.03 kB / 436.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.917e-05/0.254, allocations: 58.66 kB / 436.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.2543, allocations: 44.73 kB / 436.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.2546, allocations: 187 kB / 437 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.2546, allocations: 16.8 kB / 437 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.2547, allocations: 24.33 kB / 437 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000429/0.2551, allocations: 217.1 kB / 437.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.2551, allocations: 4 kB / 437.2 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.2552, allocations: 8 kB / 437.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.2552, allocations: 4 kB / 437.3 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003907/0.2555, allocations: 151.8 kB / 437.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.2568, allocations: 0.7549 MB / 438.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.2572, allocations: 189 kB / 438.3 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.2574, allocations: 89.67 kB / 438.4 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.2575, allocations: 8.328 kB / 438.4 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.2575, allocations: 34.5 kB / 438.5 MB, free: 152 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.924e-06/0.2575, allocations: 4 kB / 438.5 MB, free: 148 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.00169/0.2592, allocations: 0.7227 MB / 439.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.2593, allocations: 81.11 kB / 439.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.2595, allocations: 183.2 kB / 439.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.2595, allocations: 37.7 kB / 439.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.764e-05/0.2596, allocations: 136.5 kB / 439.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.8e-05/0.2597, allocations: 103.1 kB / 439.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.007e-05/0.2598, allocations: 49.7 kB / 439.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.2599, allocations: 326.8 kB / 440.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.2601, allocations: 71.95 kB / 440.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.2603, allocations: 108.2 kB / 440.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.2606, allocations: 176.2 kB / 440.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2606, allocations: 3.938 kB / 440.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004562/0.2611, allocations: 251.9 kB / 440.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.2611, allocations: 4 kB / 440.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.2611, allocations: 7.938 kB / 440.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.2611, allocations: 3.984 kB / 440.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.2614, allocations: 63.91 kB / 440.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.2614, allocations: 4.391 kB / 440.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.2615, allocations: 15.92 kB / 440.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.2615, allocations: 12.09 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.0001646/0.2617, allocations: 142.2 kB / 440.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.2618, allocations: 23.86 kB / 441 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.63e-05/0.2618, allocations: 29.8 kB / 441 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.2618, allocations: 4 kB / 441 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2618, allocations: 0 / 441 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2619, allocations: 0 / 441 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000941/0.2628, allocations: 0.5544 MB / 441.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.2628, allocations: 11.92 kB / 441.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.2631, allocations: 59.91 kB / 441.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.2631, allocations: 4 kB / 441.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.2631, allocations: 0 / 441.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.2631, allocations: 7.938 kB / 441.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.2631, allocations: 3.938 kB / 441.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007426/0.2638, allocations: 497.2 kB / 442.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.2639, allocations: 15.91 kB / 442.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.2639, allocations: 12.03 kB / 442.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.2641, allocations: 11.94 kB / 442.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.2641, allocations: 19.91 kB / 442.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.2642, allocations: 12 kB / 442.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.2643, allocations: 128.5 kB / 442.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2643, allocations: 0 / 442.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003536/0.2646, allocations: 52 kB / 442.4 MB, free: 12.02 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.001083/0.2657, allocations: 1.034 MB / 443.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004483/0.2662, allocations: 167.8 kB / 443.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2662, allocations: 0 / 443.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.2664, allocations: 90.94 kB / 443.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005221/0.2669, allocations: 48.28 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.003916/0.2708, 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.0004227/0.2712, allocations: 0.7518 MB / 447.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.2713, allocations: 29.92 kB / 447.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.2715, allocations: 67.42 kB / 447.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of SimCode: time 1.202e-06/0.2715, allocations: 0 / 447.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.3015, allocations: 4.63 MB / 451.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.531/8.832, allocations: 13.02 kB / 451.8 MB, free: 2.465 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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: 11.2653356064111] Failed to read output from testmodel.py, exit status != 0: ['time', 'damper1.s_rel', 'damper1.v_rel', 'mass1.s', 'mass1.v'] 8.908449123613536 8.932714255 8.676154864999999 Calling exit ...