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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001636/0.00268, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000946/0.000946, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.002369, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8982/0.8982, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.14/1.038, allocations: 52.49 MB / 238.5 MB, free: 7.645 MB / 234.7 MB " [Timeout remaining time 179] 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=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 239.7 MB, free: 6.395 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.541e-05, allocations: 5.828 kB / 239.7 MB, free: 6.391 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002669/0.002694, allocations: 2.497 MB / 242.2 MB, free: 3.895 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009258/0.00362, allocations: 0.5877 MB / 242.8 MB, free: 3.309 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.003745, allocations: 7.938 kB / 242.8 MB, free: 3.301 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.003846, allocations: 40.67 kB / 242.9 MB, free: 3.262 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.003981, allocations: 82.39 kB / 242.9 MB, free: 3.184 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.004098, allocations: 63.91 kB / 243 MB, free: 3.121 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.00434, allocations: 310.5 kB / 243.3 MB, free: 2.816 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.004479, allocations: 73.92 kB / 243.4 MB, free: 2.742 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.004675, allocations: 191.5 kB / 243.6 MB, free: 2.555 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.004782, allocations: 83.77 kB / 243.7 MB, free: 2.473 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.004814, allocations: 24 kB / 243.7 MB, free: 2.449 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.034e-05/0.004844, allocations: 25.28 kB / 243.7 MB, free: 2.426 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.543e-05/0.004879, allocations: 43.81 kB / 243.7 MB, free: 2.383 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.94e-05/0.004939, allocations: 79.88 kB / 243.8 MB, free: 2.305 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.005162, allocations: 179.3 kB / 244 MB, free: 2.129 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.249e-05/0.005174, allocations: 1.062 kB / 244 MB, free: 2.129 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.005175, allocations: 0 / 244 MB, free: 2.129 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.005185, allocations: 0 / 244 MB, free: 2.129 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.0005243/0.005709, allocations: 0.5029 MB / 244.5 MB, free: 1.605 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.005738, allocations: 12.03 kB / 244.5 MB, free: 1.594 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.199e-05/0.00579, allocations: 36.91 kB / 244.5 MB, free: 1.559 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.005988, allocations: 162 kB / 244.7 MB, free: 1.375 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.006003, allocations: 18 kB / 244.7 MB, free: 1.359 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.006042, allocations: 28.38 kB / 244.8 MB, free: 1.332 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.006253, allocations: 176.2 kB / 244.9 MB, free: 1.156 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.006271, allocations: 11.89 kB / 244.9 MB, free: 1.145 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.006289, allocations: 8 kB / 244.9 MB, free: 1.137 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.006299, allocations: 9.781 kB / 245 MB, free: 1.129 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.006425, allocations: 68.53 kB / 245 MB, free: 1.059 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006779/0.007103, allocations: 477.2 kB / 245.5 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.007355, allocations: 133.2 kB / 245.6 MB, free: 452 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.196e-05/0.007427, allocations: 52.83 kB / 245.7 MB, free: 396 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.007439, allocations: 5.969 kB / 245.7 MB, free: 392 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.007461, allocations: 34.56 kB / 245.7 MB, free: 348 kB / 234.7 MB Notification: Performance of pre-optimization done (n=26): time 1.853e-06/0.007463, allocations: 0 / 245.7 MB, free: 348 kB / 234.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007289/0.008191, allocations: 0.5807 MB / 246.3 MB, free: 15.71 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.008218, allocations: 55.41 kB / 246.3 MB, free: 15.64 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.889e-05/0.008297, allocations: 147.1 kB / 246.5 MB, free: 15.49 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.008314, allocations: 29.7 kB / 246.5 MB, free: 15.45 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.008369, allocations: 141.3 kB / 246.7 MB, free: 15.31 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.008419, allocations: 107 kB / 246.8 MB, free: 15.2 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.008474, allocations: 58.2 kB / 246.8 MB, free: 15.14 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.753e-05/0.008551, allocations: 332.5 kB / 247.1 MB, free: 14.81 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.313e-05/0.008584, allocations: 27.92 kB / 247.2 MB, free: 14.78 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.201e-05/0.008636, allocations: 67.25 kB / 247.2 MB, free: 14.7 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.821e-05/0.008735, allocations: 112.6 kB / 247.3 MB, free: 14.58 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.008736, allocations: 0 / 247.3 MB, free: 14.58 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001559/0.008892, allocations: 143.2 kB / 247.5 MB, free: 14.44 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.008908, allocations: 7.938 kB / 247.5 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.008914, allocations: 3.984 kB / 247.5 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.008929, allocations: 4.094 kB / 247.5 MB, free: 14.42 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.009176, allocations: 100.7 kB / 247.6 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.00918, allocations: 0 / 247.6 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.48e-05/0.009235, allocations: 15.98 kB / 247.6 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.009244, allocations: 8 kB / 247.6 MB, free: 14.3 MB / 250.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 8.006e-05/0.009324, allocations: 121.8 kB / 247.7 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.009353, allocations: 23.92 kB / 247.8 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.889e-05/0.009392, allocations: 25.95 kB / 247.8 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.009394, allocations: 8 kB / 247.8 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.009397, allocations: 0 / 247.8 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.009401, allocations: 0 / 247.8 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004176/0.009818, allocations: 386.3 kB / 248.2 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.009821, allocations: 4 kB / 248.2 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.01003, allocations: 83.88 kB / 248.3 MB, free: 13.63 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.01004, allocations: 15.91 kB / 248.3 MB, free: 13.61 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.01005, allocations: 4.062 kB / 248.3 MB, free: 13.61 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.01006, allocations: 8 kB / 248.3 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.01006, allocations: 3.984 kB / 248.3 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.01007, allocations: 7.938 kB / 248.3 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.01029, allocations: 291 kB / 248.6 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.0103, allocations: 8 kB / 248.6 MB, free: 13.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.437e-05/0.01037, allocations: 12.06 kB / 248.6 MB, free: 13.26 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.01041, allocations: 23.89 kB / 248.6 MB, free: 13.24 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.01041, allocations: 4 kB / 248.6 MB, free: 13.23 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.619e-05/0.01044, allocations: 32.08 kB / 248.7 MB, free: 13.2 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01044, allocations: 4 kB / 248.7 MB, free: 13.2 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001704/0.01061, allocations: 60 kB / 248.7 MB, free: 13.14 MB / 250.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 9.354e-05/0.0107, allocations: 92.3 kB / 248.8 MB, free: 13.04 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.01085, allocations: 125.8 kB / 248.9 MB, free: 12.92 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.01086, allocations: 0 / 248.9 MB, free: 12.92 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/0.01094, allocations: 91.09 kB / 249 MB, free: 12.83 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.01129, allocations: 491.4 kB / 249.5 MB, free: 12.25 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.01475, allocations: 0.5528 MB / 250.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.05e-05/0.01481, allocations: 84.66 kB / 250.1 MB, free: 11.56 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.925e-05/0.01488, allocations: 17.94 kB / 250.2 MB, free: 11.55 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.01498, allocations: 95.3 kB / 250.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01498, allocations: 0 / 250.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of Templates: time 0.004317/0.0193, allocations: 2.461 MB / 252.7 MB, free: 9.055 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 240] 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","",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.429100471548736]