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.0008731/0.0008731, allocations: 97.22 kB / 16.3 MB, free: 5.992 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.0009276/0.0009276, allocations: 181.7 kB / 17.2 MB, free: 5.906 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.282/1.282, allocations: 223.2 MB / 241.1 MB, free: 5.449 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002666/0.0002666, allocations: 10.22 kB / 300.7 MB, free: 6.055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08958/0.08986, allocations: 50.43 MB / 351.1 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.00248/0.09237, allocations: 1.945 MB / 353.1 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009965/0.0934, allocations: 0.5693 MB / 353.6 MB, free: 9.211 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.09361, allocations: 7.938 kB / 353.7 MB, free: 9.203 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.932e-05/0.0937, allocations: 23.83 kB / 353.7 MB, free: 9.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.09392, allocations: 83.75 kB / 353.8 MB, free: 9.098 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.09408, allocations: 47.89 kB / 353.8 MB, free: 9.051 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.09436, allocations: 199.6 kB / 354 MB, free: 8.855 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.09454, allocations: 89.73 kB / 354.1 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.09467, allocations: 91.64 kB / 354.2 MB, free: 8.676 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.09481, allocations: 107.5 kB / 354.3 MB, free: 8.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.09485, allocations: 12 kB / 354.3 MB, free: 8.559 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.457e-05/0.09489, allocations: 12 kB / 354.3 MB, free: 8.547 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.643e-05/0.09493, allocations: 43.83 kB / 354.3 MB, free: 8.504 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.477e-05/0.09499, allocations: 69.58 kB / 354.4 MB, free: 8.43 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.0952, allocations: 211.4 kB / 354.6 MB, free: 8.223 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.09521, allocations: 0 / 354.6 MB, free: 8.223 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09522, allocations: 4 kB / 354.6 MB, free: 8.219 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.09523, allocations: 0 / 354.6 MB, free: 8.219 MB / 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.0006969/0.09594, allocations: 0.499 MB / 355.1 MB, free: 7.672 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.09598, allocations: 8.031 kB / 355.1 MB, free: 7.664 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.439e-05/0.09605, allocations: 43.56 kB / 355.2 MB, free: 7.621 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.09629, allocations: 231.2 kB / 355.4 MB, free: 7.355 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.09632, allocations: 20.56 kB / 355.4 MB, free: 7.336 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.341e-05/0.09637, allocations: 28 kB / 355.4 MB, free: 7.309 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004296/0.09681, allocations: 224.9 kB / 355.7 MB, free: 7.086 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.09683, allocations: 7.891 kB / 355.7 MB, free: 7.078 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.09686, allocations: 15.98 kB / 355.7 MB, free: 7.062 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.09688, allocations: 4 kB / 355.7 MB, free: 7.059 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.09727, allocations: 190.1 kB / 355.9 MB, free: 6.871 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.09836, allocations: 0.7733 MB / 356.7 MB, free: 6.043 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004375/0.09881, allocations: 225.1 kB / 356.9 MB, free: 5.816 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.09884, allocations: 3.938 kB / 356.9 MB, free: 5.812 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.09886, allocations: 38.56 kB / 356.9 MB, free: 5.766 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.09887, allocations: 4 kB / 356.9 MB, free: 5.762 MB / 286.1 MB Notification: Performance of matching and sorting (n=28): time 0.001606/0.1005, allocations: 0.9716 MB / 357.9 MB, free: 4.699 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.1005, allocations: 59.41 kB / 357.9 MB, free: 4.629 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.1007, allocations: 159.8 kB / 358.1 MB, free: 4.461 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.1007, allocations: 33.7 kB / 358.1 MB, free: 4.422 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.1008, allocations: 140.5 kB / 358.3 MB, free: 4.277 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.018e-05/0.1009, allocations: 106.5 kB / 358.4 MB, free: 4.172 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/0.1009, allocations: 8 kB / 358.4 MB, free: 4.164 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.101, allocations: 338.7 kB / 358.7 MB, free: 3.824 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.1012, allocations: 79.95 kB / 358.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.1014, allocations: 115.2 kB / 358.9 MB, free: 3.621 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.1016, allocations: 91.98 kB / 359 MB, free: 3.531 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1016, allocations: 0 / 359 MB, free: 3.531 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004715/0.1021, allocations: 265.3 kB / 359.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1021, allocations: 8.094 kB / 359.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1021, allocations: 4 kB / 359.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1021, allocations: 0 / 359.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.1024, allocations: 83.89 kB / 359.4 MB, free: 3.172 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.1024, allocations: 3.938 kB / 359.4 MB, free: 3.168 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.1026, allocations: 15.98 kB / 359.4 MB, free: 3.152 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.1026, allocations: 8 kB / 359.4 MB, free: 3.145 MB / 286.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.0001119/0.1027, allocations: 145.7 kB / 359.5 MB, free: 2.992 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.1027, allocations: 15.81 kB / 359.5 MB, free: 2.977 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.96e-05/0.1028, allocations: 30.55 kB / 359.6 MB, free: 2.945 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1028, allocations: 0 / 359.6 MB, free: 2.945 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1028, allocations: 0 / 359.6 MB, free: 2.945 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1028, allocations: 4 kB / 359.6 MB, free: 2.941 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009134/0.1038, allocations: 0.66 MB / 360.2 MB, free: 2.219 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1038, allocations: 3.984 kB / 360.2 MB, free: 2.215 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003387/0.1041, allocations: 79.97 kB / 360.3 MB, free: 2.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1041, allocations: 0 / 360.3 MB, free: 2.137 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.1041, allocations: 8 kB / 360.3 MB, free: 2.129 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1042, allocations: 0 / 360.3 MB, free: 2.129 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.1042, allocations: 11.94 kB / 360.3 MB, free: 2.117 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006841/0.1049, allocations: 477 kB / 360.8 MB, free: 1.617 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.1049, allocations: 92.92 kB / 360.9 MB, free: 1.508 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.105, allocations: 8.016 kB / 360.9 MB, free: 1.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.1051, allocations: 19.98 kB / 360.9 MB, free: 1.48 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/0.1052, allocations: 19.97 kB / 360.9 MB, free: 1.461 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.1052, allocations: 12.06 kB / 360.9 MB, free: 1.449 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.054e-05/0.1053, allocations: 115.2 kB / 361.1 MB, free: 1.336 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1053, allocations: 0 / 361.1 MB, free: 1.336 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002944/0.1056, allocations: 60 kB / 361.1 MB, free: 1.277 MB / 286.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.0001277/0.1057, allocations: 111.1 kB / 361.2 MB, free: 1.16 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004297/0.1062, allocations: 212 kB / 361.4 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1062, allocations: 0 / 361.4 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.1064, allocations: 108.1 kB / 361.5 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.1067, allocations: 31.97 kB / 361.6 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.1082, allocations: 1 MB / 362.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.1085, allocations: 0.7602 MB / 363.3 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.644e-05/0.1086, allocations: 21.94 kB / 363.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.1086, allocations: 19.44 kB / 363.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1087, allocations: 0 / 363.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of Templates: time 0.00435/0.113, allocations: 1.903 MB / 365.3 MB, free: 13.07 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","../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches