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.000978/0.000978, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001064/0.001064, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9824/0.9824, allocations: 177 MB / 204.8 MB, free: 5.574 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 1.833e-06/1.833e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.171e-05/3.354e-05, allocations: 5.266 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003795/0.003828, allocations: 2.473 MB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.005025, allocations: 0.5959 MB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.005173, allocations: 7.938 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.005347, allocations: 43.64 kB / 276 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.005535, allocations: 87.14 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.005727, allocations: 55.92 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003368/0.006064, allocations: 310.4 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.006263, allocations: 79.28 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.006485, allocations: 167.7 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.006636, allocations: 95.75 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.006679, allocations: 28 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.257e-05/0.006722, allocations: 24 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.351e-05/0.006775, allocations: 55.75 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.00688, allocations: 91.83 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.007175, allocations: 195.2 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.007178, allocations: 4 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.007179, allocations: 0 / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.007184, allocations: 0 / 277.2 MB, free: 13.14 MB / 266.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.0007163/0.0079, allocations: 0.5587 MB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.007943, allocations: 11.98 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.348e-05/0.008037, allocations: 52.75 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.008295, allocations: 192.7 kB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.008315, allocations: 17.03 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-05/0.008374, allocations: 36.31 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.00872, allocations: 183.4 kB / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.00874, allocations: 7.938 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.008763, allocations: 8 kB / 278.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.008778, allocations: 8 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.008986, allocations: 103.8 kB / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.01004, allocations: 0.6243 MB / 279 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.01043, allocations: 159 kB / 279.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.01056, allocations: 67.66 kB / 279.2 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.01057, allocations: 8 kB / 279.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.0106, allocations: 37.39 kB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.933e-06/0.01061, allocations: 0 / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.001205/0.01181, allocations: 0.665 MB / 279.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.01185, allocations: 59.39 kB / 280 MB, free: 10.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.012, allocations: 193.9 kB / 280.1 MB, free: 9.941 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.01202, allocations: 29.7 kB / 280.2 MB, free: 9.906 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.603e-05/0.01212, allocations: 199.4 kB / 280.4 MB, free: 9.707 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.37e-05/0.01219, allocations: 111.1 kB / 280.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.789e-05/0.01227, allocations: 55.36 kB / 280.5 MB, free: 9.535 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.01242, allocations: 0.4962 MB / 281 MB, free: 9.027 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.47e-05/0.01251, allocations: 35.97 kB / 281.1 MB, free: 8.992 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.01263, allocations: 96.06 kB / 281.2 MB, free: 8.883 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.01283, allocations: 138.7 kB / 281.3 MB, free: 8.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.01284, allocations: 0 / 281.3 MB, free: 8.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003063/0.01314, allocations: 201.4 kB / 281.5 MB, free: 8.527 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.01316, allocations: 11.12 kB / 281.5 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01317, allocations: 0 / 281.5 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.01319, allocations: 4 kB / 281.5 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.01342, allocations: 79.98 kB / 281.6 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.01343, allocations: 0 / 281.6 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.855e-05/0.01352, allocations: 12 kB / 281.6 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.01353, allocations: 8 kB / 281.6 MB, free: 8.418 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 0.0001113/0.01365, allocations: 172.5 kB / 281.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.381e-05/0.0137, allocations: 35.8 kB / 281.8 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.971e-05/0.01375, allocations: 25.95 kB / 281.8 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01375, allocations: 4 kB / 281.8 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.01376, allocations: 0 / 281.8 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.01376, allocations: 4 kB / 281.8 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006949/0.01446, allocations: 0.5447 MB / 282.4 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.01446, allocations: 3.938 kB / 282.4 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.01472, allocations: 67.97 kB / 282.5 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.01473, allocations: 3.984 kB / 282.5 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.01475, allocations: 12 kB / 282.5 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.01475, allocations: 3.938 kB / 282.5 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.01475, allocations: 4 kB / 282.5 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004601/0.01521, allocations: 401.8 kB / 282.9 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.01524, allocations: 15.91 kB / 282.9 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.01527, allocations: 4 kB / 282.9 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.01537, allocations: 8 kB / 282.9 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.01543, allocations: 27.89 kB / 282.9 MB, free: 7.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.01544, allocations: 8 kB / 282.9 MB, free: 6.996 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.409e-05/0.01552, allocations: 149.4 kB / 283.1 MB, free: 6.852 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01552, allocations: 0 / 283.1 MB, free: 6.852 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000346/0.01586, allocations: 63.94 kB / 283.1 MB, free: 6.789 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 0.0001148/0.01598, allocations: 107.2 kB / 283.2 MB, free: 6.676 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002932/0.01627, allocations: 139.7 kB / 283.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01627, allocations: 0 / 283.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.0164, allocations: 83.52 kB / 283.5 MB, free: 6.449 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.01688, allocations: 40.66 kB / 283.5 MB, free: 6.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.01835, allocations: 0.6891 MB / 284.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.169e-05/0.0184, allocations: 84.64 kB / 284.3 MB, free: 5.582 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.523e-05/0.01845, allocations: 21.94 kB / 284.3 MB, free: 5.559 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.0185, allocations: 20.5 kB / 284.3 MB, free: 5.539 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.0185, allocations: 0 / 284.3 MB, free: 5.539 MB / 266.7 MB Notification: Performance of Templates: time 0.003888/0.02239, allocations: 2.104 MB / 286.4 MB, free: 3.473 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.9860298838466406]