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.001409/0.001409, allocations: 110.4 kB / 17.06 MB, free: 6.023 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.001702/0.001702, allocations: 191 kB / 17.99 MB, free: 5.109 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.446/1.446, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009126/0.0009126, allocations: 47.92 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2831, allocations: 49.43 MB / 400.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003539/0.2867, allocations: 2.423 MB / 403.1 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009915/0.2877, allocations: 0.592 MB / 403.7 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.793e-05/0.2878, allocations: 4 kB / 403.7 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.288, allocations: 35.59 kB / 403.8 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.2881, allocations: 79.33 kB / 403.8 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.2883, allocations: 63.86 kB / 403.9 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.2885, allocations: 294.6 kB / 404.2 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.2887, allocations: 103.5 kB / 404.3 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.2888, allocations: 119.6 kB / 404.4 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.2889, allocations: 123.5 kB / 404.5 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.289, allocations: 24 kB / 404.6 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.899e-05/0.289, allocations: 24 kB / 404.6 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.2891, allocations: 51.84 kB / 404.6 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.2892, allocations: 139.3 kB / 404.8 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.2895, allocations: 300 kB / 405.1 MB, free: 4.527 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.2895, allocations: 0 / 405.1 MB, free: 4.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.2895, allocations: 0 / 405.1 MB, free: 4.527 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2895, allocations: 0 / 405.1 MB, free: 4.527 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.0006806/0.2902, allocations: 0.5382 MB / 405.6 MB, free: 3.941 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2902, allocations: 8.031 kB / 405.6 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.955e-05/0.2903, allocations: 24.66 kB / 405.6 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.2906, allocations: 245.8 kB / 405.9 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.2906, allocations: 16.94 kB / 405.9 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.683e-05/0.2907, allocations: 36.03 kB / 405.9 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/0.2911, allocations: 224.9 kB / 406.1 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.2911, allocations: 7.984 kB / 406.1 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.2912, allocations: 8 kB / 406.2 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.2912, allocations: 11.98 kB / 406.2 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003965/0.2916, allocations: 174.1 kB / 406.3 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.2927, allocations: 0.7499 MB / 407.1 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004481/0.2931, allocations: 222.4 kB / 407.3 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.2934, allocations: 112.8 kB / 407.4 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.2934, allocations: 4 kB / 407.4 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.2934, allocations: 34.56 kB / 407.5 MB, free: 1.969 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/0.2934, allocations: 0 / 407.5 MB, free: 1.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001655/0.2951, allocations: 0.9627 MB / 408.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.2951, allocations: 55.41 kB / 408.5 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.2953, allocations: 154.6 kB / 408.6 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.2953, allocations: 33.7 kB / 408.7 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.075e-05/0.2954, allocations: 144.5 kB / 408.8 MB, free: 0.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.966e-05/0.2955, allocations: 102.5 kB / 408.9 MB, free: 408 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.574e-05/0.2956, allocations: 53.64 kB / 408.9 MB, free: 348 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2957, allocations: 334.8 kB / 409.3 MB, free: 4 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.2959, allocations: 75.95 kB / 409.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.2961, allocations: 119.1 kB / 409.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.2964, allocations: 203.3 kB / 409.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2965, allocations: 0 / 409.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004518/0.2969, allocations: 261.4 kB / 409.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2969, allocations: 7.984 kB / 409.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2969, allocations: 3.984 kB / 409.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.297, allocations: 8.094 kB / 409.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.2973, allocations: 71.91 kB / 410 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.2973, allocations: 4 kB / 410 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.2974, allocations: 15.92 kB / 410 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.2974, allocations: 8 kB / 410 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.0001104/0.2975, allocations: 141.7 kB / 410.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.2976, allocations: 23.66 kB / 410.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.102e-05/0.2977, allocations: 34.55 kB / 410.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.2977, allocations: 4 kB / 410.2 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2977, allocations: 0 / 410.2 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2977, allocations: 0 / 410.2 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009042/0.2986, allocations: 0.654 MB / 410.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2986, allocations: 0 / 410.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/0.2989, allocations: 83.91 kB / 411 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.299, allocations: 3.984 kB / 411 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.299, allocations: 8 kB / 411 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.299, allocations: 3.938 kB / 411 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.299, allocations: 4 kB / 411 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006844/0.2997, allocations: 439.7 kB / 411.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.2998, allocations: 96.91 kB / 411.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.2998, allocations: 4.062 kB / 411.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.2999, allocations: 11.94 kB / 411.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.3, allocations: 19.97 kB / 411.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.3, allocations: 8 kB / 411.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.737e-05/0.3001, allocations: 127.5 kB / 411.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3001, allocations: 0 / 411.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002944/0.3004, allocations: 56 kB / 411.7 MB, free: 13.4 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.0001755/0.3006, allocations: 103.7 kB / 411.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004417/0.301, allocations: 199.8 kB / 412 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3011, allocations: 4.125 kB / 412 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.3012, allocations: 107.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.0003987/0.3017, allocations: 39.88 kB / 412.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.303, allocations: 0.8083 MB / 413 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.3033, allocations: 0.7483 MB / 413.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.899e-05/0.3034, allocations: 21.94 kB / 413.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.033e-05/0.3035, allocations: 19.44 kB / 413.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3035, allocations: 4 kB / 413.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of Templates: time 0.005419/0.3089, allocations: 2.201 MB / 416 MB, free: 9.094 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