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.001288/0.001288, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001374/0.001374, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.462/1.462, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.001889/0.001889, allocations: 63.89 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1139, allocations: 53.31 MB / 426.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004088/0.118, allocations: 2.455 MB / 429.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.1191, allocations: 0.6116 MB / 429.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1192, allocations: 4 kB / 429.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.1194, allocations: 35.59 kB / 430 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.1196, allocations: 87.27 kB / 430.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.1198, allocations: 55.92 kB / 430.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003544/0.1201, allocations: 302.6 kB / 430.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.1203, allocations: 78.89 kB / 430.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.1205, allocations: 111.6 kB / 430.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.1206, allocations: 123.5 kB / 430.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.668e-05/0.1207, allocations: 20 kB / 430.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.199e-05/0.1207, allocations: 31.94 kB / 430.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.488e-05/0.1208, allocations: 55.83 kB / 430.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.1209, allocations: 135.3 kB / 431 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.1213, allocations: 298.8 kB / 431.2 MB, free: 464 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1213, allocations: 0 / 431.2 MB, free: 464 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1213, allocations: 0 / 431.2 MB, free: 464 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.1213, allocations: 0 / 431.2 MB, free: 464 kB / 350.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.2127/0.334, allocations: 0.5354 MB / 431.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3341, allocations: 8.062 kB / 431.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.269e-05/0.3341, allocations: 65.36 kB / 431.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.226e-05/0.3342, allocations: 29.81 kB / 431.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.3345, allocations: 237.8 kB / 432.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.3346, allocations: 19.06 kB / 432.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.781e-05/0.3346, allocations: 27.16 kB / 432.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004904/0.3351, allocations: 236.3 kB / 432.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.3351, allocations: 7 kB / 432.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.3352, allocations: 9.656 kB / 432.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.3352, allocations: 6 kB / 432.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003872/0.3356, allocations: 177.3 kB / 432.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009996/0.3366, allocations: 0.7523 MB / 433.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004357/0.337, allocations: 213.4 kB / 433.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.3372, allocations: 107 kB / 433.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.3372, allocations: 1.5 kB / 433.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.3372, allocations: 36.47 kB / 433.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.342e-06/0.3372, allocations: 0 / 433.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.00146/0.3387, allocations: 0.966 MB / 434.7 MB, free: 10 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.3387, allocations: 56.72 kB / 434.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.3388, allocations: 155.9 kB / 434.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.3388, allocations: 33.7 kB / 434.9 MB, free: 9.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.581e-05/0.3389, allocations: 146.8 kB / 435 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/0.3389, allocations: 105.5 kB / 435.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.76e-05/0.339, allocations: 53.86 kB / 435.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.532e-05/0.3391, allocations: 332.3 kB / 435.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.3392, allocations: 73.69 kB / 435.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.3394, allocations: 115.4 kB / 435.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.3397, allocations: 215.2 kB / 435.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3397, allocations: 0 / 435.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004217/0.3402, allocations: 257.1 kB / 436.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3402, allocations: 5.594 kB / 436.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3402, allocations: 4.469 kB / 436.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.3402, allocations: 3.406 kB / 436.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.3405, allocations: 77.06 kB / 436.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.3405, allocations: 2.531 kB / 436.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.3406, allocations: 12.44 kB / 436.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.3406, allocations: 11.41 kB / 436.3 MB, free: 8.98 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 9.049e-05/0.3407, allocations: 144.3 kB / 436.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.3407, allocations: 20.58 kB / 436.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.963e-05/0.3408, allocations: 27.75 kB / 436.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3408, allocations: 3.438 kB / 436.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3408, allocations: 0 / 436.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3408, allocations: 3.266 kB / 436.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008038/0.3416, allocations: 0.6544 MB / 437.1 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3416, allocations: 4.797 kB / 437.1 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.3419, allocations: 72.8 kB / 437.2 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.3419, allocations: 4.094 kB / 437.2 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.342, allocations: 10.03 kB / 437.2 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.342, allocations: 5.062 kB / 437.2 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.342, allocations: 1.719 kB / 437.2 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005972/0.3426, allocations: 449.1 kB / 437.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.3426, allocations: 91.25 kB / 437.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.3426, allocations: 7.75 kB / 437.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.3428, allocations: 15.11 kB / 437.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.3428, allocations: 25.03 kB / 437.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.3428, allocations: 10.14 kB / 437.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.28e-05/0.3429, allocations: 117.6 kB / 437.9 MB, free: 7.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3429, allocations: 0 / 437.9 MB, free: 7.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002876/0.3432, allocations: 58.5 kB / 438 MB, free: 7.875 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.0007339/0.3439, allocations: 0.9714 MB / 439 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004109/0.3443, allocations: 190.3 kB / 439.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3443, allocations: 1.219 kB / 439.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.3445, allocations: 106.8 kB / 439.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.3449, allocations: 36.25 kB / 439.3 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.3477, allocations: 2.669 MB / 441.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.3479, allocations: 0.7522 MB / 442.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.699e-05/0.348, allocations: 18.92 kB / 442.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.436e-05/0.3481, allocations: 75 kB / 442.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3481, allocations: 0 / 442.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.3779, allocations: 4.592 MB / 447.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.977/8.355, allocations: 16.12 kB / 447.4 MB, free: 3.691 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 --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.667404619045556] 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.422343994025141 8.435434113 8.311326046 Calling exit ...