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.00132/0.00132, allocations: 114.2 kB / 19.04 MB, free: 3.277 MB / 14.72 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.001323/0.001323, allocations: 184.5 kB / 22.21 MB, free: 108 kB / 14.72 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 1.438/1.438, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001518/0.001518, allocations: 47.92 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2661, allocations: 52.14 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003992/0.2701, allocations: 2.444 MB / 423.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.2712, allocations: 0.5921 MB / 423.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.2713, allocations: 7.938 kB / 423.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.2715, allocations: 39.58 kB / 423.9 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.2716, allocations: 79.33 kB / 424 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.2718, allocations: 63.8 kB / 424.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.2722, allocations: 298.6 kB / 424.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.2724, allocations: 79.58 kB / 424.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.2725, allocations: 115.6 kB / 424.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.2727, allocations: 119.5 kB / 424.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.084e-05/0.2727, allocations: 24 kB / 424.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.294e-05/0.2728, allocations: 24 kB / 424.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.2728, allocations: 51.84 kB / 424.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.2729, allocations: 135.3 kB / 424.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003655/0.2733, allocations: 300 kB / 425.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2733, allocations: 0 / 425.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2733, allocations: 8 kB / 425.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.2733, allocations: 3.938 kB / 425.2 MB, free: 10.72 MB / 334.1 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.0008676/0.2742, allocations: 0.5409 MB / 425.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.2742, allocations: 12.03 kB / 425.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.228e-05/0.2743, allocations: 28.75 kB / 425.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.2746, allocations: 248.5 kB / 426 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.2747, allocations: 20.94 kB / 426.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/0.2747, allocations: 32.12 kB / 426.1 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004774/0.2752, allocations: 220.9 kB / 426.3 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.2752, allocations: 4 kB / 426.3 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.2752, allocations: 8 kB / 426.3 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.2752, allocations: 8 kB / 426.3 MB, free: 9.523 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004006/0.2756, allocations: 174.1 kB / 426.5 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.2769, allocations: 0.7541 MB / 427.3 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.2774, allocations: 210.4 kB / 427.5 MB, free: 8.328 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.2776, allocations: 104.8 kB / 427.6 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.2776, allocations: 4 kB / 427.6 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.2776, allocations: 38.56 kB / 427.6 MB, free: 8.172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 4.939e-06/0.2776, allocations: 3.984 kB / 427.6 MB, free: 8.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001794/0.2794, allocations: 0.9634 MB / 428.6 MB, free: 7.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.2795, allocations: 55.41 kB / 428.6 MB, free: 7.047 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.2796, allocations: 158.6 kB / 428.8 MB, free: 6.879 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.2797, allocations: 29.7 kB / 428.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.2798, allocations: 148.8 kB / 429 MB, free: 6.695 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.672e-05/0.2799, allocations: 107.1 kB / 429.1 MB, free: 6.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-05/0.2799, allocations: 49.7 kB / 429.1 MB, free: 6.535 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.2801, allocations: 330.8 kB / 429.4 MB, free: 6.203 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.2803, allocations: 75.89 kB / 429.5 MB, free: 6.129 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.2805, allocations: 119.1 kB / 429.6 MB, free: 6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.2809, allocations: 207.3 kB / 429.8 MB, free: 5.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2809, allocations: 0 / 429.8 MB, free: 5.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004955/0.2814, allocations: 265.5 kB / 430.1 MB, free: 5.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2814, allocations: 4 kB / 430.1 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2814, allocations: 4 kB / 430.1 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.2814, allocations: 0 / 430.1 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/0.2817, allocations: 79.89 kB / 430.2 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.2818, allocations: 0 / 430.2 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.2819, allocations: 15.98 kB / 430.2 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.2819, allocations: 8 kB / 430.2 MB, free: 5.41 MB / 334.1 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 0.0001391/0.282, allocations: 145.8 kB / 430.3 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.2821, allocations: 19.91 kB / 430.4 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.607e-05/0.2821, allocations: 26.55 kB / 430.4 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2821, allocations: 4 kB / 430.4 MB, free: 5.211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.2822, allocations: 0 / 430.4 MB, free: 5.211 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.2822, allocations: 0 / 430.4 MB, free: 5.211 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009998/0.2832, allocations: 0.6624 MB / 431 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2832, allocations: 0 / 431 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/0.2835, allocations: 75.91 kB / 431.1 MB, free: 4.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2835, allocations: 3.938 kB / 431.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.2835, allocations: 8 kB / 431.1 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.2835, allocations: 7.922 kB / 431.1 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2835, allocations: 0 / 431.1 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006965/0.2842, allocations: 447.6 kB / 431.6 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.96e-05/0.2843, allocations: 92.97 kB / 431.7 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.2843, allocations: 8.062 kB / 431.7 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.2844, allocations: 15.92 kB / 431.7 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.2845, allocations: 19.97 kB / 431.7 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.2845, allocations: 12 kB / 431.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.544e-05/0.2846, allocations: 119.5 kB / 431.8 MB, free: 3.656 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2846, allocations: 0 / 431.8 MB, free: 3.656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.2849, allocations: 60 kB / 431.9 MB, free: 3.598 MB / 334.1 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.0001167/0.285, allocations: 103.7 kB / 432 MB, free: 3.488 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004501/0.2855, allocations: 191.8 kB / 432.2 MB, free: 3.301 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2855, allocations: 0 / 432.2 MB, free: 3.301 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.2857, allocations: 96.11 kB / 432.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.2861, allocations: 43.91 kB / 432.3 MB, free: 3.164 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.2874, allocations: 0.8269 MB / 433.1 MB, free: 2.297 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.2878, allocations: 0.7522 MB / 433.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.824e-05/0.2879, allocations: 21.94 kB / 433.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.2879, allocations: 23.44 kB / 433.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2879, allocations: 0 / 433.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of Templates: time 0.005743/0.2937, allocations: 2.284 MB / 436.2 MB, free: 15.2 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.32105690613389]