Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.001431/0.001431, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001604/0.001604, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.474/1.474, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_ElasticBearing",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.001866/0.001866, allocations: 72.77 kB / 378.5 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2576, allocations: 53.36 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004516/0.2621, allocations: 2.468 MB / 434.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.2633, allocations: 0.6232 MB / 435 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.2634, allocations: 4 kB / 435 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.2636, allocations: 39.59 kB / 435 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.2638, allocations: 83.2 kB / 435.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.264, allocations: 63.86 kB / 435.2 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.2643, allocations: 302.6 kB / 435.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.2645, allocations: 75.38 kB / 435.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.2646, allocations: 115.6 kB / 435.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.2648, allocations: 127.4 kB / 435.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.206e-05/0.2649, allocations: 24 kB / 435.8 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.254e-05/0.2649, allocations: 24 kB / 435.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.2649, allocations: 55.83 kB / 435.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.2651, allocations: 131.3 kB / 436 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.2654, allocations: 295.6 kB / 436.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2654, allocations: 0 / 436.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2654, allocations: 4 kB / 436.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.2654, allocations: 0 / 436.3 MB, free: 2.461 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007904/0.2662, allocations: 481.7 kB / 436.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.2663, allocations: 12.03 kB / 436.8 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.275e-05/0.2663, allocations: 58.67 kB / 436.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.561e-05/0.2664, allocations: 32.75 kB / 436.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.2667, allocations: 184.2 kB / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.2667, allocations: 21.03 kB / 437.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.242e-05/0.2668, allocations: 27.94 kB / 437.1 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004449/0.2672, allocations: 230 kB / 437.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.2673, allocations: 3.953 kB / 437.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.95e-05/0.2673, allocations: 12 kB / 437.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.2673, allocations: 4 kB / 437.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004049/0.2677, allocations: 182.5 kB / 437.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.2689, allocations: 0.6947 MB / 438.2 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004715/0.2693, allocations: 202.5 kB / 438.4 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.2696, allocations: 108.8 kB / 438.5 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.2696, allocations: 4 kB / 438.5 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.2696, allocations: 34.5 kB / 438.6 MB, free: 72 kB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.283e-06/0.2696, allocations: 0 / 438.6 MB, free: 72 kB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.00176/0.2714, allocations: 0.821 MB / 439.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.2714, allocations: 55.41 kB / 439.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.2716, allocations: 159.8 kB / 439.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.2717, allocations: 29.7 kB / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.2718, allocations: 136.8 kB / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.2719, allocations: 119 kB / 439.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.272, allocations: 49.7 kB / 439.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.2722, allocations: 338.8 kB / 440.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.2725, allocations: 71.95 kB / 440.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.2729, allocations: 116.2 kB / 440.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/0.2735, allocations: 207.3 kB / 440.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2735, allocations: 4 kB / 440.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007853/0.2743, allocations: 257.5 kB / 440.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.2743, allocations: 4 kB / 440.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2743, allocations: 0 / 440.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.2743, allocations: 4 kB / 440.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004614/0.2748, allocations: 79.89 kB / 441 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2748, allocations: 3.938 kB / 441 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.275, allocations: 15.98 kB / 441 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.275, allocations: 4 kB / 441 MB, free: 13.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (35): * Single equations (assignments): 35 * 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.0001998/0.2752, allocations: 145.8 kB / 441.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.466e-05/0.2753, allocations: 19.86 kB / 441.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.994e-05/0.2754, allocations: 26.66 kB / 441.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.2754, allocations: 4 kB / 441.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2754, allocations: 0 / 441.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.2754, allocations: 3.984 kB / 441.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.277, allocations: 0.6251 MB / 441.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.277, allocations: 0 / 441.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/0.2775, allocations: 75.89 kB / 441.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.2775, allocations: 4 kB / 441.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.2776, allocations: 7.938 kB / 441.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.2776, allocations: 4 kB / 441.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.2776, allocations: 0 / 441.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.2787, allocations: 447.5 kB / 442.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.466e-05/0.2788, allocations: 15.89 kB / 442.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.176e-05/0.2788, allocations: 12 kB / 442.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.2791, allocations: 11.94 kB / 442.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/0.2792, allocations: 24.08 kB / 442.4 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.2792, allocations: 12 kB / 442.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001406/0.2793, allocations: 119.2 kB / 442.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2793, allocations: 0 / 442.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005087/0.2798, allocations: 56 kB / 442.6 MB, free: 11.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_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 (28): * Single equations (assignments): 28 * 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.001065/0.2809, allocations: 0.9722 MB / 443.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004528/0.2814, allocations: 189.4 kB / 443.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2814, allocations: 4.062 kB / 443.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.2816, allocations: 111.7 kB / 443.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.282, allocations: 31.98 kB / 443.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/0.2855, allocations: 2.668 MB / 446.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.286, allocations: 0.7522 MB / 447.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.629e-05/0.2861, allocations: 21.94 kB / 447.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.2862, allocations: 79.41 kB / 447.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2862, allocations: 3.938 kB / 447.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.3155, allocations: 4.71 MB / 452.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.267/8.583, allocations: 18.48 kB / 452.2 MB, free: 2.203 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_ElasticBearing.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.016224305145442] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'shaft.phi', 'shaft.w', 'springDamper.phi_rel', 'springDamper.w_rel'] 8.65530971903354 8.671565749 8.40287495 Calling exit ...