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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 88.62 kB / 16.31 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001413, allocations: 183.1 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.3 MB / 241.2 MB, free: 14.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.000272, allocations: 8 kB / 300.8 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1035, allocations: 50.42 MB / 351.3 MB, free: 3.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002448/0.106, allocations: 2.025 MB / 353.3 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008144/0.1068, allocations: 0.5612 MB / 353.8 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1069, allocations: 4 kB / 353.8 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.1071, allocations: 23.78 kB / 353.9 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.1072, allocations: 67.45 kB / 353.9 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.1074, allocations: 47.94 kB / 354 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.1076, allocations: 270.7 kB / 354.2 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.1078, allocations: 85.8 kB / 354.3 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.1079, allocations: 91.64 kB / 354.4 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.1081, allocations: 103.5 kB / 354.5 MB, free: 500 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.1081, allocations: 12 kB / 354.5 MB, free: 488 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.518e-05/0.1082, allocations: 12 kB / 354.5 MB, free: 476 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.901e-05/0.1082, allocations: 43.83 kB / 354.6 MB, free: 432 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.727e-05/0.1083, allocations: 69.58 kB / 354.6 MB, free: 356 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.1085, allocations: 215.6 kB / 354.9 MB, free: 140 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1085, allocations: 0 / 354.9 MB, free: 140 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1085, allocations: 0 / 354.9 MB, free: 140 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.1085, allocations: 0 / 354.9 MB, free: 140 kB / 286.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.0006924/0.1092, allocations: 0.5184 MB / 355.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.1093, allocations: 8.031 kB / 355.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.1093, allocations: 23.72 kB / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.1096, allocations: 231.2 kB / 355.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.1096, allocations: 20.56 kB / 355.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.1096, allocations: 24 kB / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004422/0.1101, allocations: 232.8 kB / 355.9 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.1101, allocations: 7.891 kB / 355.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.1101, allocations: 19.95 kB / 355.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.1102, allocations: 4 kB / 355.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003872/0.1106, allocations: 190.1 kB / 356.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.1117, allocations: 0.7695 MB / 356.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.1121, allocations: 214.8 kB / 357.1 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.1123, allocations: 120.5 kB / 357.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.1124, allocations: 4 kB / 357.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.1124, allocations: 42.48 kB / 357.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.282e-06/0.1124, allocations: 0 / 357.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001604/0.114, allocations: 0.9878 MB / 358.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.1141, allocations: 63.34 kB / 358.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.1142, allocations: 150.7 kB / 358.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1143, allocations: 29.7 kB / 358.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.903e-05/0.1143, allocations: 140.6 kB / 358.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.17e-05/0.1144, allocations: 110.5 kB / 358.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.1144, allocations: 4 kB / 358.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1146, allocations: 330.8 kB / 359.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.1147, allocations: 75.97 kB / 359.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.115, allocations: 123.2 kB / 359.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.1151, allocations: 91.98 kB / 359.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1152, allocations: 0 / 359.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004602/0.1156, allocations: 269.4 kB / 359.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1156, allocations: 4 kB / 359.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1157, allocations: 8 kB / 359.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1157, allocations: 0 / 359.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.116, allocations: 79.98 kB / 359.7 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.116, allocations: 4 kB / 359.7 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.1161, allocations: 15.95 kB / 359.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.1162, allocations: 12 kB / 359.7 MB, free: 10.94 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.1163, allocations: 138.2 kB / 359.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.1163, allocations: 19.81 kB / 359.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.7e-05/0.1164, allocations: 22.56 kB / 359.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1164, allocations: 8 kB / 359.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1164, allocations: 0 / 359.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.1164, allocations: 7.922 kB / 359.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009082/0.1173, allocations: 0.6676 MB / 360.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1174, allocations: 0 / 360.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003201/0.1177, allocations: 75.89 kB / 360.7 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1177, allocations: 0 / 360.7 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.1177, allocations: 11.95 kB / 360.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1177, allocations: 3.984 kB / 360.7 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1177, allocations: 0 / 360.7 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006672/0.1184, allocations: 466.8 kB / 361.1 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.813e-05/0.1185, allocations: 88.92 kB / 361.2 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.1185, allocations: 8.062 kB / 361.2 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.1187, allocations: 19.94 kB / 361.3 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.1187, allocations: 15.98 kB / 361.3 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.1187, allocations: 8 kB / 361.3 MB, free: 9.285 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.041e-05/0.1188, allocations: 123.5 kB / 361.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1188, allocations: 0 / 361.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003048/0.1191, allocations: 56 kB / 361.4 MB, free: 9.109 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001037/0.1192, allocations: 115.1 kB / 361.6 MB, free: 8.988 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004198/0.1197, allocations: 208.1 kB / 361.8 MB, free: 8.785 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1197, allocations: 0 / 361.8 MB, free: 8.785 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.1199, allocations: 107.9 kB / 361.9 MB, free: 8.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.1203, allocations: 39.95 kB / 361.9 MB, free: 8.641 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.1217, allocations: 1.003 MB / 362.9 MB, free: 7.609 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.1221, allocations: 0.7525 MB / 363.7 MB, free: 6.828 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.231e-05/0.1222, allocations: 25.88 kB / 363.7 MB, free: 6.805 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.1222, allocations: 19.44 kB / 363.7 MB, free: 6.785 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1222, allocations: 0 / 363.7 MB, free: 6.785 MB / 302.1 MB Notification: Performance of Templates: time 0.004693/0.1269, allocations: 1.906 MB / 365.6 MB, free: 4.891 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches