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.001229/0.001229, allocations: 107.3 kB / 18.35 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.001057/0.001057, allocations: 188.1 kB / 19.29 MB, free: 3.844 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.427/1.427, 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.001208/0.001208, allocations: 47.92 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0868/0.08802, allocations: 46.64 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.00387/0.09192, allocations: 2.407 MB / 331.1 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009205/0.09286, allocations: 0.6164 MB / 331.8 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.09298, allocations: 4 kB / 331.8 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.09314, allocations: 43.58 kB / 331.8 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.09333, allocations: 79.27 kB / 331.9 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.0935, allocations: 59.92 kB / 331.9 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.09379, allocations: 298.6 kB / 332.2 MB, free: 220 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.09399, allocations: 106.9 kB / 332.3 MB, free: 116 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.09412, allocations: 107.6 kB / 332.4 MB, free: 8 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.09429, allocations: 127.5 kB / 332.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.09433, allocations: 24 kB / 332.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.955e-05/0.09438, allocations: 31.94 kB / 332.6 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.09443, allocations: 55.83 kB / 332.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.09456, allocations: 131.3 kB / 332.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.09482, allocations: 295 kB / 333.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.09484, allocations: 0 / 333.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.09484, allocations: 0 / 333.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.09485, 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.000906/0.09576, allocations: 0.5381 MB / 333.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.0958, allocations: 8.031 kB / 333.6 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.36e-05/0.09586, allocations: 36.56 kB / 333.7 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.09614, allocations: 232.5 kB / 333.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.09617, allocations: 20.94 kB / 333.9 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.159e-05/0.09624, allocations: 36.02 kB / 334 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000444/0.09669, allocations: 220.9 kB / 334.2 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.09671, allocations: 11.92 kB / 334.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.09674, allocations: 12 kB / 334.2 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.09676, allocations: 4 kB / 334.2 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.09714, allocations: 178.1 kB / 334.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.09828, allocations: 0.7577 MB / 335.1 MB, free: 13.17 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/0.09872, allocations: 214.5 kB / 335.3 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.09894, allocations: 108.8 kB / 335.5 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.09897, allocations: 4 kB / 335.5 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.09899, 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.099, allocations: 8 kB / 335.5 MB, free: 12.79 MB / 286.1 MB Notification: Performance of matching and sorting (n=28): time 0.001668/0.1007, allocations: 0.9536 MB / 336.5 MB, free: 11.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.1007, allocations: 63.39 kB / 336.5 MB, free: 11.67 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.1009, allocations: 154.7 kB / 336.7 MB, free: 11.51 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.1009, allocations: 33.64 kB / 336.7 MB, free: 11.47 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.634e-05/0.101, allocations: 140.5 kB / 336.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.199e-05/0.1011, allocations: 102.5 kB / 336.9 MB, free: 11.23 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.1012, allocations: 49.7 kB / 337 MB, free: 11.17 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1013, allocations: 334.8 kB / 337.3 MB, free: 10.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.1015, allocations: 75.97 kB / 337.4 MB, free: 10.76 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.1017, allocations: 119.2 kB / 337.5 MB, free: 10.63 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.1021, allocations: 199.3 kB / 337.7 MB, free: 10.43 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1021, allocations: 0 / 337.7 MB, free: 10.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000456/0.1025, allocations: 269.2 kB / 338 MB, free: 10.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1026, allocations: 4 kB / 338 MB, free: 10.15 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.1026, allocations: 4 kB / 338 MB, free: 10.15 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1026, allocations: 0 / 338 MB, free: 10.15 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.1029, allocations: 75.98 kB / 338 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1029, allocations: 4 kB / 338 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.103, allocations: 12 kB / 338.1 MB, free: 10.06 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.103, allocations: 12 kB / 338.1 MB, free: 10.05 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.0001258/0.1032, allocations: 145.6 kB / 338.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.1032, allocations: 15.81 kB / 338.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.441e-05/0.1033, allocations: 26.56 kB / 338.3 MB, free: 9.855 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1033, allocations: 4 kB / 338.3 MB, free: 9.852 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1033, allocations: 0 / 338.3 MB, free: 9.852 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.1033, allocations: 7.984 kB / 338.3 MB, free: 9.844 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008901/0.1042, allocations: 0.6524 MB / 338.9 MB, free: 9.129 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1042, allocations: 0 / 338.9 MB, free: 9.129 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003227/0.1045, allocations: 67.95 kB / 339 MB, free: 9.062 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.1046, allocations: 8.062 kB / 339 MB, free: 9.055 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.1046, allocations: 7.938 kB / 339 MB, free: 9.047 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/0.1046, allocations: 7.938 kB / 339 MB, free: 9.039 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.1046, allocations: 3.984 kB / 339 MB, free: 9.035 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00065/0.1053, allocations: 437.3 kB / 339.4 MB, free: 8.586 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.1053, allocations: 100.9 kB / 339.5 MB, free: 8.469 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.1054, allocations: 4 kB / 339.5 MB, free: 8.465 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.1055, allocations: 19.91 kB / 339.6 MB, free: 8.445 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.1056, allocations: 19.92 kB / 339.6 MB, free: 8.426 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.1056, allocations: 4 kB / 339.6 MB, free: 8.422 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.549e-05/0.1057, allocations: 123.5 kB / 339.7 MB, free: 8.301 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1057, allocations: 0 / 339.7 MB, free: 8.301 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002923/0.106, allocations: 64 kB / 339.8 MB, free: 8.238 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.0001029/0.1061, allocations: 103.2 kB / 339.9 MB, free: 8.125 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004208/0.1065, allocations: 203.7 kB / 340.1 MB, free: 7.926 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1065, allocations: 0 / 340.1 MB, free: 7.926 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.1067, allocations: 108.1 kB / 340.2 MB, free: 7.82 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.1071, allocations: 49.36 kB / 340.2 MB, free: 7.773 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.1084, allocations: 0.8034 MB / 341 MB, free: 6.938 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.1087, allocations: 0.7522 MB / 341.8 MB, free: 6.156 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.506e-05/0.1087, allocations: 21.94 kB / 341.8 MB, free: 6.133 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.1088, allocations: 23.38 kB / 341.8 MB, free: 6.109 MB / 286.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1088, allocations: 0 / 341.8 MB, free: 6.109 MB / 286.1 MB Notification: Performance of Templates: time 0.004921/0.1137, allocations: 2.168 MB / 344 MB, free: 3.945 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 gbode -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