Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.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.002442/0.002442, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002906/0.002906, allocations: 160.8 kB / 24.27 MB, free: 156 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 1.588/1.588, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3433/0.3433, allocations: 34.25 MB / 295.2 MB, free: 0.6367 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.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.838e-05, allocations: 2.312 kB / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003567/0.003595, allocations: 1.85 MB / 379.1 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.005571, allocations: 0.9889 MB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.474e-05/0.005656, allocations: 4 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.005928, allocations: 59.81 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000406/0.006334, allocations: 135.3 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005142/0.006848, allocations: 155.4 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004104/0.007258, allocations: 203.4 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.007389, allocations: 17.8 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.007628, allocations: 107.7 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.007832, allocations: 95.75 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.007872, allocations: 12 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.008027, allocations: 43.97 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.008166, allocations: 39.84 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.817e-05/0.008264, allocations: 43.89 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.008675, allocations: 195.4 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.00868, allocations: 3.938 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.008682, allocations: 0 / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.008688, allocations: 0 / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001246/0.009934, allocations: 0.5845 MB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.009979, allocations: 12.03 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.597e-05/0.01008, allocations: 20.84 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.01038, allocations: 176.2 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.0104, allocations: 12.36 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.01043, allocations: 8.375 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.01081, allocations: 118.1 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.01082, allocations: 4.188 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.01084, allocations: 4.375 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.01085, allocations: 7.938 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004763/0.01133, allocations: 115.8 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006052/0.01193, allocations: 351.6 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005991/0.01253, allocations: 158.9 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.01278, allocations: 67.64 kB / 382.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-05/0.01282, allocations: 4.047 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004459/0.01327, allocations: 152.9 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.844e-06/0.01327, allocations: 0 / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.002642/0.01591, allocations: 0.5635 MB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.01597, allocations: 59.41 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.0163, allocations: 290.9 kB / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/0.01634, allocations: 37.69 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.01649, allocations: 174.8 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/0.01655, allocations: 39.69 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.01665, allocations: 47.36 kB / 384.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002887/0.01694, allocations: 0.504 MB / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005104/0.01745, allocations: 179.3 kB / 384.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/0.01792, allocations: 171.3 kB / 385 MB, free: 10.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008199/0.01874, allocations: 273.6 kB / 385.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.01874, allocations: 0 / 385.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001195/0.01994, allocations: 416.2 kB / 385.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.189e-05/0.02001, allocations: 63.39 kB / 385.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.02001, allocations: 0 / 385.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.02003, allocations: 4 kB / 385.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.02033, allocations: 47.95 kB / 385.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.02034, allocations: 0 / 385.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.0206, allocations: 39.95 kB / 385.8 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.02063, allocations: 7.938 kB / 385.8 MB, free: 9.973 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001709/0.0208, allocations: 172.5 kB / 386 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.02086, allocations: 23.91 kB / 386 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.02193, allocations: 302.9 kB / 386.3 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.02193, allocations: 0 / 386.3 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.02194, allocations: 0 / 386.3 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.02194, allocations: 0 / 386.3 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.02332, allocations: 0.5988 MB / 386.9 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.02332, allocations: 0 / 386.9 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.02356, allocations: 39.97 kB / 386.9 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.02357, allocations: 0 / 386.9 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.02359, allocations: 3.984 kB / 386.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.02359, allocations: 7.938 kB / 387 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.0236, allocations: 0 / 387 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.02466, allocations: 451.4 kB / 387.4 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.02469, allocations: 11.91 kB / 387.4 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.02473, allocations: 4 kB / 387.4 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/0.02502, allocations: 43.95 kB / 387.5 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.02518, allocations: 51.92 kB / 387.5 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.02521, allocations: 4 kB / 387.5 MB, free: 8.207 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002064/0.02541, allocations: 208.5 kB / 387.7 MB, free: 8.004 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02541, allocations: 0 / 387.7 MB, free: 8.004 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003085/0.02572, allocations: 47.89 kB / 387.8 MB, free: 7.957 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002934/0.02866, allocations: 439.5 kB / 388.2 MB, free: 7.672 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.02988, allocations: 437.5 kB / 388.6 MB, free: 7.207 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.02988, allocations: 0 / 388.6 MB, free: 7.207 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005074/0.03039, allocations: 143.5 kB / 388.8 MB, free: 7.062 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.03082, allocations: 58.97 kB / 388.8 MB, free: 7.004 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009369/0.03176, allocations: 326.8 kB / 389.1 MB, free: 6.656 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.0319, allocations: 123.2 kB / 389.2 MB, free: 6.512 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000108/0.03201, allocations: 13.48 kB / 389.3 MB, free: 6.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.849e-05/0.03211, allocations: 24.5 kB / 389.3 MB, free: 6.477 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.03211, allocations: 0 / 389.3 MB, free: 6.477 MB / 362.7 MB Notification: Performance of Templates: time 0.009577/0.04169, allocations: 3.862 MB / 393.1 MB, free: 2.648 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y,d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.u,d_t_new.y,t_new.extrapolation,t_new.isCsvExt,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y,time,trapezoid1.T_falling,trapezoid1.T_rising,trapezoid1.T_width,trapezoid1.amplitude,trapezoid1.falling,trapezoid1.nperiod,trapezoid1.offset,trapezoid1.period,trapezoid1.rising,trapezoid1.startTime,trapezoid1.width,trapezoid1.y,trapezoid2.T_falling,trapezoid2.T_rising,trapezoid2.T_width,trapezoid2.amplitude,trapezoid2.falling,trapezoid2.nperiod,trapezoid2.offset,trapezoid2.period,trapezoid2.rising,trapezoid2.startTime,trapezoid2.width,trapezoid2.y [Calling sys.exit(0), Time elapsed: 5.205703836050816]