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.001352/0.001352, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.001572/0.001572, allocations: 159 kB / 25.61 MB, free: 8.582 MB / 18.57 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.9425/0.9425, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.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 2.445e-06/2.445e-06, allocations: 4 kB / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.753e-05, allocations: 2.312 kB / 274.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.005898/0.005915, allocations: 2.455 MB / 276.6 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008573/0.006772, allocations: 0.598 MB / 277.2 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.0069, allocations: 4 kB / 277.2 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.007045, allocations: 40.8 kB / 277.2 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.007193, allocations: 84.3 kB / 277.3 MB, free: 1.117 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.007338, allocations: 67.84 kB / 277.3 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003283/0.01062, allocations: 303.2 kB / 277.6 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.01077, allocations: 87.22 kB / 277.7 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.01093, allocations: 163.7 kB / 277.9 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.01105, allocations: 95.75 kB / 278 MB, free: 424 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.01108, allocations: 24 kB / 278 MB, free: 400 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.127e-05/0.01111, allocations: 24 kB / 278 MB, free: 376 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.969e-05/0.01117, allocations: 59.75 kB / 278.1 MB, free: 316 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.496e-05/0.01125, allocations: 91.81 kB / 278.2 MB, free: 224 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.01146, allocations: 191.2 kB / 278.4 MB, free: 32 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.01146, allocations: 0 / 278.4 MB, free: 32 kB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01146, allocations: 0 / 278.4 MB, free: 32 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.01147, allocations: 0 / 278.4 MB, free: 32 kB / 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.0005279/0.01199, allocations: 0.5664 MB / 278.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.01202, allocations: 12.03 kB / 278.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.955e-05/0.01212, allocations: 48.75 kB / 279 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.01231, allocations: 184.7 kB / 279.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.01232, allocations: 17.03 kB / 279.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.01237, allocations: 36.36 kB / 279.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.01258, allocations: 167.4 kB / 279.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.0126, allocations: 15.89 kB / 279.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.01261, allocations: 4 kB / 279.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.01262, allocations: 8 kB / 279.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.01273, allocations: 76.52 kB / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003099/0.01583, allocations: 0.5975 MB / 280.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.01608, allocations: 159 kB / 280.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.738e-05/0.01614, allocations: 51.66 kB / 280.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.01615, allocations: 8 kB / 280.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.01618, allocations: 41.39 kB / 280.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.303e-06/0.01618, allocations: 3.938 kB / 280.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008539/0.01703, allocations: 0.5885 MB / 280.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.01706, allocations: 55.41 kB / 281 MB, free: 13.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.861e-05/0.01716, allocations: 199.1 kB / 281.2 MB, free: 13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.01718, allocations: 29.7 kB / 281.2 MB, free: 12.97 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.919e-05/0.01726, allocations: 195.4 kB / 281.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.55e-05/0.01732, allocations: 107.1 kB / 281.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.758e-05/0.01739, allocations: 63.33 kB / 281.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.01751, allocations: 0.5001 MB / 282.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.42e-05/0.01756, allocations: 23.98 kB / 282.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.523e-05/0.01763, allocations: 80.16 kB / 282.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.01777, allocations: 135.4 kB / 282.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.01777, allocations: 0 / 282.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002077/0.01798, allocations: 173.5 kB / 282.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.01799, allocations: 12.03 kB / 282.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.01799, allocations: 0 / 282.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.018, allocations: 4 kB / 282.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.0182, allocations: 71.91 kB / 282.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.0182, allocations: 7.938 kB / 282.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.677e-05/0.01828, allocations: 11.98 kB / 282.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.01829, allocations: 8 kB / 282.6 MB, free: 11.53 MB / 266.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.609e-05/0.01838, allocations: 168.5 kB / 282.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.01842, allocations: 39.8 kB / 282.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.893e-05/0.01846, allocations: 21.97 kB / 282.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01846, allocations: 4 kB / 282.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01847, allocations: 0 / 282.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.01847, allocations: 3.984 kB / 282.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/0.01893, allocations: 0.4975 MB / 283.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01894, allocations: 4 kB / 283.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.01909, allocations: 67.91 kB / 283.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01909, allocations: 4 kB / 283.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.0191, allocations: 4 kB / 283.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.0191, allocations: 12.05 kB / 283.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01911, allocations: 0 / 283.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.01934, allocations: 381.6 kB / 283.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.01936, allocations: 11.91 kB / 283.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.01937, allocations: 8 kB / 283.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.768e-05/0.01943, allocations: 8 kB / 283.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.01946, allocations: 23.95 kB / 283.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.01947, allocations: 4 kB / 283.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.199e-05/0.01951, allocations: 144.8 kB / 284 MB, free: 10.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01951, allocations: 4 kB / 284 MB, free: 10.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.01969, allocations: 60 kB / 284 MB, free: 9.992 MB / 266.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 7.273e-05/0.01976, allocations: 111.1 kB / 284.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003724/0.02013, allocations: 123.7 kB / 284.3 MB, free: 9.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.02013, allocations: 0 / 284.3 MB, free: 9.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.5e-05/0.0202, allocations: 83.42 kB / 284.3 MB, free: 9.664 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.02044, allocations: 44.22 kB / 284.4 MB, free: 9.621 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000787/0.02123, allocations: 0.6867 MB / 285.1 MB, free: 8.902 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.695e-05/0.02127, allocations: 84.64 kB / 285.2 MB, free: 8.797 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.827e-05/0.02132, allocations: 17.95 kB / 285.2 MB, free: 8.777 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.008e-05/0.02141, allocations: 114.2 kB / 285.3 MB, free: 8.664 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02141, allocations: 0 / 285.3 MB, free: 8.664 MB / 266.7 MB Notification: Performance of Templates: time 0.003753/0.02516, allocations: 2.368 MB / 287.6 MB, free: 6.355 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6357676037587225]