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.001775/0.001775, allocations: 109.2 kB / 19.8 MB, free: 2.516 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.002441/0.002441, allocations: 219.7 kB / 23 MB, free: 5.609 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.428/1.428, allocations: 230.4 MB / 256.5 MB, free: 8.445 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.001897/0.001897, allocations: 63.89 kB / 376.2 MB, free: 4.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2523, allocations: 53.3 MB / 429.5 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003783/0.256, allocations: 2.469 MB / 432 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.2572, allocations: 0.6155 MB / 432.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.2573, allocations: 11.94 kB / 432.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.2574, allocations: 43.58 kB / 432.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.2576, allocations: 75.33 kB / 432.7 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.2578, allocations: 71.73 kB / 432.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003527/0.2581, allocations: 298.7 kB / 433.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.2583, allocations: 74.95 kB / 433.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.2585, allocations: 115.6 kB / 433.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.2586, allocations: 119.5 kB / 433.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.2587, allocations: 28 kB / 433.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.372e-05/0.2587, allocations: 24 kB / 433.4 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.2588, allocations: 51.83 kB / 433.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.2589, allocations: 135.3 kB / 433.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.2592, allocations: 299.2 kB / 433.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2592, allocations: 0 / 433.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2592, allocations: 0 / 433.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.2592, allocations: 0 / 433.9 MB, free: 3.023 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.0008144/0.2601, allocations: 0.5417 MB / 434.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.2601, allocations: 8.031 kB / 434.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.52e-05/0.2602, allocations: 58.73 kB / 434.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.78e-05/0.2602, allocations: 40.67 kB / 434.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.2605, allocations: 236.5 kB / 434.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.2606, allocations: 24.92 kB / 434.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.636e-05/0.2606, allocations: 31.94 kB / 434.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004781/0.2611, allocations: 228.9 kB / 435.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.2611, allocations: 3.953 kB / 435.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.2611, allocations: 12 kB / 435.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.2611, allocations: 4 kB / 435.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004048/0.2616, allocations: 178.1 kB / 435.3 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.2628, allocations: 0.7502 MB / 436 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/0.2633, allocations: 210.5 kB / 436.2 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.2635, allocations: 104.8 kB / 436.3 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.2635, allocations: 4 kB / 436.3 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.2636, allocations: 34.56 kB / 436.4 MB, free: 408 kB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.2636, allocations: 0 / 436.4 MB, free: 408 kB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001845/0.2654, allocations: 0.9755 MB / 437.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.2655, allocations: 59.34 kB / 437.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.2656, allocations: 151.8 kB / 437.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.2656, allocations: 33.7 kB / 437.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.836e-05/0.2657, allocations: 136.8 kB / 437.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.785e-05/0.2658, allocations: 115 kB / 437.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.902e-05/0.2659, allocations: 49.7 kB / 437.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2661, allocations: 338.7 kB / 438.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.2662, allocations: 79.95 kB / 438.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.2664, allocations: 108.9 kB / 438.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.2668, allocations: 203.3 kB / 438.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2668, allocations: 0 / 438.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004918/0.2673, allocations: 261.5 kB / 438.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2674, allocations: 6.969 kB / 438.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2674, allocations: 0 / 438.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.2674, allocations: 4 kB / 438.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.2677, allocations: 75.98 kB / 438.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.2677, allocations: 4 kB / 438.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.2678, allocations: 19.94 kB / 438.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.2678, allocations: 8 kB / 438.9 MB, free: 13.64 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.000142/0.2679, allocations: 145.7 kB / 439.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.324e-05/0.268, allocations: 19.86 kB / 439.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.704e-05/0.2681, allocations: 26.56 kB / 439.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.2681, allocations: 4 kB / 439.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2681, allocations: 8 kB / 439.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.2681, allocations: 7.922 kB / 439.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.2691, allocations: 0.6409 MB / 439.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2691, allocations: 0 / 439.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.2694, allocations: 75.95 kB / 439.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.2694, allocations: 4 kB / 439.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.2695, allocations: 7.938 kB / 439.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.2695, allocations: 4 kB / 439.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2695, allocations: 0 / 439.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007173/0.2702, allocations: 450.6 kB / 440.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.334e-05/0.2702, allocations: 97.08 kB / 440.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.2703, allocations: 3.938 kB / 440.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.2704, allocations: 15.98 kB / 440.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.2705, allocations: 15.98 kB / 440.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.2705, allocations: 4 kB / 440.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.465e-05/0.2706, allocations: 119.2 kB / 440.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2706, allocations: 4 kB / 440.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002937/0.2709, allocations: 56 kB / 440.6 MB, free: 11.84 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.001026/0.2719, allocations: 0.9838 MB / 441.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004496/0.2723, allocations: 193.2 kB / 441.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2723, allocations: 0 / 441.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.2726, allocations: 96.92 kB / 441.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.273, allocations: 50.19 kB / 442 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.2765, allocations: 2.671 MB / 444.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.2769, allocations: 0.7522 MB / 445.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.012e-05/0.277, allocations: 17.94 kB / 445.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.2771, allocations: 79.41 kB / 445.5 MB, free: 6.828 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2771, allocations: 3.938 kB / 445.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.3057, allocations: 4.539 MB / 450 MB, free: 2.387 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.983/8.288, allocations: 13.53 kB / 450 MB, free: 2.379 MB / 350.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_ElasticBearing_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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: 10.571362609014614] 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.35761075897608 8.386316425 8.121634747 Calling exit ...