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) 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 3.2.3+maint.om/package.mo", uses=false) 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: 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_3.2.3_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_3.2.3_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.001713/0.001713, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.001887/0.001888, allocations: 191 kB / 19.29 MB, free: 3.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB 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.001173/0.001174, allocations: 55.92 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08855/0.08973, allocations: 46.63 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.00349/0.09326, allocations: 2.419 MB / 331.1 MB, free: 1.32 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009275/0.09421, allocations: 0.6125 MB / 331.8 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.09433, allocations: 7.938 kB / 331.8 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.0945, allocations: 35.59 kB / 331.8 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.09465, allocations: 79.31 kB / 331.9 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.09482, allocations: 59.92 kB / 331.9 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.09512, allocations: 306.5 kB / 332.2 MB, free: 224 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.09534, allocations: 106.9 kB / 332.3 MB, free: 120 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.09547, allocations: 111.6 kB / 332.5 MB, free: 8 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.09564, allocations: 123.5 kB / 332.6 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.665e-05/0.09569, allocations: 24 kB / 332.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.626e-05/0.09574, allocations: 24 kB / 332.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.683e-05/0.09579, allocations: 47.84 kB / 332.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.09591, allocations: 143.3 kB / 332.8 MB, free: 15.65 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.0962, allocations: 295 kB / 333.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.09621, allocations: 4 kB / 333.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.09622, allocations: 0 / 333.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.09623, allocations: 0 / 333.1 MB, free: 15.36 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.0007239/0.09696, allocations: 0.5342 MB / 333.6 MB, free: 14.78 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.097, allocations: 8.031 kB / 333.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.09706, allocations: 28.56 kB / 333.7 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.09735, allocations: 240.5 kB / 333.9 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.09739, allocations: 20.88 kB / 333.9 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.504e-05/0.09745, allocations: 44.02 kB / 334 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.09787, allocations: 216.9 kB / 334.2 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.0979, allocations: 7.984 kB / 334.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.09793, allocations: 8 kB / 334.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.09794, allocations: 8 kB / 334.2 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003834/0.09833, allocations: 178.1 kB / 334.4 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.09946, allocations: 0.7538 MB / 335.1 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.09993, allocations: 218.5 kB / 335.3 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.1002, allocations: 118 kB / 335.5 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.1002, allocations: 4 kB / 335.5 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.1002, allocations: 34.55 kB / 335.5 MB, free: 12.8 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 1.442e-06/0.1002, allocations: 0 / 335.5 MB, free: 12.8 MB / 286.1 MB Notification: Performance of matching and sorting (n=28): time 0.001613/0.1018, allocations: 0.9537 MB / 336.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.1019, allocations: 59.41 kB / 336.5 MB, free: 11.68 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.102, allocations: 154.6 kB / 336.7 MB, free: 11.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1021, allocations: 29.7 kB / 336.7 MB, free: 11.49 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.1021, allocations: 148.5 kB / 336.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/0.1022, allocations: 106.5 kB / 336.9 MB, free: 11.23 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.1023, allocations: 45.7 kB / 337 MB, free: 11.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1024, allocations: 338.8 kB / 337.3 MB, free: 10.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.1026, allocations: 71.97 kB / 337.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.1028, allocations: 119.2 kB / 337.5 MB, free: 10.64 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.1031, allocations: 191.3 kB / 337.7 MB, free: 10.44 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1032, allocations: 3.938 kB / 337.7 MB, free: 10.44 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004488/0.1036, allocations: 269.3 kB / 338 MB, free: 10.17 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1036, allocations: 8 kB / 338 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1036, allocations: 0 / 338 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1037, allocations: 4 kB / 338 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.1039, allocations: 67.91 kB / 338 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.104, allocations: 7.984 kB / 338 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.1041, allocations: 8 kB / 338 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.1041, allocations: 16.09 kB / 338.1 MB, free: 10.06 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.1042, allocations: 145.7 kB / 338.2 MB, free: 9.906 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.1043, allocations: 23.8 kB / 338.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.499e-05/0.1044, allocations: 26.56 kB / 338.3 MB, free: 9.859 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1044, allocations: 0 / 338.3 MB, free: 9.859 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1044, allocations: 4 kB / 338.3 MB, free: 9.855 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1044, allocations: 3.984 kB / 338.3 MB, free: 9.852 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009283/0.1053, allocations: 0.6564 MB / 338.9 MB, free: 9.133 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1053, allocations: 3.938 kB / 338.9 MB, free: 9.129 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.1057, allocations: 71.89 kB / 339 MB, free: 9.059 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.1057, allocations: 0 / 339 MB, free: 9.059 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.1057, allocations: 8 kB / 339 MB, free: 9.051 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.1057, allocations: 7.922 kB / 339 MB, free: 9.043 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1057, allocations: 4 kB / 339 MB, free: 9.039 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006387/0.1064, allocations: 437.3 kB / 339.4 MB, free: 8.59 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.1064, allocations: 96.81 kB / 339.5 MB, free: 8.477 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.1065, allocations: 8.062 kB / 339.5 MB, free: 8.469 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.1066, allocations: 15.94 kB / 339.6 MB, free: 8.453 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.1067, allocations: 23.97 kB / 339.6 MB, free: 8.43 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.1067, allocations: 4 kB / 339.6 MB, free: 8.426 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.056e-05/0.1068, allocations: 123.5 kB / 339.7 MB, free: 8.305 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1068, allocations: 0 / 339.7 MB, free: 8.305 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002989/0.1071, allocations: 56 kB / 339.8 MB, free: 8.25 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 (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.0001255/0.1072, allocations: 107.2 kB / 339.9 MB, free: 8.133 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004223/0.1077, allocations: 203.8 kB / 340.1 MB, free: 7.934 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1077, allocations: 0 / 340.1 MB, free: 7.934 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.1079, allocations: 103.8 kB / 340.2 MB, free: 7.832 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.1083, allocations: 47.91 kB / 340.2 MB, free: 7.785 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.1096, allocations: 0.8194 MB / 341 MB, free: 6.934 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.1099, allocations: 0.7483 MB / 341.8 MB, free: 6.156 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.836e-05/0.11, allocations: 21.95 kB / 341.8 MB, free: 6.133 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.894e-05/0.1101, allocations: 19.44 kB / 341.8 MB, free: 6.113 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1101, allocations: 0 / 341.8 MB, free: 6.113 MB / 286.1 MB Notification: Performance of Templates: time 0.004898/0.115, allocations: 2.164 MB / 344 MB, free: 3.953 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (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 & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches