Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 177.1 kB / 17.36 MB, free: 4.324 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.6 MB / 223.7 MB, free: 8.953 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000782/0.000782, allocations: 94.36 kB / 272.1 MB, free: 8.129 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002685/0.0002687, allocations: 4 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2838, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002501/0.2864, allocations: 2.042 MB / 378.6 MB, free: 43.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008441/0.2872, allocations: 0.5932 MB / 379.2 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.2873, allocations: 4.062 kB / 379.2 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.2875, allocations: 24.94 kB / 379.3 MB, free: 43.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.2876, allocations: 79.06 kB / 379.3 MB, free: 43.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.2878, allocations: 50.28 kB / 379.4 MB, free: 43.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.2881, allocations: 280 kB / 379.7 MB, free: 43.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.2883, allocations: 89.45 kB / 379.8 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.2884, allocations: 100.3 kB / 379.9 MB, free: 43.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.2886, allocations: 111.8 kB / 380 MB, free: 43.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.772e-05/0.2886, allocations: 13.09 kB / 380 MB, free: 43.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.435e-05/0.2887, allocations: 12.41 kB / 380 MB, free: 43.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.024e-05/0.2887, allocations: 43.59 kB / 380 MB, free: 42.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.2889, allocations: 143.8 kB / 380.2 MB, free: 42.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.2891, allocations: 270.4 kB / 380.4 MB, free: 42.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2891, allocations: 0 / 380.4 MB, free: 42.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.2892, allocations: 1.156 kB / 380.4 MB, free: 42.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2892, allocations: 0 / 380.4 MB, free: 42.69 MB / 298.7 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.0006675/0.2898, allocations: 0.5061 MB / 380.9 MB, free: 42.22 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.499e-05/0.2899, allocations: 8.875 kB / 380.9 MB, free: 42.22 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.29, allocations: 30.88 kB / 381 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.2902, allocations: 234.6 kB / 381.2 MB, free: 41.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.2903, allocations: 18.19 kB / 381.2 MB, free: 41.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.2903, allocations: 40.78 kB / 381.3 MB, free: 41.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/0.2908, allocations: 226.8 kB / 381.5 MB, free: 41.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.2908, allocations: 1.281 kB / 381.5 MB, free: 41.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.2908, allocations: 10.41 kB / 381.5 MB, free: 41.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.2908, allocations: 5.75 kB / 381.5 MB, free: 41.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.2913, allocations: 189 kB / 381.7 MB, free: 41.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.2924, allocations: 0.7738 MB / 382.5 MB, free: 41.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005372/0.2929, allocations: 221 kB / 382.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.2932, allocations: 115.8 kB / 382.8 MB, free: 40.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.2932, allocations: 3 kB / 382.8 MB, free: 40.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.2932, allocations: 48.31 kB / 382.8 MB, free: 40.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.332e-06/0.2932, allocations: 0 / 382.8 MB, free: 40.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001728/0.295, allocations: 0.9835 MB / 383.8 MB, free: 40.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.295, allocations: 59.31 kB / 383.9 MB, free: 40.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.2952, allocations: 159.1 kB / 384 MB, free: 39.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.2952, allocations: 26.8 kB / 384.1 MB, free: 39.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.2953, allocations: 151.2 kB / 384.2 MB, free: 39.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.197e-05/0.2953, allocations: 102.6 kB / 384.3 MB, free: 39.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-06/0.2953, allocations: 5.156 kB / 384.3 MB, free: 39.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.2954, allocations: 331 kB / 384.6 MB, free: 39.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.2956, allocations: 90.92 kB / 384.7 MB, free: 39.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.2958, allocations: 122.9 kB / 384.8 MB, free: 39.19 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003692/0.2962, allocations: 209.3 kB / 385.1 MB, free: 39.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2962, allocations: 0 / 385.1 MB, free: 39.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004634/0.2967, allocations: 266.7 kB / 385.3 MB, free: 38.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2967, allocations: 5.625 kB / 385.3 MB, free: 38.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2967, allocations: 0 / 385.3 MB, free: 38.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.2967, allocations: 2.281 kB / 385.3 MB, free: 38.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.297, allocations: 76.64 kB / 385.4 MB, free: 38.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.297, allocations: 6.594 kB / 385.4 MB, free: 38.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.2972, allocations: 17.14 kB / 385.4 MB, free: 38.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.2972, allocations: 14.34 kB / 385.4 MB, free: 38.9 MB / 298.7 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.0001108/0.2973, allocations: 139.9 kB / 385.6 MB, free: 38.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.2973, allocations: 21.28 kB / 385.6 MB, free: 38.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.95e-05/0.2974, allocations: 30.05 kB / 385.6 MB, free: 38.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2974, allocations: 2.719 kB / 385.6 MB, free: 38.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.2974, allocations: 4 kB / 385.6 MB, free: 38.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.2974, allocations: 0 / 385.6 MB, free: 38.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009857/0.2984, allocations: 0.6656 MB / 386.3 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.2985, allocations: 5.172 kB / 386.3 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/0.2988, allocations: 70.16 kB / 386.4 MB, free: 38.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.2988, allocations: 2.438 kB / 386.4 MB, free: 38.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.2988, allocations: 6.406 kB / 386.4 MB, free: 38.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.2988, allocations: 5.094 kB / 386.4 MB, free: 38.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2988, allocations: 5.078 kB / 386.4 MB, free: 38.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000681/0.2995, allocations: 454.8 kB / 386.8 MB, free: 37.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.2996, allocations: 96.89 kB / 386.9 MB, free: 37.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.2996, allocations: 8 kB / 386.9 MB, free: 37.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.2998, allocations: 15.92 kB / 386.9 MB, free: 37.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.2998, allocations: 19.97 kB / 387 MB, free: 37.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.2998, allocations: 8 kB / 387 MB, free: 37.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.418e-05/0.2999, allocations: 119.5 kB / 387.1 MB, free: 37.58 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2999, allocations: 4 kB / 387.1 MB, free: 37.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002583/0.3002, allocations: 56 kB / 387.1 MB, free: 37.52 MB / 298.7 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.0001041/0.3003, allocations: 111.2 kB / 387.3 MB, free: 37.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003649/0.3007, allocations: 207.8 kB / 387.5 MB, free: 37.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3007, allocations: 0 / 387.5 MB, free: 37.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.3008, allocations: 115.1 kB / 387.6 MB, free: 37.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.3013, allocations: 39.92 kB / 387.6 MB, free: 37.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.3024, allocations: 1.032 MB / 388.6 MB, free: 36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.3026, allocations: 0.7563 MB / 389.4 MB, free: 35.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.655e-05/0.3027, allocations: 21.94 kB / 389.4 MB, free: 35.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.3028, allocations: 19.44 kB / 389.4 MB, free: 35.17 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3028, allocations: 0 / 389.4 MB, free: 35.17 MB / 298.7 MB Notification: Performance of Templates: time 0.004269/0.307, allocations: 1.988 MB / 391.4 MB, free: 33.19 MB / 298.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches