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.001708/0.001708, 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.002041/0.002041, 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.441/1.441, 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.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.002009/0.002009, allocations: 68.95 kB / 378.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2655, allocations: 53.37 MB / 431.9 MB, free: 7.219 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004264/0.2697, allocations: 2.458 MB / 434.4 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.2711, allocations: 0.6232 MB / 435 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.2713, allocations: 4 kB / 435 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.2714, allocations: 43.58 kB / 435 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.2717, allocations: 87.27 kB / 435.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.2719, allocations: 51.94 kB / 435.2 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003839/0.2723, allocations: 298.6 kB / 435.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/0.2725, allocations: 85.73 kB / 435.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.2727, allocations: 111.6 kB / 435.7 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.2728, allocations: 127.4 kB / 435.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.835e-05/0.2729, allocations: 24 kB / 435.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.65e-05/0.2729, allocations: 24 kB / 435.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.26e-05/0.273, allocations: 63.75 kB / 435.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.2731, allocations: 131.4 kB / 436 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003779/0.2735, allocations: 290.8 kB / 436.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2735, allocations: 4 kB / 436.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2735, allocations: 3.938 kB / 436.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.2735, allocations: 0 / 436.3 MB, free: 2.801 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.0008474/0.2744, allocations: 477.7 kB / 436.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2744, allocations: 12.03 kB / 436.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.435e-05/0.2745, allocations: 62.73 kB / 436.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/0.2745, allocations: 28.75 kB / 436.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.2749, allocations: 183.5 kB / 437.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.2749, allocations: 17.03 kB / 437.1 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-05/0.2749, allocations: 31.92 kB / 437.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/0.2754, allocations: 230 kB / 437.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.2755, allocations: 3.953 kB / 437.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.2755, allocations: 12 kB / 437.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.2755, allocations: 12 kB / 437.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003945/0.2759, allocations: 170.5 kB / 437.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.2772, allocations: 0.6986 MB / 438.2 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004992/0.2777, allocations: 209.3 kB / 438.4 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.2779, allocations: 100.8 kB / 438.5 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.278, allocations: 4 kB / 438.5 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.278, allocations: 38.48 kB / 438.6 MB, free: 424 kB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.724e-06/0.278, allocations: 0 / 438.6 MB, free: 424 kB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.00175/0.2797, allocations: 0.8132 MB / 439.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.2798, allocations: 55.41 kB / 439.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.2799, allocations: 163.8 kB / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.28, allocations: 33.69 kB / 439.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.2801, allocations: 140.8 kB / 439.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.852e-05/0.2802, allocations: 114.9 kB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.159e-05/0.2803, allocations: 45.7 kB / 439.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.2804, allocations: 334.8 kB / 440.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.2806, allocations: 75.91 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.2808, allocations: 116.3 kB / 440.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004113/0.2813, allocations: 203.3 kB / 440.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2813, allocations: 4 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004981/0.2818, allocations: 257.5 kB / 440.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.2818, allocations: 11.88 kB / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2818, allocations: 4 kB / 440.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.2818, allocations: 0 / 440.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.2821, allocations: 75.91 kB / 441 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.2821, allocations: 7.969 kB / 441 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.2822, allocations: 20.09 kB / 441 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.2822, allocations: 8 kB / 441 MB, free: 13.83 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.0001417/0.2824, allocations: 137.7 kB / 441.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.2824, allocations: 27.84 kB / 441.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.438e-05/0.2825, allocations: 22.66 kB / 441.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.2825, allocations: 4 kB / 441.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2825, allocations: 0 / 441.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2825, allocations: 3.984 kB / 441.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.2835, allocations: 0.629 MB / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.2835, allocations: 0 / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.2838, allocations: 75.91 kB / 441.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2838, allocations: 0 / 441.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.2839, allocations: 11.94 kB / 441.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.2839, allocations: 8.047 kB / 441.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2839, allocations: 0 / 441.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000749/0.2846, allocations: 447.4 kB / 442.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.2847, allocations: 15.91 kB / 442.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.2847, allocations: 12 kB / 442.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.2848, allocations: 11.98 kB / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/0.2849, allocations: 15.97 kB / 442.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.2849, allocations: 8 kB / 442.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.425e-05/0.285, allocations: 119.2 kB / 442.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.285, allocations: 0 / 442.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003001/0.2853, allocations: 56 kB / 442.6 MB, free: 12.16 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.001052/0.2863, allocations: 0.9722 MB / 443.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004579/0.2868, allocations: 193.3 kB / 443.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2868, allocations: 0 / 443.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.287, allocations: 107.8 kB / 443.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.2874, allocations: 39.91 kB / 443.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00382/0.2913, allocations: 2.676 MB / 446.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.2917, allocations: 0.7483 MB / 447.3 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.2918, allocations: 25.94 kB / 447.3 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.2919, allocations: 71.42 kB / 447.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2919, allocations: 0 / 447.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03002/0.3219, allocations: 4.723 MB / 452.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.309/8.631, allocations: 10.83 kB / 452.2 MB, free: 2.539 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 & /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 --stepSize=0.01 --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.933057525195181] 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.70092908712104 8.715444573 8.438872123 Calling exit ...