Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 120 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 190.9 kB / 21.39 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 207.6 MB / 231.8 MB, free: 4.09 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 56.25 kB / 342.2 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09247/0.09415, allocations: 49.12 MB / 391.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003995/0.09815, allocations: 2.43 MB / 393.8 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.09924, allocations: 0.6278 MB / 394.4 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.09936, allocations: 7.938 kB / 394.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.09953, allocations: 43.58 kB / 394.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.0997, allocations: 79.31 kB / 394.6 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.09989, allocations: 63.88 kB / 394.6 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003309/0.1002, allocations: 286.7 kB / 394.9 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.1004, allocations: 86.92 kB / 395 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1006, allocations: 111.6 kB / 395.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.1007, allocations: 127.5 kB / 395.2 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.017e-05/0.1008, allocations: 24 kB / 395.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.183e-05/0.1008, allocations: 24 kB / 395.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.728e-05/0.1009, allocations: 51.78 kB / 395.3 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.101, allocations: 131.4 kB / 395.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003679/0.1014, allocations: 294.8 kB / 395.7 MB, free: 4.352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1014, allocations: 0 / 395.7 MB, free: 4.352 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1014, allocations: 4 kB / 395.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1014, allocations: 3.938 kB / 395.7 MB, free: 4.344 MB / 318.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.0008613/0.1022, allocations: 0.5456 MB / 396.3 MB, free: 3.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1023, allocations: 11.97 kB / 396.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.058e-05/0.1024, allocations: 66.72 kB / 396.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.1024, allocations: 24.8 kB / 396.4 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.1028, allocations: 244.5 kB / 396.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.1028, allocations: 20.94 kB / 396.6 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.347e-05/0.1028, allocations: 35.88 kB / 396.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.1033, allocations: 224.9 kB / 396.9 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.1033, allocations: 0 / 396.9 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.1033, allocations: 12 kB / 396.9 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1033, allocations: 4 kB / 396.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/0.1037, allocations: 178.1 kB / 397.1 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.1049, allocations: 0.7579 MB / 397.8 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004874/0.1054, allocations: 206.5 kB / 398 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.1056, allocations: 100.8 kB / 398.1 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.1057, allocations: 4.438 kB / 398.1 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.1057, allocations: 38.55 kB / 398.2 MB, free: 1.711 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.393e-06/0.1057, allocations: 0 / 398.2 MB, free: 1.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001873/0.1076, allocations: 0.9551 MB / 399.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.1076, allocations: 63.33 kB / 399.2 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.1078, allocations: 154.7 kB / 399.4 MB, free: 444 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.1078, allocations: 33.7 kB / 399.4 MB, free: 404 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.1079, allocations: 148.7 kB / 399.5 MB, free: 252 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.967e-05/0.108, allocations: 103.1 kB / 399.6 MB, free: 148 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-05/0.1081, allocations: 57.56 kB / 399.7 MB, free: 84 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.1083, allocations: 334.8 kB / 400 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.1085, allocations: 75.91 kB / 400.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.1087, allocations: 111.2 kB / 400.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.1091, allocations: 203.3 kB / 400.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.1091, allocations: 4 kB / 400.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005019/0.1096, allocations: 265.4 kB / 400.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1096, allocations: 4 kB / 400.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1096, allocations: 0 / 400.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.1096, allocations: 4 kB / 400.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.1099, allocations: 79.89 kB / 400.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.1099, allocations: 0 / 400.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.1101, allocations: 12 kB / 400.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.1101, allocations: 8 kB / 400.8 MB, free: 14.96 MB / 334.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.0001396/0.1102, allocations: 149.8 kB / 400.9 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.1103, allocations: 15.91 kB / 400.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.582e-05/0.1103, allocations: 26.56 kB / 401 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.1103, allocations: 11.94 kB / 401 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1103, allocations: 3.938 kB / 401 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1104, allocations: 3.984 kB / 401 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.1114, allocations: 0.6611 MB / 401.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1114, allocations: 0 / 401.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.1117, allocations: 71.89 kB / 401.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.1117, allocations: 4 kB / 401.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.1117, allocations: 7.938 kB / 401.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.1117, allocations: 7.984 kB / 401.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1117, allocations: 0 / 401.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000729/0.1125, allocations: 439.8 kB / 402.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.14e-05/0.1125, allocations: 101 kB / 402.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.1126, allocations: 8 kB / 402.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.1127, allocations: 19.98 kB / 402.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.1128, allocations: 15.98 kB / 402.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.1128, allocations: 4 kB / 402.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.1129, allocations: 123.5 kB / 402.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1129, allocations: 0 / 402.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003099/0.1132, allocations: 56 kB / 402.5 MB, free: 13.14 MB / 334.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.001087/0.1143, allocations: 0.976 MB / 403.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004514/0.1147, allocations: 195.9 kB / 403.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1147, allocations: 3.938 kB / 403.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.1149, allocations: 103.8 kB / 403.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.1154, allocations: 39.89 kB / 403.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003786/0.1192, allocations: 2.67 MB / 406.5 MB, free: 9.008 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.1196, allocations: 0.7522 MB / 407.2 MB, free: 8.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.1197, allocations: 17.95 kB / 407.2 MB, free: 8.211 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.1198, allocations: 87.28 kB / 407.3 MB, free: 8.125 MB / 334.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1198, allocations: 0 / 407.3 MB, free: 8.125 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03183/0.1517, allocations: 4.568 MB / 411.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.401/8.553, allocations: 3.984 kB / 411.9 MB, free: 3.5 MB / 334.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_ElasticBearing_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_ElasticBearing.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 10.988046932034194]