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.001716/0.001716, allocations: 104 kB / 21.18 MB, free: 0.6719 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.002127/0.002127, allocations: 194.4 kB / 24.46 MB, free: 4.016 MB / 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.517/1.517, allocations: 225.7 MB / 253.3 MB, free: 12.82 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.00161/0.00161, allocations: 51.92 kB / 371.6 MB, free: 9.219 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2722, allocations: 52.18 MB / 423.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004145/0.2764, allocations: 2.316 MB / 426.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.2776, allocations: 0.5571 MB / 426.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.2777, allocations: 4 kB / 426.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.2779, allocations: 35.59 kB / 426.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.2781, allocations: 83.27 kB / 426.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.2783, allocations: 59.92 kB / 426.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003534/0.2786, allocations: 298.6 kB / 427.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.2788, allocations: 74.31 kB / 427.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.279, allocations: 115.6 kB / 427.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.2792, allocations: 111.4 kB / 427.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.329e-05/0.2792, allocations: 27.94 kB / 427.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.91e-05/0.2793, allocations: 24 kB / 427.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.858e-05/0.2793, allocations: 47.78 kB / 427.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.2795, allocations: 119.5 kB / 427.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.2798, allocations: 294.5 kB / 427.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.475e-05/0.2798, allocations: 4 kB / 427.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2799, allocations: 0 / 427.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.2799, allocations: 0 / 427.9 MB, free: 10.36 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.000848/0.2807, allocations: 484.8 kB / 428.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2807, allocations: 8.031 kB / 428.4 MB, free: 9.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.692e-05/0.2808, allocations: 32.75 kB / 428.5 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.2812, allocations: 185.9 kB / 428.6 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.2812, allocations: 17.03 kB / 428.7 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.2812, allocations: 36.11 kB / 428.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004956/0.2817, allocations: 226 kB / 428.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.2818, allocations: 7.984 kB / 428.9 MB, free: 9.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.2818, allocations: 8 kB / 428.9 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.2818, allocations: 8 kB / 428.9 MB, free: 9.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004283/0.2822, allocations: 174.5 kB / 429.1 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.2834, allocations: 0.5938 MB / 429.7 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/0.284, allocations: 206.6 kB / 429.9 MB, free: 8.309 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.2842, allocations: 100.8 kB / 430 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.2842, allocations: 7.938 kB / 430 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.2843, allocations: 34.56 kB / 430 MB, free: 8.156 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 2.195e-06/0.2843, allocations: 4 kB / 430 MB, free: 8.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001824/0.2861, allocations: 0.8103 MB / 430.9 MB, free: 7.289 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.2861, allocations: 55.41 kB / 430.9 MB, free: 7.223 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.2863, allocations: 145.7 kB / 431.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.2863, allocations: 37.7 kB / 431.1 MB, free: 7.031 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.2864, allocations: 140.8 kB / 431.2 MB, free: 6.891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.229e-05/0.2865, allocations: 103.1 kB / 431.3 MB, free: 6.789 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.36e-05/0.2866, allocations: 53.7 kB / 431.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.2868, allocations: 330.8 kB / 431.7 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.287, allocations: 71.95 kB / 431.8 MB, free: 6.328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.2872, allocations: 119.9 kB / 431.9 MB, free: 6.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.2876, allocations: 215.2 kB / 432.1 MB, free: 5.977 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2876, allocations: 0 / 432.1 MB, free: 5.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005133/0.2881, allocations: 261.4 kB / 432.4 MB, free: 5.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.2882, allocations: 8 kB / 432.4 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.2882, allocations: 4 kB / 432.4 MB, free: 5.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.2882, allocations: 8.031 kB / 432.4 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.2885, allocations: 79.89 kB / 432.5 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.2885, allocations: 4 kB / 432.5 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.2886, allocations: 11.98 kB / 432.5 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.2886, allocations: 8 kB / 432.5 MB, free: 5.594 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.000151/0.2888, allocations: 142.2 kB / 432.6 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.2888, allocations: 19.91 kB / 432.6 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.334e-05/0.2889, allocations: 21.97 kB / 432.7 MB, free: 5.402 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.2889, allocations: 8 kB / 432.7 MB, free: 5.395 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2889, allocations: 0 / 432.7 MB, free: 5.395 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2889, allocations: 3.984 kB / 432.7 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009939/0.2899, allocations: 0.5585 MB / 433.2 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.2899, allocations: 7.938 kB / 433.2 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.2902, allocations: 67.91 kB / 433.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.2903, allocations: 3.984 kB / 433.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.2903, allocations: 12.06 kB / 433.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2903, allocations: 0 / 433.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.2903, allocations: 4 kB / 433.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007524/0.291, allocations: 439.2 kB / 433.8 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.2911, allocations: 15.91 kB / 433.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.2911, allocations: 8.047 kB / 433.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.2912, allocations: 12 kB / 433.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.2913, allocations: 31.83 kB / 433.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.2913, allocations: 8 kB / 433.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.2914, allocations: 107.3 kB / 433.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2914, allocations: 0 / 433.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003157/0.2917, allocations: 60 kB / 434 MB, free: 4 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.0001293/0.2919, allocations: 103.2 kB / 434.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004698/0.2923, allocations: 187.8 kB / 434.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2923, allocations: 4.188 kB / 434.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.2926, allocations: 103.8 kB / 434.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.293, allocations: 36.05 kB / 434.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.2945, allocations: 0.8412 MB / 435.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.2946, allocations: 150.5 kB / 435.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.594e-05/0.2947, allocations: 19.44 kB / 435.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2947, allocations: 0 / 435.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of Templates: time 0.005304/0.3, allocations: 2.874 MB / 438.3 MB, free: 15.63 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/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: 7.369738114066422]