Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.0007825/0.0007825, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.001859, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007245/0.0007245, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001726, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 1.072/1.072, allocations: 177.5 MB / 190 MB, free: 4.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09321/1.165, allocations: 53.88 MB / 243.9 MB, free: 14.83 MB / 250.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.293/0.293, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02656/0.3195, allocations: 13.24 MB / 292.8 MB, free: 6.367 MB / 282.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.22e-07/8.22e-07, allocations: 0 / 294.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.493e-05, allocations: 4 kB / 294.2 MB, free: 4.984 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002033/0.002048, allocations: 1.819 MB / 296 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.003381, allocations: 1.021 MB / 297 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.569e-05/0.003427, allocations: 3.938 kB / 297 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.003538, allocations: 39.7 kB / 297.1 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.003685, allocations: 95.42 kB / 297.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.003815, allocations: 95.53 kB / 297.3 MB, free: 1.895 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.003919, allocations: 103.6 kB / 297.4 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.003959, allocations: 4 kB / 297.4 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.493e-05/0.004054, allocations: 83.8 kB / 297.4 MB, free: 1.707 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.633e-05/0.0041, allocations: 23.92 kB / 297.5 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.004111, allocations: 4 kB / 297.5 MB, free: 1.68 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.99e-05/0.004171, allocations: 47.86 kB / 297.5 MB, free: 1.633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.335e-05/0.004204, allocations: 23.86 kB / 297.5 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.004227, allocations: 11.94 kB / 297.6 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.004341, allocations: 99.66 kB / 297.7 MB, free: 1.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.004347, allocations: 0 / 297.7 MB, free: 1.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004347, allocations: 4 kB / 297.7 MB, free: 1.496 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.004353, allocations: 0 / 297.7 MB, free: 1.496 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002798/0.004633, allocations: 344.9 kB / 298 MB, free: 1.137 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.21e-05/0.004655, allocations: 11.44 kB / 298 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.307e-05/0.004678, allocations: 16.92 kB / 298 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.004779, allocations: 142.1 kB / 298.2 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.004792, allocations: 12.38 kB / 298.2 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.004803, allocations: 384 / 298.2 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.184e-05/0.004865, allocations: 61.77 kB / 298.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.488e-06/0.004869, allocations: 192 / 298.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-06/0.004874, allocations: 8.375 kB / 298.2 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-06/0.004878, allocations: 3.938 kB / 298.2 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.082e-05/0.004899, allocations: 15.92 kB / 298.3 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.005047, allocations: 165.8 kB / 298.4 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.497e-05/0.005122, allocations: 93.33 kB / 298.5 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.005137, allocations: 12.86 kB / 298.5 MB, free: 0.543 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.129e-06/0.005142, allocations: 0 / 298.5 MB, free: 0.543 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.043e-05/0.005203, allocations: 62.16 kB / 298.6 MB, free: 480 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.01e-07/0.005203, allocations: 0 / 298.6 MB, free: 480 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002218/0.005425, allocations: 125.5 kB / 298.7 MB, free: 348 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.005451, allocations: 55.41 kB / 298.8 MB, free: 280 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.477e-05/0.005546, allocations: 184.2 kB / 298.9 MB, free: 80 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.005559, allocations: 25.7 kB / 299 MB, free: 48 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.72e-05/0.005596, allocations: 92.11 kB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.005616, allocations: 27.75 kB / 299.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.005644, allocations: 29.69 kB / 299.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.771e-05/0.005722, allocations: 326.8 kB / 299.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.314e-05/0.005735, allocations: 10.83 kB / 299.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.058e-05/0.005756, allocations: 22.64 kB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.838e-05/0.005794, allocations: 48.45 kB / 299.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.005795, allocations: 0 / 299.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.286e-05/0.005857, allocations: 72.5 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.005872, allocations: 7.938 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-06/0.005874, allocations: 0 / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-06/0.00588, allocations: 7.938 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.604e-05/0.005926, allocations: 19.98 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-06/0.005928, allocations: 0 / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.229e-05/0.00595, allocations: 4.375 kB / 299.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.005954, allocations: 4.031 kB / 299.6 MB, free: 15.35 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 5.904e-05/0.006013, allocations: 119.3 kB / 299.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.006027, allocations: 15.92 kB / 299.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.087e-05/0.006108, allocations: 79.06 kB / 299.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.006112, allocations: 4 kB / 299.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.11e-07/0.006112, allocations: 0 / 299.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.006115, allocations: 4 kB / 299.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.006299, allocations: 283.5 kB / 300.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.006302, allocations: 7.938 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/0.006324, allocations: 16.02 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.006336, allocations: 11.91 kB / 300.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.006337, allocations: 0 / 300.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.006343, allocations: 8 kB / 300.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.006344, allocations: 0 / 300.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.006347, allocations: 3.938 kB / 300.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.719e-05/0.006444, allocations: 214.8 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.00646, allocations: 8 kB / 300.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.385e-05/0.006494, allocations: 0 / 300.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.006508, allocations: 7.984 kB / 300.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.006516, allocations: 11.94 kB / 300.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.011e-05/0.006557, allocations: 56.69 kB / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006557, allocations: 0 / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001383/0.006695, allocations: 27.94 kB / 300.5 MB, free: 14.43 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.001393/0.008088, allocations: 0.6217 MB / 301.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.169e-05/0.00816, allocations: 36.78 kB / 301.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.008167, allocations: 4 kB / 301.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.612e-05/0.008203, allocations: 40.98 kB / 301.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.008403, allocations: 184.4 kB / 301.4 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.008816, allocations: 236.1 kB / 301.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.16e-05/0.008857, allocations: 71.33 kB / 301.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.434e-05/0.008892, allocations: 12.97 kB / 301.7 MB, free: 13.47 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.008952, allocations: 63.38 kB / 301.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008953, allocations: 0 / 301.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of Templates: time 0.003437/0.01239, allocations: 2.055 MB / 303.8 MB, free: 11.38 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.037405456416309]