Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0007957/0.0007957, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007615/0.0007615, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8742/0.8742, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.669e-06/1.094e-05, allocations: 2.281 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002238/0.002249, allocations: 2.311 MB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007466/0.002996, allocations: 0.596 MB / 327.4 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.894e-05/0.003095, allocations: 7.938 kB / 327.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.003212, allocations: 35.59 kB / 327.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.003335, allocations: 91.2 kB / 327.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.00347, allocations: 59.91 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.003695, allocations: 310.4 kB / 327.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.003842, allocations: 75.88 kB / 328 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.003987, allocations: 171.7 kB / 328.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.332e-05/0.004081, allocations: 87.75 kB / 328.2 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.004112, allocations: 24 kB / 328.3 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.415e-05/0.004136, allocations: 27.94 kB / 328.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.333e-05/0.004169, allocations: 59.77 kB / 328.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.004228, allocations: 87.83 kB / 328.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.004458, allocations: 303 kB / 328.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.00446, allocations: 0 / 328.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.004461, allocations: 0 / 328.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.004466, allocations: 0 / 328.7 MB, free: 11.63 MB / 298.7 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.0005201/0.004986, allocations: 469.8 kB / 329.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.00502, allocations: 15.98 kB / 329.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.373e-05/0.005064, allocations: 66.72 kB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.005102, allocations: 28.75 kB / 329.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.005314, allocations: 185.9 kB / 329.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.005332, allocations: 20.97 kB / 329.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.005367, allocations: 28.38 kB / 329.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.005671, allocations: 230.4 kB / 329.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.005686, allocations: 7.953 kB / 329.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.005702, allocations: 8 kB / 329.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.005708, allocations: 12 kB / 329.8 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.005944, allocations: 178.4 kB / 329.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007417/0.006686, allocations: 0.6324 MB / 330.6 MB, free: 9.656 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.007008, allocations: 203.3 kB / 330.8 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.007132, allocations: 104.8 kB / 330.9 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.007147, allocations: 7.984 kB / 330.9 MB, free: 9.336 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.007163, allocations: 34.5 kB / 330.9 MB, free: 9.293 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.262e-06/0.007164, allocations: 4 kB / 330.9 MB, free: 9.289 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001032/0.008197, allocations: 0.8281 MB / 331.8 MB, free: 8.406 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.008227, allocations: 55.41 kB / 331.8 MB, free: 8.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.734e-05/0.008324, allocations: 154.6 kB / 332 MB, free: 8.176 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.008338, allocations: 29.7 kB / 332 MB, free: 8.141 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.008401, allocations: 140.8 kB / 332.1 MB, free: 8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.289e-05/0.008454, allocations: 111 kB / 332.2 MB, free: 7.891 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.00851, allocations: 53.7 kB / 332.3 MB, free: 7.832 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.228e-05/0.008593, allocations: 326.8 kB / 332.6 MB, free: 7.504 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.008697, allocations: 75.81 kB / 332.7 MB, free: 7.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.008819, allocations: 116.9 kB / 332.8 MB, free: 7.305 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.009054, allocations: 199.3 kB / 333 MB, free: 7.098 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.009056, allocations: 3.938 kB / 333 MB, free: 7.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002751/0.009331, allocations: 253.5 kB / 333.2 MB, free: 6.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.009342, allocations: 8.031 kB / 333.3 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.009348, allocations: 11.94 kB / 333.3 MB, free: 6.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.009359, allocations: 0 / 333.3 MB, free: 6.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.00952, allocations: 75.95 kB / 333.3 MB, free: 6.746 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.009525, allocations: 3.938 kB / 333.3 MB, free: 6.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.327e-05/0.009588, allocations: 15.98 kB / 333.4 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.009598, allocations: 8 kB / 333.4 MB, free: 6.719 MB / 298.7 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 8.29e-05/0.009681, allocations: 141.7 kB / 333.5 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.009705, allocations: 27.86 kB / 333.5 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.457e-05/0.009739, allocations: 22.64 kB / 333.6 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.009742, allocations: 4 kB / 333.6 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.009746, allocations: 0 / 333.6 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.009751, allocations: 3.984 kB / 333.6 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/0.01032, allocations: 0.5971 MB / 334.2 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.01032, allocations: 7.938 kB / 334.2 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.0105, allocations: 75.95 kB / 334.2 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.0105, allocations: 3.938 kB / 334.2 MB, free: 5.773 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.01051, allocations: 8 kB / 334.2 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01051, allocations: 0 / 334.2 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.01051, allocations: 0 / 334.2 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.01092, allocations: 447 kB / 334.7 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.01094, allocations: 19.89 kB / 334.7 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.01095, allocations: 4.062 kB / 334.7 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-05/0.01103, allocations: 16 kB / 334.7 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.01107, allocations: 23.89 kB / 334.7 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.01108, allocations: 8 kB / 334.8 MB, free: 5.238 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.603e-05/0.01113, allocations: 124.6 kB / 334.9 MB, free: 5.117 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01113, allocations: 0 / 334.9 MB, free: 5.117 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001951/0.01133, allocations: 56 kB / 334.9 MB, free: 5.062 MB / 298.7 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.0005649/0.01189, allocations: 0.9727 MB / 335.9 MB, free: 4.055 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002625/0.01216, allocations: 179.9 kB / 336.1 MB, free: 3.879 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01216, allocations: 4 kB / 336.1 MB, free: 3.875 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.01227, allocations: 100.9 kB / 336.2 MB, free: 3.777 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.01254, allocations: 67.28 kB / 336.2 MB, free: 3.715 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.01457, allocations: 2.52 MB / 338.8 MB, free: 1.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.579e-05/0.01466, allocations: 146.4 kB / 338.9 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.051e-05/0.01472, allocations: 25.92 kB / 338.9 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.049e-05/0.0148, allocations: 72.48 kB / 339 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.0148, allocations: 0 / 339 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.03308, allocations: 5.357 MB / 344.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.888/6.921, allocations: 0 / 344.4 MB, free: 11.59 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_ElasticBearing_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_ElasticBearing.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,load.phi,load.w,shaft.phi,shaft.w,springDamper.phi_rel,springDamper.w_rel Variables in the result:der(housing.phi),der(housing.w),der(load.phi),der(load.w),der(shaft.phi),der(shaft.w),der(springDamper.phi_rel),der(springDamper.w_rel),fixed.flange.phi,fixed.flange.tau,fixed.phi0,housing.J,housing.a,housing.flange_a.phi,housing.flange_a.tau,housing.flange_b.phi,housing.flange_b.tau,housing.phi,housing.stateSelect,housing.w,idealGear.flange_a.phi,idealGear.flange_a.tau,idealGear.flange_b.phi,idealGear.flange_b.tau,idealGear.phi_a,idealGear.phi_b,idealGear.ratio,idealGear.support.phi,idealGear.support.tau,idealGear.useSupport,load.J,load.a,load.flange_a.phi,load.flange_a.tau,load.flange_b.phi,load.flange_b.tau,load.phi,load.stateSelect,load.w,multiSensor.flange_a.phi,multiSensor.flange_a.tau,multiSensor.flange_b.phi,multiSensor.flange_b.tau,multiSensor.power,multiSensor.tau,multiSensor.w,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,shaft.J,shaft.a,shaft.flange_a.phi,shaft.flange_a.tau,shaft.flange_b.phi,shaft.flange_b.tau,shaft.phi,shaft.stateSelect,shaft.w,spring.c,spring.flange_a.phi,spring.flange_a.tau,spring.flange_b.phi,spring.flange_b.tau,spring.phi_rel,spring.phi_rel0,spring.tau,springDamper.a_rel,springDamper.c,springDamper.d,springDamper.flange_a.phi,springDamper.flange_a.tau,springDamper.flange_b.phi,springDamper.flange_b.tau,springDamper.lossPower,springDamper.phi_nominal,springDamper.phi_rel,springDamper.phi_rel0,springDamper.stateSelect,springDamper.tau,springDamper.useHeatPort,springDamper.w_rel,time,torque.flange.phi,torque.flange.tau,torque.support.phi,torque.support.tau,torque.tau,torque.useSupport [Calling sys.exit(0), Time elapsed: 8.532493896782398]