Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001079/0.001079, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001616/0.002695, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001472/0.002551, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9798/0.9798, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09893/1.079, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.191e-05, allocations: 2.312 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002716/0.002738, allocations: 2.499 MB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008047/0.003542, allocations: 0.6267 MB / 248.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.003658, allocations: 7.938 kB / 248.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.391e-05/0.003752, allocations: 43.59 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.003865, allocations: 83.27 kB / 248.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.918e-05/0.003954, allocations: 55.91 kB / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.004227, allocations: 306.5 kB / 248.8 MB, free: 9.945 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.004391, allocations: 77.97 kB / 248.9 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.004572, allocations: 187.6 kB / 249.1 MB, free: 9.688 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.004679, allocations: 91.72 kB / 249.2 MB, free: 9.598 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.004711, allocations: 27.94 kB / 249.2 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.816e-05/0.004739, allocations: 28 kB / 249.2 MB, free: 9.543 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.672e-05/0.004776, allocations: 43.81 kB / 249.3 MB, free: 9.5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.004836, allocations: 75.88 kB / 249.3 MB, free: 9.426 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.005033, allocations: 183.3 kB / 249.5 MB, free: 9.246 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.005043, allocations: 0 / 249.5 MB, free: 9.246 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.9e-07/0.005044, allocations: 0 / 249.5 MB, free: 9.246 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.005052, allocations: 0 / 249.5 MB, free: 9.246 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.0005086/0.00556, allocations: 0.4922 MB / 250 MB, free: 8.73 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.005592, allocations: 12.62 kB / 250 MB, free: 8.719 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.005641, allocations: 40.91 kB / 250.1 MB, free: 8.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.005804, allocations: 162 kB / 250.2 MB, free: 8.496 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.005818, allocations: 21.03 kB / 250.2 MB, free: 8.477 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.005854, allocations: 28.33 kB / 250.3 MB, free: 8.449 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.006043, allocations: 179.3 kB / 250.4 MB, free: 8.266 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.006056, allocations: 7.922 kB / 250.4 MB, free: 8.258 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.00607, allocations: 12 kB / 250.5 MB, free: 8.246 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.006077, allocations: 4 kB / 250.5 MB, free: 8.242 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.006181, allocations: 72.53 kB / 250.5 MB, free: 8.172 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005296/0.006711, allocations: 476.5 kB / 251 MB, free: 7.691 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.006907, allocations: 137.9 kB / 251.1 MB, free: 7.551 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/0.006956, allocations: 48.83 kB / 251.2 MB, free: 7.5 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.006967, allocations: 4 kB / 251.2 MB, free: 7.496 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.006987, allocations: 34.56 kB / 251.2 MB, free: 7.453 MB / 250.7 MB Notification: Performance of pre-optimization done (n=26): time 1.072e-06/0.006988, allocations: 0 / 251.2 MB, free: 7.453 MB / 250.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006388/0.007627, allocations: 0.5738 MB / 251.8 MB, free: 6.824 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.007651, allocations: 55.41 kB / 251.8 MB, free: 6.758 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.902e-05/0.00772, allocations: 152.2 kB / 252 MB, free: 6.598 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.007734, allocations: 29.7 kB / 252 MB, free: 6.562 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.007793, allocations: 144.7 kB / 252.2 MB, free: 6.414 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.007842, allocations: 103.1 kB / 252.3 MB, free: 6.312 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.007897, allocations: 45.69 kB / 252.3 MB, free: 6.262 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.008006, allocations: 330.8 kB / 252.6 MB, free: 5.93 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.879e-05/0.008054, allocations: 35.98 kB / 252.7 MB, free: 5.895 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.4e-05/0.008118, allocations: 75.92 kB / 252.7 MB, free: 5.809 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.00822, allocations: 111.4 kB / 252.9 MB, free: 5.688 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.008221, allocations: 0 / 252.9 MB, free: 5.688 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001308/0.008352, allocations: 141.5 kB / 253 MB, free: 5.543 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.008365, allocations: 11.94 kB / 253 MB, free: 5.531 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.008372, allocations: 4.078 kB / 253 MB, free: 5.527 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.008383, allocations: 4 kB / 253 MB, free: 5.523 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.008597, allocations: 91.89 kB / 253.1 MB, free: 5.434 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.008604, allocations: 7.984 kB / 253.1 MB, free: 5.426 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.895e-05/0.008653, allocations: 8 kB / 253.1 MB, free: 5.418 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.00866, allocations: 4 kB / 253.1 MB, free: 5.414 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 6.531e-05/0.008725, allocations: 121.8 kB / 253.2 MB, free: 5.285 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.00875, allocations: 23.92 kB / 253.3 MB, free: 5.262 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.008787, allocations: 37.94 kB / 253.3 MB, free: 5.23 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.008789, allocations: 4 kB / 253.3 MB, free: 5.227 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.00879, allocations: 0 / 253.3 MB, free: 5.227 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.008793, allocations: 0 / 253.3 MB, free: 5.227 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/0.009182, allocations: 394.7 kB / 253.7 MB, free: 4.812 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.009183, allocations: 0 / 253.7 MB, free: 4.812 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.009379, allocations: 93.09 kB / 253.8 MB, free: 4.723 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.009391, allocations: 15.97 kB / 253.8 MB, free: 4.707 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.009395, allocations: 4 kB / 253.8 MB, free: 4.703 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.009406, allocations: 7.984 kB / 253.8 MB, free: 4.695 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.009408, allocations: 4 kB / 253.8 MB, free: 4.691 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.009409, allocations: 3.938 kB / 253.8 MB, free: 4.688 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.009615, allocations: 287.7 kB / 254.1 MB, free: 4.383 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.00963, allocations: 8 kB / 254.1 MB, free: 4.375 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.653e-05/0.009686, allocations: 8 kB / 254.1 MB, free: 4.367 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.009721, allocations: 23.89 kB / 254.1 MB, free: 4.344 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.009727, allocations: 11.94 kB / 254.1 MB, free: 4.332 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.334e-05/0.009751, allocations: 34.25 kB / 254.2 MB, free: 4.297 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009751, allocations: 0 / 254.2 MB, free: 4.297 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001581/0.009909, allocations: 56 kB / 254.2 MB, free: 4.242 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 6.669e-05/0.009976, allocations: 84.36 kB / 254.3 MB, free: 4.148 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.0101, allocations: 116.7 kB / 254.4 MB, free: 4.031 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.0101, allocations: 4 kB / 254.4 MB, free: 4.027 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.004e-05/0.01018, allocations: 85.22 kB / 254.5 MB, free: 3.941 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.01051, allocations: 495.3 kB / 255 MB, free: 3.359 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.01404, allocations: 0.5527 MB / 255.6 MB, free: 2.773 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.821e-05/0.01409, allocations: 84.66 kB / 255.6 MB, free: 2.668 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.052e-05/0.01415, allocations: 25.92 kB / 255.7 MB, free: 2.645 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.01425, allocations: 87.36 kB / 255.7 MB, free: 2.559 MB / 250.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01425, allocations: 4 kB / 255.8 MB, free: 2.555 MB / 250.7 MB Notification: Performance of Templates: time 0.003925/0.01817, allocations: 2.463 MB / 258.2 MB, free: 148 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.4429592061787844]