Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.0008548/0.0008548, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001355/0.001355, allocations: 162.4 kB / 24.91 MB, free: 8.766 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.9665/0.9665, allocations: 177 MB / 205.2 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2691/0.2691, allocations: 34.86 MB / 296.6 MB, free: 0.5273 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 326 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.893e-05, allocations: 5.266 kB / 326 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002577/0.002606, allocations: 1.771 MB / 327.8 MB, free: 5.332 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.003939, allocations: 1.009 MB / 328.8 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.506e-05/0.004024, allocations: 4 kB / 328.8 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.004333, allocations: 79.64 kB / 328.9 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003417/0.004674, allocations: 119.4 kB / 329 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.004895, allocations: 83.53 kB / 329.1 MB, free: 4.035 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.005062, allocations: 120.4 kB / 329.2 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.802e-05/0.00514, allocations: 11.97 kB / 329.2 MB, free: 3.906 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.856e-05/0.005229, allocations: 67.75 kB / 329.3 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.275e-05/0.005322, allocations: 51.89 kB / 329.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.005336, allocations: 4 kB / 329.3 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.005457, allocations: 47.91 kB / 329.4 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.005504, allocations: 23.86 kB / 329.4 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.005537, allocations: 15.94 kB / 329.4 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.005701, allocations: 103.6 kB / 329.5 MB, free: 3.598 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.005703, allocations: 0 / 329.5 MB, free: 3.598 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005704, allocations: 0 / 329.5 MB, free: 3.598 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.005707, allocations: 0 / 329.5 MB, free: 3.598 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003869/0.006094, allocations: 337.4 kB / 329.8 MB, free: 3.246 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.006129, allocations: 16.03 kB / 329.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.006162, allocations: 8.922 kB / 329.8 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.006318, allocations: 149.6 kB / 330 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.006335, allocations: 384 / 330 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.006354, allocations: 4.375 kB / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.006465, allocations: 61.77 kB / 330.1 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.006473, allocations: 192 / 330.1 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.00648, allocations: 384 / 330.1 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.006484, allocations: 7.938 kB / 330.1 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.386e-05/0.006508, allocations: 11.92 kB / 330.1 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002575/0.006766, allocations: 170 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.194e-05/0.006858, allocations: 85.28 kB / 330.3 MB, free: 2.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.006877, allocations: 12.84 kB / 330.3 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.00689, allocations: 4 kB / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.006e-05/0.00698, allocations: 62.16 kB / 330.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.006981, allocations: 0 / 330.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002922/0.007273, allocations: 121.4 kB / 330.5 MB, free: 2.461 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.007308, allocations: 55.41 kB / 330.6 MB, free: 2.395 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.007423, allocations: 185.1 kB / 330.8 MB, free: 2.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.007437, allocations: 33.7 kB / 330.8 MB, free: 2.156 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.007474, allocations: 100.1 kB / 330.9 MB, free: 2.055 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.007499, allocations: 19.8 kB / 330.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.007531, allocations: 25.69 kB / 330.9 MB, free: 2.004 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.427e-05/0.007615, allocations: 330.8 kB / 331.3 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.007633, allocations: 10.83 kB / 331.3 MB, free: 1.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.446e-05/0.007658, allocations: 21.7 kB / 331.3 MB, free: 1.633 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.355e-05/0.007711, allocations: 44.45 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.007712, allocations: 4.312 kB / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.183e-05/0.007794, allocations: 72.5 kB / 331.4 MB, free: 1.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.007808, allocations: 7.938 kB / 331.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.007813, allocations: 7.984 kB / 331.4 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.007824, allocations: 0 / 331.4 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.563e-05/0.007889, allocations: 23.92 kB / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.007892, allocations: 0 / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.62e-05/0.007918, allocations: 4 kB / 331.4 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.007925, allocations: 4 kB / 331.5 MB, free: 1.453 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.001e-05/0.007985, allocations: 115.1 kB / 331.6 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.008, allocations: 19.95 kB / 331.6 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.00811, allocations: 79.81 kB / 331.7 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.008112, allocations: 0 / 331.7 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.008114, allocations: 0 / 331.7 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.008116, allocations: 0 / 331.7 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.008465, allocations: 295.4 kB / 332 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.00847, allocations: 7.938 kB / 332 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.537e-05/0.008495, allocations: 11.98 kB / 332 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.008498, allocations: 0 / 332 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.008503, allocations: 0 / 332 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.008505, allocations: 4.266 kB / 332 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.008508, allocations: 4 kB / 332 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.008612, allocations: 215 kB / 332.2 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.008631, allocations: 15.88 kB / 332.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.008645, allocations: 0 / 332.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.732e-05/0.008683, allocations: 4 kB / 332.2 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.008712, allocations: 11.98 kB / 332.2 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.008722, allocations: 0 / 332.2 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.906e-05/0.008771, allocations: 69.47 kB / 332.3 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008771, allocations: 4 kB / 332.3 MB, free: 0.543 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001419/0.008913, allocations: 23.94 kB / 332.3 MB, free: 0.5195 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001194/0.01011, allocations: 0.5605 MB / 332.9 MB, free: 240 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.01021, allocations: 44.78 kB / 332.9 MB, free: 192 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.01022, allocations: 4.062 kB / 332.9 MB, free: 188 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.265e-05/0.01025, allocations: 24.84 kB / 332.9 MB, free: 160 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.01043, allocations: 38.36 kB / 333 MB, free: 124 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.01077, allocations: 230.6 kB / 333.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.087e-05/0.01081, allocations: 71.33 kB / 333.3 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.757e-05/0.01085, allocations: 17.27 kB / 333.3 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.479e-05/0.01091, allocations: 71.42 kB / 333.4 MB, free: 15.69 MB / 314.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01091, allocations: 0 / 333.4 MB, free: 15.69 MB / 314.7 MB Notification: Performance of Templates: time 0.003563/0.01447, allocations: 2.021 MB / 335.4 MB, free: 13.7 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.972820696886629]