Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.001231/0.001231, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001305/0.001305, allocations: 161.9 kB / 24.91 MB, free: 8.719 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.9867/0.9867, allocations: 177 MB / 205.2 MB, free: 5.016 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.2612/0.2612, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 326 MB, free: 7.062 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.978e-05, allocations: 2.312 kB / 326 MB, free: 7.059 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002167/0.002187, allocations: 1.766 MB / 327.8 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.003523, allocations: 1.009 MB / 328.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.003602, allocations: 0 / 328.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.003931, allocations: 59.69 kB / 328.8 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.004175, allocations: 99.47 kB / 328.9 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.004319, allocations: 79.61 kB / 329 MB, free: 4.035 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.004461, allocations: 107.7 kB / 329.1 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.018e-05/0.004531, allocations: 7.984 kB / 329.1 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.151e-05/0.004613, allocations: 59.77 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.4e-05/0.004677, allocations: 31.91 kB / 329.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.00469, allocations: 4 kB / 329.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.032e-05/0.00476, allocations: 43.92 kB / 329.3 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.331e-05/0.004814, allocations: 31.86 kB / 329.3 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.004846, allocations: 23.91 kB / 329.3 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.004997, allocations: 111.6 kB / 329.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.004999, allocations: 0 / 329.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005, allocations: 3.938 kB / 329.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.005005, allocations: 0 / 329.4 MB, free: 3.617 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.0003606/0.005365, allocations: 345.3 kB / 329.8 MB, free: 3.258 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.005394, allocations: 12.03 kB / 329.8 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.005424, allocations: 12.92 kB / 329.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.00557, allocations: 158.4 kB / 329.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.005586, allocations: 4.375 kB / 329.9 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.005605, allocations: 4.359 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.005706, allocations: 65.77 kB / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.005717, allocations: 12.11 kB / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.005724, allocations: 384 / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.00573, allocations: 7.875 kB / 330 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.919e-05/0.005759, allocations: 7.984 kB / 330 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/0.00595, allocations: 166 kB / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.256e-05/0.006043, allocations: 93.33 kB / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.82e-05/0.006061, allocations: 12.86 kB / 330.3 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.00607, allocations: 0 / 330.3 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.696e-05/0.006147, allocations: 62.16 kB / 330.4 MB, free: 2.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.006148, allocations: 0 / 330.4 MB, free: 2.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002904/0.006439, allocations: 117.5 kB / 330.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.006476, allocations: 59.39 kB / 330.5 MB, free: 2.379 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.006613, allocations: 216 kB / 330.8 MB, free: 2.152 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.006629, allocations: 29.7 kB / 330.8 MB, free: 2.117 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.006665, allocations: 100.1 kB / 330.9 MB, free: 2.016 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.006691, allocations: 23.78 kB / 330.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.00672, allocations: 21.7 kB / 330.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.473e-05/0.006805, allocations: 326.8 kB / 331.2 MB, free: 1.637 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.006822, allocations: 14.83 kB / 331.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.536e-05/0.006848, allocations: 25.69 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.548e-05/0.006893, allocations: 44.47 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.006894, allocations: 0 / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.814e-05/0.006973, allocations: 80.41 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.006986, allocations: 11.94 kB / 331.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.006991, allocations: 0 / 331.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.007005, allocations: 0 / 331.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.825e-05/0.007063, allocations: 12 kB / 331.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.007065, allocations: 0 / 331.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.146e-05/0.007097, allocations: 11.98 kB / 331.4 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.007102, allocations: 0 / 331.4 MB, free: 1.418 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.602e-05/0.007168, allocations: 112.7 kB / 331.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.007184, allocations: 23.95 kB / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.007285, allocations: 79.45 kB / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.007288, allocations: 0 / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.007289, allocations: 0 / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.007295, allocations: 3.984 kB / 331.7 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.007532, allocations: 299.5 kB / 331.9 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.007536, allocations: 7.938 kB / 332 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.007562, allocations: 8 kB / 332 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.007565, allocations: 3.984 kB / 332 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.007572, allocations: 4 kB / 332 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.007575, allocations: 12.05 kB / 332 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.007577, allocations: 3.984 kB / 332 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.007687, allocations: 203.9 kB / 332.2 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.38e-05/0.0077, allocations: 15.84 kB / 332.2 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.007717, allocations: 7.984 kB / 332.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.039e-05/0.007758, allocations: 4 kB / 332.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.007786, allocations: 15.91 kB / 332.2 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.007798, allocations: 4 kB / 332.2 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.503e-05/0.007854, allocations: 72.8 kB / 332.3 MB, free: 492 kB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007854, allocations: 0 / 332.3 MB, free: 492 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001437/0.007997, allocations: 31.92 kB / 332.3 MB, free: 460 kB / 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.001369/0.009366, allocations: 0.558 MB / 332.9 MB, free: 180 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.728e-05/0.009453, allocations: 44.77 kB / 332.9 MB, free: 132 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.009456, allocations: 0 / 332.9 MB, free: 132 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.226e-05/0.009489, allocations: 32.78 kB / 333 MB, free: 96 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.009662, allocations: 35.86 kB / 333 MB, free: 60 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.009989, allocations: 248.6 kB / 333.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.656e-05/0.01004, allocations: 71.33 kB / 333.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.599e-05/0.01007, allocations: 25.27 kB / 333.3 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.455e-05/0.01014, allocations: 75.48 kB / 333.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01014, allocations: 0 / 333.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of Templates: time 0.003461/0.0136, allocations: 2.037 MB / 335.5 MB, free: 13.6 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.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: 3.0259019802324474]