Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008028/0.0008028, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001239/0.002042, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007718/0.0007718, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001066/0.001838, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9526/0.9526, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1616/1.114, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.621e-05, allocations: 2.312 kB / 222 MB, free: 76 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003195/0.003221, allocations: 2.483 MB / 224.5 MB, free: 13.57 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.004343, allocations: 0.6395 MB / 225.1 MB, free: 12.92 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.004498, allocations: 11.88 kB / 225.1 MB, free: 12.91 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.004628, allocations: 43.59 kB / 225.2 MB, free: 12.86 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.004788, allocations: 79.27 kB / 225.2 MB, free: 12.79 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.004922, allocations: 59.91 kB / 225.3 MB, free: 12.73 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.005199, allocations: 302.5 kB / 225.6 MB, free: 12.43 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.005364, allocations: 81.97 kB / 225.7 MB, free: 12.35 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.00559, allocations: 179.6 kB / 225.8 MB, free: 12.18 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.005739, allocations: 95.69 kB / 225.9 MB, free: 12.08 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.005778, allocations: 24 kB / 226 MB, free: 12.06 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.16e-05/0.005809, allocations: 24 kB / 226 MB, free: 12.04 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.917e-05/0.005848, allocations: 39.88 kB / 226 MB, free: 12 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.753e-05/0.005926, allocations: 83.81 kB / 226.1 MB, free: 11.91 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.006158, allocations: 183.3 kB / 226.3 MB, free: 11.73 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.256e-05/0.006171, allocations: 0 / 226.3 MB, free: 11.73 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.006172, allocations: 0 / 226.3 MB, free: 11.73 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.006182, allocations: 0 / 226.3 MB, free: 11.73 MB / 234.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.0006228/0.006805, allocations: 0.5 MB / 226.8 MB, free: 11.21 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.006844, allocations: 8.031 kB / 226.8 MB, free: 11.2 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/0.006907, allocations: 40.91 kB / 226.8 MB, free: 11.16 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.007111, allocations: 158 kB / 227 MB, free: 10.98 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.007127, allocations: 17.03 kB / 227 MB, free: 10.97 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.007168, allocations: 32.31 kB / 227 MB, free: 10.94 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.007401, allocations: 179.3 kB / 227.2 MB, free: 10.76 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.007416, allocations: 3.938 kB / 227.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.007434, allocations: 16 kB / 227.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.007443, allocations: 8 kB / 227.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.178e-05/0.007534, allocations: 68.55 kB / 227.3 MB, free: 10.66 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006659/0.0082, allocations: 468.6 kB / 227.8 MB, free: 10.19 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.008489, allocations: 138.4 kB / 227.9 MB, free: 10.04 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.512e-05/0.008554, allocations: 52.84 kB / 227.9 MB, free: 9.988 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.008569, allocations: 4 kB / 227.9 MB, free: 9.984 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.008591, allocations: 34.56 kB / 228 MB, free: 9.941 MB / 234.7 MB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/0.008593, allocations: 0 / 228 MB, free: 9.941 MB / 234.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008289/0.009422, allocations: 0.5692 MB / 228.6 MB, free: 9.32 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.009454, allocations: 59.41 kB / 228.6 MB, free: 9.25 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.377e-05/0.009548, allocations: 142.6 kB / 228.8 MB, free: 9.098 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.009565, allocations: 33.64 kB / 228.8 MB, free: 9.059 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.009636, allocations: 144.5 kB / 228.9 MB, free: 8.914 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.427e-05/0.0097, allocations: 107.1 kB / 229 MB, free: 8.809 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.009762, allocations: 53.69 kB / 229.1 MB, free: 8.75 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.009867, allocations: 330.8 kB / 229.4 MB, free: 8.418 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.722e-05/0.009904, allocations: 24 kB / 229.4 MB, free: 8.395 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.591e-05/0.00997, allocations: 75.03 kB / 229.5 MB, free: 8.309 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.01009, allocations: 115.3 kB / 229.6 MB, free: 8.184 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01009, allocations: 3.938 kB / 229.6 MB, free: 8.18 MB / 234.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001545/0.01025, allocations: 145.6 kB / 229.8 MB, free: 8.031 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.01026, allocations: 11.94 kB / 229.8 MB, free: 8.02 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.01027, allocations: 0 / 229.8 MB, free: 8.02 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.01029, allocations: 4 kB / 229.8 MB, free: 8.016 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.01054, allocations: 95.83 kB / 229.9 MB, free: 7.922 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.279e-06/0.01054, allocations: 0 / 229.9 MB, free: 7.922 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.381e-05/0.0106, allocations: 15.98 kB / 229.9 MB, free: 7.906 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.01061, allocations: 8 kB / 229.9 MB, free: 7.898 MB / 234.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 9.61e-05/0.0107, allocations: 121.8 kB / 230 MB, free: 7.77 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.01074, allocations: 27.92 kB / 230 MB, free: 7.742 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.087e-05/0.01079, allocations: 21.97 kB / 230.1 MB, free: 7.723 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.01079, allocations: 4 kB / 230.1 MB, free: 7.719 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.0108, allocations: 0 / 230.1 MB, free: 7.719 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.0108, allocations: 3.984 kB / 230.1 MB, free: 7.715 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004818/0.01129, allocations: 384.5 kB / 230.4 MB, free: 7.309 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.01129, allocations: 0 / 230.4 MB, free: 7.309 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.01154, allocations: 98.86 kB / 230.5 MB, free: 7.215 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.01156, allocations: 15.91 kB / 230.6 MB, free: 7.199 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.01157, allocations: 0 / 230.6 MB, free: 7.199 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.01158, allocations: 8 kB / 230.6 MB, free: 7.191 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.01158, allocations: 0 / 230.6 MB, free: 7.191 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.01159, allocations: 3.938 kB / 230.6 MB, free: 7.188 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.01188, allocations: 296.8 kB / 230.9 MB, free: 6.879 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.0119, allocations: 4 kB / 230.9 MB, free: 6.875 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.594e-05/0.01197, allocations: 8 kB / 230.9 MB, free: 6.867 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.01202, allocations: 27.91 kB / 230.9 MB, free: 6.84 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.01203, allocations: 4 kB / 230.9 MB, free: 6.836 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.961e-05/0.01207, allocations: 44.61 kB / 230.9 MB, free: 6.789 MB / 234.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01207, allocations: 0 / 230.9 MB, free: 6.789 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001833/0.01226, allocations: 56 kB / 231 MB, free: 6.734 MB / 234.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.0001461/0.0124, allocations: 84.36 kB / 231.1 MB, free: 6.641 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.01257, allocations: 120.7 kB / 231.2 MB, free: 6.52 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/0.01258, allocations: 4.281 kB / 231.2 MB, free: 6.516 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 8.461e-05/0.01266, allocations: 84.69 kB / 231.3 MB, free: 6.43 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.01305, allocations: 495.2 kB / 231.8 MB, free: 5.848 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/0.01655, allocations: 0.5489 MB / 232.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.761e-05/0.01662, allocations: 88.64 kB / 232.4 MB, free: 5.156 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 7.89e-05/0.0167, allocations: 25.94 kB / 232.4 MB, free: 5.133 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.01681, allocations: 91.34 kB / 232.5 MB, free: 5.043 MB / 234.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01681, allocations: 0 / 232.5 MB, free: 5.043 MB / 234.7 MB Notification: Performance of Templates: time 0.004123/0.02094, allocations: 2.454 MB / 235 MB, free: 2.613 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.617372210137546]