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.0009854/0.0009854, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009257/0.0009257, allocations: 156.4 kB / 24.98 MB, free: 8.75 MB / 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.9736/0.9736, allocations: 177 MB / 205.2 MB, free: 5.59 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.383e-06/1.383e-06, allocations: 0 / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.833e-05, allocations: 5.266 kB / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002474/0.002493, allocations: 2.465 MB / 275.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008218/0.003314, allocations: 0.596 MB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.003418, allocations: 7.938 kB / 276.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.003541, allocations: 39.59 kB / 276.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.00366, allocations: 87.2 kB / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.003799, allocations: 59.91 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.004027, allocations: 306.4 kB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.00418, allocations: 79.28 kB / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.00434, allocations: 179.6 kB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.004448, allocations: 83.77 kB / 276.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.004482, allocations: 24 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.63e-05/0.004508, allocations: 24 kB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.745e-05/0.004545, allocations: 59.75 kB / 277 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.024e-05/0.004616, allocations: 99.81 kB / 277.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.004818, allocations: 191.3 kB / 277.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.00482, allocations: 0 / 277.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004821, allocations: 0 / 277.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.004825, allocations: 0 / 277.3 MB, free: 13.46 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.0005209/0.005346, allocations: 0.5625 MB / 277.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.005377, allocations: 11.98 kB / 277.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.443e-05/0.005442, allocations: 52.75 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.005634, allocations: 184.8 kB / 278.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.00565, allocations: 21.03 kB / 278.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/0.005689, allocations: 32.27 kB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.005942, allocations: 187.4 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.005957, allocations: 3.938 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.005975, allocations: 19.92 kB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.005984, allocations: 8 kB / 278.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.006127, allocations: 95.84 kB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006984/0.006825, allocations: 0.6282 MB / 279.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.007095, allocations: 171 kB / 279.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.566e-05/0.007181, allocations: 67.66 kB / 279.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.007192, allocations: 4 kB / 279.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.007212, allocations: 41.33 kB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.372e-06/0.007213, allocations: 0 / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008189/0.008032, allocations: 0.6573 MB / 280 MB, free: 10.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.00806, allocations: 51.41 kB / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.613e-05/0.008156, allocations: 205.9 kB / 280.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.008173, allocations: 29.7 kB / 280.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.736e-05/0.008241, allocations: 191.4 kB / 280.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.309e-05/0.008294, allocations: 111.1 kB / 280.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.008346, allocations: 51.36 kB / 280.6 MB, free: 9.852 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.008457, allocations: 0.5039 MB / 281.1 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.971e-05/0.008517, allocations: 39.98 kB / 281.2 MB, free: 9.297 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.561e-05/0.008602, allocations: 88.05 kB / 281.2 MB, free: 9.195 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.008756, allocations: 150.7 kB / 281.4 MB, free: 9.031 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.008758, allocations: 0 / 281.4 MB, free: 9.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002086/0.008966, allocations: 197.4 kB / 281.6 MB, free: 8.832 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.008978, allocations: 4 kB / 281.6 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.008983, allocations: 4 kB / 281.6 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.008996, allocations: 3.984 kB / 281.6 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.009158, allocations: 67.91 kB / 281.7 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.009163, allocations: 4 kB / 281.7 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.621e-05/0.00922, allocations: 16.08 kB / 281.7 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.00923, allocations: 12 kB / 281.7 MB, free: 8.723 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.551e-05/0.009306, allocations: 168.5 kB / 281.9 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.009338, allocations: 31.8 kB / 281.9 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/0.009375, allocations: 25.97 kB / 281.9 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.009378, allocations: 4 kB / 281.9 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.009381, allocations: 3.938 kB / 281.9 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.009386, allocations: 3.984 kB / 281.9 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004746/0.00986, allocations: 0.5447 MB / 282.5 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.009862, allocations: 8.031 kB / 282.5 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.01003, allocations: 63.91 kB / 282.5 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.01004, allocations: 4 kB / 282.5 MB, free: 7.809 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.01005, allocations: 8 kB / 282.6 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01005, allocations: 0 / 282.6 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01005, allocations: 0 / 282.6 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.01036, allocations: 409.7 kB / 283 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.529e-05/0.01038, allocations: 19.89 kB / 283 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.0104, allocations: 12.06 kB / 283 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.214e-05/0.01046, allocations: 12 kB / 283 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.0105, allocations: 15.97 kB / 283 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.01051, allocations: 8 kB / 283 MB, free: 7.305 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.18e-05/0.01056, allocations: 149.2 kB / 283.2 MB, free: 7.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01056, allocations: 0 / 283.2 MB, free: 7.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001911/0.01075, allocations: 63.94 kB / 283.2 MB, free: 7.098 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 6.857e-05/0.01082, allocations: 99.19 kB / 283.3 MB, free: 6.992 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.01101, allocations: 147.6 kB / 283.5 MB, free: 6.844 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01101, allocations: 4.062 kB / 283.5 MB, free: 6.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-05/0.01109, allocations: 75.59 kB / 283.5 MB, free: 6.762 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.01135, allocations: 41.33 kB / 283.6 MB, free: 6.723 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009261/0.01227, allocations: 0.6889 MB / 284.3 MB, free: 6 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.332e-05/0.01233, allocations: 88.64 kB / 284.4 MB, free: 5.891 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.486e-05/0.01238, allocations: 17.95 kB / 284.4 MB, free: 5.871 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.01242, allocations: 20.5 kB / 284.4 MB, free: 5.852 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01242, allocations: 0 / 284.4 MB, free: 5.852 MB / 266.7 MB Notification: Performance of Templates: time 0.003561/0.01599, allocations: 2.108 MB / 286.5 MB, free: 3.781 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.7307348421309143]