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.001019/0.001019, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001026/0.001026, allocations: 156.5 kB / 24.55 MB, free: 20 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.9386/0.9386, allocations: 177 MB / 204.8 MB, free: 5.621 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.423e-06/1.423e-06, allocations: 0 / 272.9 MB, free: 1.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.626e-05, allocations: 6.312 kB / 272.9 MB, free: 1.504 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002437/0.002453, allocations: 2.476 MB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008455/0.003299, allocations: 0.5997 MB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.003409, allocations: 4 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.003541, allocations: 43.59 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.00367, allocations: 87.2 kB / 276.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.003811, allocations: 55.91 kB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.004053, allocations: 306.4 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.004204, allocations: 79.28 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.004363, allocations: 175.6 kB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.004473, allocations: 91.7 kB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.004508, allocations: 24 kB / 276.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.754e-05/0.004535, allocations: 28 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.577e-05/0.004571, allocations: 55.81 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.658e-05/0.004638, allocations: 91.77 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.00484, allocations: 199.3 kB / 277.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004842, allocations: 0 / 277.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.004843, allocations: 0 / 277.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.004847, allocations: 0 / 277.2 MB, free: 13.19 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.0005233/0.005371, allocations: 0.5586 MB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.005405, allocations: 19.98 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.611e-05/0.005471, allocations: 48.75 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.005663, allocations: 192.7 kB / 278 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.005679, allocations: 17.03 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.005715, allocations: 32.33 kB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.005964, allocations: 183.4 kB / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.005978, allocations: 3.938 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.005996, allocations: 12 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.006007, allocations: 4 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.006144, allocations: 103.8 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006979/0.006842, allocations: 0.6243 MB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.007122, allocations: 174.9 kB / 279.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.612e-05/0.007208, allocations: 71.64 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.007219, allocations: 4 kB / 279.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.00724, allocations: 33.39 kB / 279.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.684e-06/0.007242, allocations: 0 / 279.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008119/0.008054, allocations: 0.6612 MB / 279.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.008085, allocations: 59.34 kB / 280 MB, free: 10.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.117e-05/0.008177, allocations: 197.9 kB / 280.2 MB, free: 9.984 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.008191, allocations: 33.7 kB / 280.2 MB, free: 9.945 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.008259, allocations: 191.4 kB / 280.4 MB, free: 9.754 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.351e-05/0.008313, allocations: 111.1 kB / 280.5 MB, free: 9.645 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/0.008367, allocations: 55.36 kB / 280.5 MB, free: 9.582 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.008475, allocations: 0.5001 MB / 281 MB, free: 9.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.706e-05/0.008532, allocations: 35.98 kB / 281.1 MB, free: 9.035 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.603e-05/0.008618, allocations: 92.05 kB / 281.2 MB, free: 8.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.008767, allocations: 142.7 kB / 281.3 MB, free: 8.773 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.008769, allocations: 0 / 281.3 MB, free: 8.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002141/0.008983, allocations: 197.4 kB / 281.5 MB, free: 8.574 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.008996, allocations: 14.95 kB / 281.5 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.009001, allocations: 0 / 281.5 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.009013, allocations: 4 kB / 281.5 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.009177, allocations: 72 kB / 281.6 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.009183, allocations: 4 kB / 281.6 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.66e-05/0.00924, allocations: 8 kB / 281.6 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.00925, allocations: 11.98 kB / 281.6 MB, free: 8.465 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 7.482e-05/0.009324, allocations: 168.5 kB / 281.8 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.009357, allocations: 35.8 kB / 281.8 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.009392, allocations: 29.91 kB / 281.8 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.009394, allocations: 0 / 281.8 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.009398, allocations: 0 / 281.8 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.009402, allocations: 7.984 kB / 281.8 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004782/0.00988, allocations: 0.5408 MB / 282.4 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.009883, allocations: 0 / 282.4 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.01006, allocations: 71.89 kB / 282.5 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01006, allocations: 0 / 282.5 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.01008, allocations: 8 kB / 282.5 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.01008, allocations: 0 / 282.5 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01008, allocations: 4 kB / 282.5 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.01039, allocations: 405.8 kB / 282.9 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.0104, allocations: 23.91 kB / 282.9 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.01042, allocations: 7.984 kB / 282.9 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.913e-05/0.01048, allocations: 12 kB / 282.9 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.01052, allocations: 11.97 kB / 282.9 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.567e-06/0.01053, allocations: 12 kB / 282.9 MB, free: 7.051 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.383e-05/0.01058, allocations: 149.4 kB / 283.1 MB, free: 6.906 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01058, allocations: 3.938 kB / 283.1 MB, free: 6.902 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001933/0.01078, allocations: 59.94 kB / 283.1 MB, free: 6.844 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 8.237e-05/0.01086, allocations: 107.2 kB / 283.2 MB, free: 6.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.01105, allocations: 147.7 kB / 283.4 MB, free: 6.582 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01106, allocations: 0 / 283.4 MB, free: 6.582 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.633e-05/0.01113, allocations: 75.59 kB / 283.5 MB, free: 6.504 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.01139, allocations: 55.38 kB / 283.5 MB, free: 6.453 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009513/0.01234, allocations: 0.6852 MB / 284.2 MB, free: 5.734 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.276e-05/0.0124, allocations: 84.64 kB / 284.3 MB, free: 5.629 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.442e-05/0.01245, allocations: 17.95 kB / 284.3 MB, free: 5.609 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.0125, allocations: 20.5 kB / 284.3 MB, free: 5.59 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.0125, allocations: 0 / 284.3 MB, free: 5.59 MB / 266.7 MB Notification: Performance of Templates: time 0.00399/0.01649, allocations: 2.221 MB / 286.5 MB, free: 3.402 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.6207371428608894]