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.001214/0.001214, allocations: 107.6 kB / 17.06 MB, free: 5.824 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.001195/0.001195, allocations: 192 kB / 18 MB, free: 4.977 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.4/1.4, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00101/0.00101, allocations: 47.94 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2739, allocations: 49.43 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004227/0.2781, allocations: 2.42 MB / 403.1 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.2793, allocations: 0.5843 MB / 403.7 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.2795, allocations: 4 kB / 403.7 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.2796, allocations: 43.53 kB / 403.8 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.2799, allocations: 79.33 kB / 403.8 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.2802, allocations: 63.84 kB / 403.9 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002971/0.2805, allocations: 290.6 kB / 404.2 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.2807, allocations: 115.5 kB / 404.3 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.2808, allocations: 111.6 kB / 404.4 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.281, allocations: 127.5 kB / 404.5 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.453e-05/0.281, allocations: 24 kB / 404.6 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.781e-05/0.2811, allocations: 24 kB / 404.6 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/0.2811, allocations: 51.84 kB / 404.6 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.2812, allocations: 131.3 kB / 404.8 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.2815, allocations: 304 kB / 405.1 MB, free: 4.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2815, allocations: 0 / 405.1 MB, free: 4.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2815, allocations: 4 kB / 405.1 MB, free: 4.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.2816, allocations: 0 / 405.1 MB, free: 4.516 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.000793/0.2823, allocations: 0.5382 MB / 405.6 MB, free: 3.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.2824, allocations: 8.031 kB / 405.6 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.035e-05/0.2825, allocations: 24.66 kB / 405.6 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.2828, allocations: 242.1 kB / 405.9 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.2828, allocations: 20.94 kB / 405.9 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.625e-05/0.2829, allocations: 36.03 kB / 405.9 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.2834, allocations: 220.9 kB / 406.1 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.2834, allocations: 4 kB / 406.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.2834, allocations: 8 kB / 406.1 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.2835, allocations: 8 kB / 406.2 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.2839, allocations: 178.1 kB / 406.3 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.2852, allocations: 0.7538 MB / 407.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.2857, allocations: 229.5 kB / 407.3 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.286, allocations: 116.8 kB / 407.4 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.286, allocations: 4 kB / 407.4 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.286, allocations: 30.56 kB / 407.5 MB, free: 1.957 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.754e-06/0.286, allocations: 0 / 407.5 MB, free: 1.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001651/0.2877, allocations: 0.9627 MB / 408.4 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.2877, allocations: 55.41 kB / 408.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.2879, allocations: 150.7 kB / 408.6 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.222e-05/0.2879, allocations: 33.7 kB / 408.7 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.288, allocations: 144.5 kB / 408.8 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.2882, allocations: 106.5 kB / 408.9 MB, free: 396 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-05/0.2883, allocations: 49.7 kB / 408.9 MB, free: 340 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.2885, allocations: 330.8 kB / 409.3 MB, free: 0 / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.2888, allocations: 76.06 kB / 409.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.289, allocations: 123 kB / 409.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.2893, allocations: 203.3 kB / 409.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2894, allocations: 0 / 409.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005843/0.2899, allocations: 261.5 kB / 409.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.29, allocations: 8 kB / 409.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.29, allocations: 0 / 409.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.29, allocations: 4 kB / 409.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.2904, allocations: 71.89 kB / 410 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.2904, allocations: 4 kB / 410 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.2906, allocations: 19.92 kB / 410 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.2906, allocations: 8 kB / 410 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.0001153/0.2907, allocations: 145.7 kB / 410.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.2908, allocations: 23.66 kB / 410.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.557e-05/0.2908, allocations: 30.55 kB / 410.2 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.2908, allocations: 4 kB / 410.2 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2909, allocations: 0 / 410.2 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2909, allocations: 0 / 410.2 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009177/0.2918, allocations: 0.6579 MB / 410.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2918, allocations: 0 / 410.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/0.2921, allocations: 71.84 kB / 411 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2921, allocations: 0 / 411 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.2922, allocations: 8 kB / 411 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.2922, allocations: 15.92 kB / 411 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2922, allocations: 0 / 411 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00076/0.2929, allocations: 439.8 kB / 411.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.841e-05/0.293, allocations: 96.98 kB / 411.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.2931, allocations: 4 kB / 411.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.2932, allocations: 19.92 kB / 411.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.2933, allocations: 19.97 kB / 411.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.2933, allocations: 8 kB / 411.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.482e-05/0.2934, allocations: 119.5 kB / 411.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2934, allocations: 0 / 411.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003399/0.2937, allocations: 56 kB / 411.7 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.0001032/0.2938, allocations: 111.7 kB / 411.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004264/0.2943, allocations: 195.8 kB / 412 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2943, allocations: 4 kB / 412 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.2945, allocations: 103.9 kB / 412.1 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.0004162/0.295, allocations: 55.53 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.001232/0.2962, allocations: 0.8046 MB / 413 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.2965, allocations: 0.7522 MB / 413.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.918e-05/0.2966, allocations: 21.92 kB / 413.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.2966, allocations: 23.44 kB / 413.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2967, allocations: 4 kB / 413.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of Templates: time 0.004841/0.3015, allocations: 2.198 MB / 416 MB, free: 9.078 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