Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008749/0.0008749, allocations: 91.61 kB / 22.19 MB, free: 2.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000849/0.000849, allocations: 159.9 kB / 25.45 MB, free: 8.867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8929/0.8929, allocations: 158.6 MB / 187.2 MB, free: 3.055 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 299.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.662e-05, allocations: 2.281 kB / 299.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002425/0.002442, allocations: 2.295 MB / 302 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006578/0.0031, allocations: 0.5969 MB / 302.6 MB, free: 4.012 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.003202, allocations: 7.938 kB / 302.6 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.003317, allocations: 31.66 kB / 302.6 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.00343, allocations: 91.19 kB / 302.7 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.003564, allocations: 59.91 kB / 302.8 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.003776, allocations: 306.4 kB / 303.1 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.003923, allocations: 71.36 kB / 303.1 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.004058, allocations: 171.7 kB / 303.3 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.718e-05/0.004155, allocations: 91.69 kB / 303.4 MB, free: 3.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.004188, allocations: 24 kB / 303.4 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.496e-05/0.004213, allocations: 24 kB / 303.4 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.004247, allocations: 51.83 kB / 303.5 MB, free: 3.102 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.243e-05/0.004309, allocations: 103.7 kB / 303.6 MB, free: 3 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.004545, allocations: 302.9 kB / 303.9 MB, free: 2.703 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004548, allocations: 0 / 303.9 MB, free: 2.703 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004548, allocations: 0 / 303.9 MB, free: 2.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.004553, allocations: 0 / 303.9 MB, free: 2.703 MB / 282.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.0005656/0.005118, allocations: 485.6 kB / 304.4 MB, free: 2.199 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.005151, allocations: 15.98 kB / 304.4 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.005192, allocations: 28.8 kB / 304.4 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.005385, allocations: 181.9 kB / 304.6 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.005402, allocations: 21.03 kB / 304.6 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.005437, allocations: 28.33 kB / 304.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.005715, allocations: 226.7 kB / 304.9 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.00573, allocations: 3.938 kB / 304.9 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.005747, allocations: 12 kB / 304.9 MB, free: 1.664 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.005753, allocations: 4 kB / 304.9 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.005977, allocations: 182.5 kB / 305 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000666/0.006643, allocations: 0.5978 MB / 305.6 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.006952, allocations: 202.2 kB / 305.8 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.007074, allocations: 104.8 kB / 305.9 MB, free: 0.543 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.007086, allocations: 4 kB / 306 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.007103, allocations: 38.56 kB / 306 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.483e-06/0.007104, allocations: 0 / 306 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009874/0.008092, allocations: 0.8047 MB / 306.8 MB, free: 15.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.008122, allocations: 63.39 kB / 306.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.00845, allocations: 146.3 kB / 307 MB, free: 15.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.008463, allocations: 29.7 kB / 307 MB, free: 15.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.008523, allocations: 152.6 kB / 307.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/0.008569, allocations: 103 kB / 307.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/0.008617, allocations: 49.7 kB / 307.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.464e-05/0.008692, allocations: 330.8 kB / 307.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.665e-05/0.008788, allocations: 75.89 kB / 307.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.008901, allocations: 115.2 kB / 307.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.009123, allocations: 203.3 kB / 308 MB, free: 14.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.009124, allocations: 0 / 308 MB, free: 14.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002635/0.009388, allocations: 269.4 kB / 308.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.0094, allocations: 4.094 kB / 308.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.009405, allocations: 4 kB / 308.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.009416, allocations: 4 kB / 308.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.009564, allocations: 75.89 kB / 308.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.009569, allocations: 4 kB / 308.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.827e-05/0.009627, allocations: 15.98 kB / 308.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.009635, allocations: 4 kB / 308.4 MB, free: 13.95 MB / 298.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 7.739e-05/0.009713, allocations: 142.2 kB / 308.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.009736, allocations: 19.84 kB / 308.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.009768, allocations: 29.95 kB / 308.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.00977, allocations: 3.938 kB / 308.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.009773, allocations: 4 kB / 308.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.009777, allocations: 3.984 kB / 308.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/0.01029, allocations: 0.5546 MB / 309.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01029, allocations: 0 / 309.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.01046, allocations: 71.89 kB / 309.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.01046, allocations: 8.062 kB / 309.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.01047, allocations: 4 kB / 309.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01047, allocations: 4 kB / 309.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01047, allocations: 0 / 309.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.01086, allocations: 454.6 kB / 309.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.01088, allocations: 11.91 kB / 309.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.0109, allocations: 12.05 kB / 309.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.01096, allocations: 12 kB / 309.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.011, allocations: 19.95 kB / 309.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.01101, allocations: 8 kB / 309.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.433e-05/0.01105, allocations: 111.9 kB / 309.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01106, allocations: 0 / 309.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001769/0.01123, allocations: 59.94 kB / 309.9 MB, free: 12.36 MB / 298.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.841e-05/0.0113, allocations: 107.2 kB / 310 MB, free: 12.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.01155, allocations: 191.9 kB / 310.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01155, allocations: 7.875 kB / 310.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.01166, allocations: 103.8 kB / 310.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.01191, allocations: 40.09 kB / 310.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007343/0.01264, allocations: 0.6976 MB / 311.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.239e-05/0.01272, allocations: 142.5 kB / 311.2 MB, free: 11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.01277, allocations: 20.5 kB / 311.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01277, allocations: 3.938 kB / 311.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of Templates: time 0.003051/0.01582, allocations: 2.899 MB / 314.1 MB, free: 8.078 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.109284078702331]