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.000896/0.000896, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009549/0.0009549, allocations: 140.3 kB / 24.88 MB, free: 9.207 MB / 18.57 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 0.9405/0.9405, allocations: 173.4 MB / 201.5 MB, free: 9.203 MB / 186.7 MB " [Timeout remaining time 179] 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 1.092e-06/1.092e-06, allocations: 0 / 268.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/1.978e-05, allocations: 2.312 kB / 268.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002604/0.002624, allocations: 2.484 MB / 271 MB, free: 3.668 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008223/0.003446, allocations: 0.5919 MB / 271.6 MB, free: 3.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.003555, allocations: 7.938 kB / 271.6 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.003678, allocations: 43.53 kB / 271.6 MB, free: 3.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.003804, allocations: 83.27 kB / 271.7 MB, free: 2.938 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.003928, allocations: 59.91 kB / 271.8 MB, free: 2.879 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.004144, allocations: 306.4 kB / 272.1 MB, free: 2.578 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.004274, allocations: 73.98 kB / 272.1 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.00443, allocations: 171.6 kB / 272.3 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.004539, allocations: 95.7 kB / 272.4 MB, free: 2.242 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.004567, allocations: 24 kB / 272.4 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.273e-05/0.00459, allocations: 20 kB / 272.4 MB, free: 2.199 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.346e-05/0.004623, allocations: 55.81 kB / 272.5 MB, free: 2.145 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.038e-05/0.004684, allocations: 103.8 kB / 272.6 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.004864, allocations: 195.2 kB / 272.8 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004866, allocations: 0 / 272.8 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.004867, allocations: 7.938 kB / 272.8 MB, free: 1.844 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.004871, allocations: 0 / 272.8 MB, free: 1.844 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.0004062/0.005277, allocations: 444.4 kB / 273.2 MB, free: 1.387 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.005306, allocations: 8.922 kB / 273.2 MB, free: 1.379 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.005351, allocations: 40.91 kB / 273.3 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.005531, allocations: 173.1 kB / 273.4 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.005545, allocations: 17.03 kB / 273.5 MB, free: 1.133 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.005577, allocations: 28.33 kB / 273.5 MB, free: 1.105 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.005759, allocations: 175.3 kB / 273.7 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.005773, allocations: 3.938 kB / 273.7 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.005787, allocations: 12 kB / 273.7 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.005793, allocations: 4 kB / 273.7 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.14e-05/0.005874, allocations: 76.47 kB / 273.8 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005405/0.006414, allocations: 472.6 kB / 274.2 MB, free: 360 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.006607, allocations: 141.5 kB / 274.4 MB, free: 212 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.772e-05/0.006655, allocations: 48.83 kB / 274.4 MB, free: 160 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.006666, allocations: 4 kB / 274.4 MB, free: 156 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.006686, allocations: 42.55 kB / 274.5 MB, free: 104 kB / 250.7 MB Notification: Performance of pre-optimization done (n=26): time 1.293e-06/0.006687, allocations: 0 / 274.5 MB, free: 104 kB / 250.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006214/0.007308, allocations: 0.5524 MB / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.007333, allocations: 55.41 kB / 275.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.265e-05/0.007406, allocations: 138.6 kB / 275.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.007418, allocations: 29.7 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.007467, allocations: 148.6 kB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.007511, allocations: 103.1 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.007558, allocations: 49.69 kB / 275.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.007629, allocations: 330.8 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.071e-05/0.00766, allocations: 23.98 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-05/0.007712, allocations: 71.09 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.706e-05/0.007809, allocations: 115.3 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.00781, allocations: 0 / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001305/0.007941, allocations: 145.5 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.007954, allocations: 11.94 kB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.007958, allocations: 3.938 kB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.007971, allocations: 7.984 kB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.008168, allocations: 98.55 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.008173, allocations: 4 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.008222, allocations: 11.98 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.008229, allocations: 4 kB / 276.3 MB, free: 14.1 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 6.285e-05/0.008292, allocations: 125.8 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.008323, allocations: 23.92 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.008357, allocations: 29.95 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.00836, allocations: 4 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.008362, allocations: 4 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.008365, allocations: 0 / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.008713, allocations: 388.7 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.008714, allocations: 0 / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.008903, allocations: 83.94 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.008906, allocations: 7.938 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.008916, allocations: 4 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.00892, allocations: 8.062 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008921, allocations: 0 / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.009128, allocations: 295 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.009144, allocations: 15.91 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.00916, allocations: 4 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.908e-05/0.009219, allocations: 8 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.009255, allocations: 31.83 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.009262, allocations: 4 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.186e-05/0.009294, allocations: 32.83 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009294, allocations: 0 / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001576/0.009452, allocations: 60 kB / 277.4 MB, free: 12.91 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.009e-05/0.009522, allocations: 91.97 kB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.009651, allocations: 120.9 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.009654, allocations: 0 / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.422e-05/0.009708, allocations: 68.69 kB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.009907, allocations: 52.34 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007356/0.01064, allocations: 0.5528 MB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.896e-05/0.01069, allocations: 92.58 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.482e-05/0.01075, allocations: 21.94 kB / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.909e-05/0.01085, allocations: 99.34 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01085, allocations: 0 / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of Templates: time 0.003912/0.01476, allocations: 2.409 MB / 280.9 MB, free: 9.41 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 240] 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","",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.5912738679908216]