Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.00154/0.00154, allocations: 119.4 kB / 18.41 MB, free: 4.648 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.001789/0.00179, allocations: 196.3 kB / 21.35 MB, free: 1.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 247.1 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 51.86 kB / 358.7 MB, free: 8.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.107, allocations: 49.43 MB / 408.1 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003862/0.1109, allocations: 2.428 MB / 410.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.112, allocations: 0.5765 MB / 411.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.1122, allocations: 4 kB / 411.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.1123, allocations: 39.59 kB / 411.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.1126, allocations: 83.2 kB / 411.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.1128, allocations: 59.92 kB / 411.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000334/0.1131, allocations: 294.6 kB / 411.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.1134, allocations: 115.5 kB / 411.7 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.1135, allocations: 107.6 kB / 411.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.1137, allocations: 123.4 kB / 411.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.476e-05/0.1137, allocations: 24 kB / 411.9 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.638e-05/0.1138, allocations: 24 kB / 411.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.854e-05/0.1138, allocations: 55.83 kB / 412 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.114, allocations: 131.3 kB / 412.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.1144, allocations: 290.8 kB / 412.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1144, allocations: 0 / 412.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1144, allocations: 4 kB / 412.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.1144, allocations: 0 / 412.4 MB, free: 2.57 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.0008383/0.1153, allocations: 0.5456 MB / 413 MB, free: 1.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1153, allocations: 12.03 kB / 413 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/0.1154, allocations: 32.69 kB / 413 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.1158, allocations: 244.5 kB / 413.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.1158, allocations: 24.92 kB / 413.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/0.1159, allocations: 28.12 kB / 413.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004741/0.1163, allocations: 228.8 kB / 413.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.1164, allocations: 0 / 413.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.1164, allocations: 12 kB / 413.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1164, allocations: 4 kB / 413.5 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000426/0.1168, allocations: 178.1 kB / 413.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.1181, allocations: 0.7579 MB / 414.5 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005077/0.1186, allocations: 215.8 kB / 414.7 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.1189, allocations: 119.1 kB / 414.8 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.1189, allocations: 0 / 414.8 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/0.119, allocations: 46.48 kB / 414.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.323e-06/0.119, allocations: 0 / 414.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001858/0.1208, allocations: 0.9565 MB / 415.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.1209, allocations: 55.41 kB / 415.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.1211, allocations: 154.7 kB / 416 MB, free: 14.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.1211, allocations: 29.7 kB / 416 MB, free: 14.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.1212, allocations: 156.7 kB / 416.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.448e-05/0.1213, allocations: 107.1 kB / 416.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.789e-05/0.1214, allocations: 49.7 kB / 416.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1216, allocations: 330.8 kB / 416.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.1218, allocations: 71.95 kB / 416.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.122, allocations: 123 kB / 416.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/0.1225, allocations: 215.3 kB / 417.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1225, allocations: 0 / 417.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005039/0.123, allocations: 257.5 kB / 417.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.123, allocations: 4 kB / 417.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.123, allocations: 4 kB / 417.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.1231, allocations: 0 / 417.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.1234, allocations: 79.89 kB / 417.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1234, allocations: 0 / 417.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.1235, allocations: 19.92 kB / 417.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.1235, allocations: 8 kB / 417.4 MB, free: 13.23 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.0001372/0.1237, allocations: 149.7 kB / 417.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.1237, allocations: 19.91 kB / 417.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.042e-05/0.1238, allocations: 26.55 kB / 417.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.1238, allocations: 8 kB / 417.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.1238, allocations: 0 / 417.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1238, allocations: 0 / 417.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.1249, allocations: 0.6508 MB / 418.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1249, allocations: 3.984 kB / 418.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003255/0.1252, allocations: 75.91 kB / 418.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1252, allocations: 0 / 418.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.1252, allocations: 8 kB / 418.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.1253, allocations: 3.938 kB / 418.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1253, allocations: 3.984 kB / 418.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000771/0.126, allocations: 447.6 kB / 418.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.181e-05/0.1261, allocations: 92.97 kB / 418.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.1262, allocations: 8.062 kB / 418.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.1263, allocations: 19.86 kB / 418.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/0.1264, allocations: 23.97 kB / 418.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.1264, allocations: 8 kB / 419 MB, free: 11.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.1265, allocations: 119.5 kB / 419.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1265, allocations: 3.938 kB / 419.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003147/0.1269, allocations: 60 kB / 419.1 MB, free: 11.41 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.0001427/0.127, allocations: 103.7 kB / 419.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000484/0.1275, allocations: 208.1 kB / 419.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1275, allocations: 0 / 419.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.1277, allocations: 108 kB / 419.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.1282, allocations: 37.95 kB / 419.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.1297, allocations: 0.8569 MB / 420.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/0.1301, allocations: 0.7522 MB / 421.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.027e-05/0.1302, allocations: 23.44 kB / 421.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1302, allocations: 0 / 421.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of Templates: time 0.005323/0.1355, allocations: 2.788 MB / 424 MB, free: 6.465 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.23991546407342]