Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.000617/0.000617, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000938/0.001555, allocations: 449.8 kB / 10.44 MB, free: 252 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.001268/0.001268, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001188/0.002456, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.968/0.968, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08913/1.057, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.938e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003889/0.003908, allocations: 2.506 MB / 247.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.005259, allocations: 0.6345 MB / 247.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.0054, allocations: 7.938 kB / 247.8 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.424e-05/0.005494, allocations: 39.64 kB / 247.9 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.005638, allocations: 95.14 kB / 248 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001144/0.005752, allocations: 51.92 kB / 248 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.005997, allocations: 306.5 kB / 248.3 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.006135, allocations: 77.97 kB / 248.4 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.00633, allocations: 187.6 kB / 248.6 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.006446, allocations: 95.75 kB / 248.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.006479, allocations: 24 kB / 248.7 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.17e-05/0.006511, allocations: 24 kB / 248.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.793e-05/0.006549, allocations: 43.81 kB / 248.8 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.711e-05/0.006616, allocations: 75.88 kB / 248.8 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.006855, allocations: 187.2 kB / 249 MB, free: 9.879 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.006865, allocations: 0 / 249 MB, free: 9.879 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.006866, allocations: 0 / 249 MB, free: 9.879 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.006876, allocations: 0 / 249 MB, free: 9.879 MB / 250.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.0005059/0.007382, allocations: 496.1 kB / 249.5 MB, free: 9.371 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.00741, allocations: 8.031 kB / 249.5 MB, free: 9.363 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/0.007463, allocations: 40.91 kB / 249.6 MB, free: 9.324 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.007652, allocations: 173.9 kB / 249.7 MB, free: 9.129 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.007667, allocations: 21.03 kB / 249.7 MB, free: 9.109 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.007703, allocations: 28.33 kB / 249.8 MB, free: 9.082 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.007894, allocations: 175.3 kB / 249.9 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.007907, allocations: 7.922 kB / 250 MB, free: 8.895 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.007921, allocations: 12 kB / 250 MB, free: 8.883 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.007927, allocations: 4 kB / 250 MB, free: 8.879 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.3e-05/0.00801, allocations: 68.48 kB / 250 MB, free: 8.812 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005959/0.008606, allocations: 472.6 kB / 250.5 MB, free: 8.336 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.008815, allocations: 141.2 kB / 250.6 MB, free: 8.191 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.008866, allocations: 52.77 kB / 250.7 MB, free: 8.137 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.008878, allocations: 4 kB / 250.7 MB, free: 8.133 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.008901, allocations: 42.55 kB / 250.7 MB, free: 8.082 MB / 250.7 MB Notification: Performance of pre-optimization done (n=26): time 1.202e-06/0.008902, allocations: 0 / 250.7 MB, free: 8.082 MB / 250.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006653/0.009567, allocations: 0.5623 MB / 251.3 MB, free: 7.469 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.009595, allocations: 59.41 kB / 251.4 MB, free: 7.398 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.499e-05/0.00967, allocations: 153 kB / 251.5 MB, free: 7.238 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.009684, allocations: 29.7 kB / 251.5 MB, free: 7.203 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.009742, allocations: 140.7 kB / 251.7 MB, free: 7.059 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.009792, allocations: 107.1 kB / 251.8 MB, free: 6.953 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.009839, allocations: 45.69 kB / 251.8 MB, free: 6.902 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.49e-05/0.009914, allocations: 326.8 kB / 252.1 MB, free: 6.574 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.037e-05/0.009944, allocations: 27.98 kB / 252.2 MB, free: 6.547 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.942e-05/0.01, allocations: 72.72 kB / 252.2 MB, free: 6.465 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.01011, allocations: 127.3 kB / 252.4 MB, free: 6.328 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01011, allocations: 0 / 252.4 MB, free: 6.328 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001328/0.01024, allocations: 141.5 kB / 252.5 MB, free: 6.184 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.01025, allocations: 11.94 kB / 252.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.01026, allocations: 0 / 252.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.01027, allocations: 0 / 252.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.01048, allocations: 99.97 kB / 252.6 MB, free: 6.074 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.01049, allocations: 4 kB / 252.6 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.096e-05/0.01054, allocations: 8 kB / 252.6 MB, free: 6.062 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.01055, allocations: 4 kB / 252.6 MB, free: 6.059 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 7.279e-05/0.01062, allocations: 121.8 kB / 252.7 MB, free: 5.93 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.01065, allocations: 27.91 kB / 252.8 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.01068, allocations: 25.97 kB / 252.8 MB, free: 5.883 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.01069, allocations: 4 kB / 252.8 MB, free: 5.879 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.01069, allocations: 0 / 252.8 MB, free: 5.879 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.0107, allocations: 0 / 252.8 MB, free: 5.879 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.01107, allocations: 393.2 kB / 253.2 MB, free: 5.465 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.01107, allocations: 0 / 253.2 MB, free: 5.465 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.01127, allocations: 87.94 kB / 253.3 MB, free: 5.379 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.447e-05/0.01129, allocations: 15.86 kB / 253.3 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.01129, allocations: 7.938 kB / 253.3 MB, free: 5.355 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.0113, allocations: 4 kB / 253.3 MB, free: 5.352 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.01131, allocations: 7.938 kB / 253.3 MB, free: 5.344 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.01131, allocations: 8 kB / 253.3 MB, free: 5.336 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.01152, allocations: 287.4 kB / 253.6 MB, free: 5.031 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.01154, allocations: 8 kB / 253.6 MB, free: 5.023 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.045e-05/0.0116, allocations: 11.98 kB / 253.6 MB, free: 5.012 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.01163, allocations: 19.91 kB / 253.6 MB, free: 4.992 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.01164, allocations: 12.06 kB / 253.6 MB, free: 4.98 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.761e-05/0.01167, allocations: 36.62 kB / 253.7 MB, free: 4.945 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01167, allocations: 0 / 253.7 MB, free: 4.945 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001692/0.01184, allocations: 56 kB / 253.7 MB, free: 4.891 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 8.358e-05/0.01192, allocations: 88.41 kB / 253.8 MB, free: 4.793 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.01206, allocations: 121.2 kB / 253.9 MB, free: 4.672 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.01207, allocations: 4 kB / 253.9 MB, free: 4.668 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.484e-05/0.01214, allocations: 84.69 kB / 254 MB, free: 4.582 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.01248, allocations: 491.2 kB / 254.5 MB, free: 4.012 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004722/0.0172, allocations: 0.5604 MB / 255.1 MB, free: 3.418 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.585e-05/0.01727, allocations: 88.64 kB / 255.2 MB, free: 3.309 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.01738, allocations: 17.95 kB / 255.2 MB, free: 3.293 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.01752, allocations: 91.34 kB / 255.3 MB, free: 3.203 MB / 250.7 MB Notification: Performance of SimCode: time 1.263e-06/0.01752, allocations: 0 / 255.3 MB, free: 3.203 MB / 250.7 MB Notification: Performance of Templates: time 0.005822/0.02334, allocations: 2.469 MB / 257.7 MB, free: 0.7891 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.386230026371777]