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.001128/0.001128, allocations: 111.8 kB / 17.74 MB, free: 5.34 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.001483/0.001483, allocations: 193.6 kB / 18.68 MB, free: 4.41 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.36/1.36, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.00116, allocations: 51.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2676, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003463/0.2711, allocations: 2.423 MB / 403.8 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009138/0.2721, allocations: 0.5765 MB / 404.4 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.2722, allocations: 4 kB / 404.4 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.2724, allocations: 43.58 kB / 404.4 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.2725, allocations: 79.27 kB / 404.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.2727, allocations: 59.92 kB / 404.6 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.273, allocations: 298.6 kB / 404.9 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.2732, allocations: 107.5 kB / 405 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.2733, allocations: 111.6 kB / 405.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.2735, allocations: 123.4 kB / 405.2 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.2735, allocations: 24 kB / 405.2 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.76e-05/0.2736, allocations: 24 kB / 405.3 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.2736, allocations: 59.81 kB / 405.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.2737, allocations: 131.3 kB / 405.4 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.274, allocations: 292.1 kB / 405.7 MB, free: 4.535 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2741, allocations: 0 / 405.7 MB, free: 4.535 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2741, allocations: 4 kB / 405.7 MB, free: 4.531 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.2741, allocations: 0 / 405.7 MB, free: 4.531 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.0007254/0.2748, allocations: 0.542 MB / 406.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.2749, allocations: 15.97 kB / 406.3 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/0.2749, allocations: 24.66 kB / 406.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.2752, allocations: 240.5 kB / 406.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.2752, allocations: 16.94 kB / 406.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.273e-05/0.2753, allocations: 40.03 kB / 406.6 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004412/0.2758, allocations: 224.8 kB / 406.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.2758, allocations: 4 kB / 406.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.2758, allocations: 8 kB / 406.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.2758, allocations: 11.94 kB / 406.8 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003944/0.2762, allocations: 174.1 kB / 407 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.2773, allocations: 0.7577 MB / 407.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/0.2778, allocations: 215.8 kB / 408 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.278, allocations: 116.8 kB / 408.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.2781, allocations: 4 kB / 408.1 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.2781, allocations: 38.5 kB / 408.1 MB, free: 1.957 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.2781, allocations: 0 / 408.1 MB, free: 1.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001628/0.2797, allocations: 0.9628 MB / 409.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.2798, allocations: 51.41 kB / 409.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.2799, allocations: 154.7 kB / 409.3 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.2799, allocations: 29.7 kB / 409.3 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.08e-05/0.28, allocations: 148.5 kB / 409.5 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.28e-05/0.2801, allocations: 98.56 kB / 409.6 MB, free: 404 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.772e-05/0.2802, allocations: 45.7 kB / 409.6 MB, free: 352 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2803, allocations: 338.8 kB / 410 MB, free: 4 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.2805, allocations: 76.03 kB / 410 MB, free: 15.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.2807, allocations: 123 kB / 410.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.2811, allocations: 207.2 kB / 410.3 MB, free: 15.58 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2811, allocations: 0 / 410.3 MB, free: 15.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004469/0.2815, allocations: 257.4 kB / 410.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.2816, allocations: 8 kB / 410.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2816, allocations: 4.094 kB / 410.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.2816, allocations: 4 kB / 410.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.2819, allocations: 71.89 kB / 410.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.2819, allocations: 4 kB / 410.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.282, allocations: 15.98 kB / 410.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.282, allocations: 8 kB / 410.7 MB, free: 15.21 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.0001098/0.2822, allocations: 145.7 kB / 410.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.2822, allocations: 23.72 kB / 410.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.997e-05/0.2823, allocations: 26.56 kB / 410.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2823, allocations: 0 / 410.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.2823, allocations: 7.938 kB / 410.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2823, allocations: 11.92 kB / 410.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008604/0.2832, allocations: 0.6577 MB / 411.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2832, allocations: 4.062 kB / 411.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003106/0.2835, allocations: 75.89 kB / 411.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2835, allocations: 0 / 411.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.2835, allocations: 8 kB / 411.7 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2836, allocations: 3.938 kB / 411.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2836, allocations: 4 kB / 411.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006255/0.2842, allocations: 439.8 kB / 412.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.2842, allocations: 88.92 kB / 412.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.2843, allocations: 12 kB / 412.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.2844, allocations: 15.92 kB / 412.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.2845, allocations: 11.98 kB / 412.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.2845, allocations: 16 kB / 412.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.451e-05/0.2846, allocations: 119.5 kB / 412.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2846, allocations: 0 / 412.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.2849, allocations: 60 kB / 412.4 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.000121/0.285, allocations: 107.7 kB / 412.5 MB, free: 13.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004244/0.2854, allocations: 195.8 kB / 412.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2855, allocations: 4.188 kB / 412.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.2857, allocations: 107.8 kB / 412.8 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.0004086/0.2861, allocations: 35.89 kB / 412.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.2873, allocations: 0.8373 MB / 413.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.2876, allocations: 0.7522 MB / 414.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.968e-05/0.2877, allocations: 19.44 kB / 414.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2877, allocations: 0 / 414.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of Templates: time 0.004339/0.292, allocations: 2.782 MB / 417.3 MB, free: 8.477 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/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