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.001427/0.001427, allocations: 114.1 kB / 17.07 MB, free: 5.984 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.00161/0.001611, allocations: 194.9 kB / 18.01 MB, free: 5.066 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.373/1.373, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008774/0.0008774, allocations: 47.92 kB / 351.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2713, allocations: 49.44 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003484/0.2749, allocations: 2.42 MB / 403.1 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009858/0.2759, allocations: 0.5843 MB / 403.7 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.2761, allocations: 4 kB / 403.7 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.2762, allocations: 39.59 kB / 403.8 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.2764, allocations: 79.27 kB / 403.8 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.2766, allocations: 59.92 kB / 403.9 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003263/0.277, allocations: 298.6 kB / 404.2 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000223/0.2772, allocations: 107.5 kB / 404.3 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.2773, allocations: 119.6 kB / 404.4 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.2775, allocations: 119.5 kB / 404.5 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.2775, allocations: 24 kB / 404.6 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.789e-05/0.2776, allocations: 24 kB / 404.6 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.742e-05/0.2776, allocations: 51.84 kB / 404.6 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.2778, allocations: 139.3 kB / 404.8 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.2781, allocations: 294.6 kB / 405.1 MB, free: 4.543 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2781, allocations: 0 / 405.1 MB, free: 4.543 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2781, allocations: 0 / 405.1 MB, free: 4.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.2781, allocations: 0 / 405.1 MB, free: 4.543 MB / 318.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.0007674/0.2789, allocations: 0.5457 MB / 405.6 MB, free: 3.949 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2789, allocations: 8.031 kB / 405.6 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.279, allocations: 32.75 kB / 405.6 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.2793, allocations: 246 kB / 405.9 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.2794, allocations: 20.94 kB / 405.9 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.745e-05/0.2794, allocations: 32.11 kB / 405.9 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.2799, allocations: 224.9 kB / 406.1 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.2799, allocations: 3.984 kB / 406.2 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.28, allocations: 12 kB / 406.2 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.28, allocations: 8 kB / 406.2 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003824/0.2804, allocations: 174.1 kB / 406.3 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.2815, allocations: 0.7618 MB / 407.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004762/0.282, allocations: 222.5 kB / 407.3 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.2822, allocations: 104.8 kB / 407.4 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.2822, allocations: 8 kB / 407.4 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.753e-05/0.2823, allocations: 42.55 kB / 407.5 MB, free: 1.957 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.412e-06/0.2823, allocations: 0 / 407.5 MB, free: 1.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001724/0.2841, allocations: 0.9592 MB / 408.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.2841, allocations: 59.39 kB / 408.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.2843, allocations: 158.7 kB / 408.6 MB, free: 0.668 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.2843, allocations: 25.7 kB / 408.7 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.332e-05/0.2844, allocations: 148.8 kB / 408.8 MB, free: 500 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.852e-05/0.2845, allocations: 103.1 kB / 408.9 MB, free: 396 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.437e-05/0.2846, allocations: 49.7 kB / 409 MB, free: 340 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.2847, allocations: 338.8 kB / 409.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.2849, allocations: 67.91 kB / 409.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.2851, allocations: 119.1 kB / 409.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.2855, allocations: 211.3 kB / 409.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2855, allocations: 3.938 kB / 409.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004788/0.286, allocations: 261.4 kB / 409.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.286, allocations: 4 kB / 409.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.286, allocations: 8.094 kB / 410 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.2861, allocations: 0 / 410 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.2863, allocations: 75.91 kB / 410 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.2864, allocations: 7.922 kB / 410 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.2865, allocations: 12 kB / 410 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.2865, allocations: 12 kB / 410.1 MB, free: 15.2 MB / 334.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.0001321/0.2867, allocations: 145.6 kB / 410.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.2867, allocations: 19.89 kB / 410.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.647e-05/0.2868, allocations: 30.56 kB / 410.3 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2868, allocations: 4 kB / 410.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.2868, allocations: 0 / 410.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2868, allocations: 0 / 410.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009649/0.2878, allocations: 0.6463 MB / 410.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2878, allocations: 8 kB / 410.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/0.2881, allocations: 75.89 kB / 411 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.2882, allocations: 4 kB / 411 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.2882, allocations: 8 kB / 411 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.2882, allocations: 3.938 kB / 411 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2882, allocations: 0 / 411 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000724/0.2889, allocations: 447.8 kB / 411.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.289, allocations: 96.95 kB / 411.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.289, allocations: 8.062 kB / 411.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.2892, allocations: 16.06 kB / 411.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.041e-05/0.2893, allocations: 19.97 kB / 411.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.2893, allocations: 8 kB / 411.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.17e-05/0.2894, allocations: 123.5 kB / 411.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2894, allocations: 0 / 411.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.2897, allocations: 60 kB / 411.8 MB, free: 13.39 MB / 334.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.0001678/0.2899, allocations: 103.7 kB / 411.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004804/0.2904, allocations: 199.8 kB / 412.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2904, allocations: 4.188 kB / 412.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.2906, allocations: 103.9 kB / 412.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.291, allocations: 47.88 kB / 412.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.2923, allocations: 0.8191 MB / 413 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.2926, allocations: 0.7522 MB / 413.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.425e-05/0.2927, allocations: 17.94 kB / 413.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.965e-05/0.2928, allocations: 23.44 kB / 413.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2928, allocations: 0 / 413.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of Templates: time 0.005264/0.298, allocations: 2.195 MB / 416 MB, free: 9.066 MB / 334.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