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.001959/0.001959, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 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.002176/0.002176, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 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.483/1.483, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 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.231/0.231, allocations: 34.26 MB / 294.8 MB, free: 14.51 MB / 286.1 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.593e-06/1.593e-06, allocations: 0 / 442.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.53e-05, allocations: 4.672 kB / 442.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003145/0.00317, allocations: 1.829 MB / 444.5 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.00489, allocations: 0.9654 MB / 445.5 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.552e-05/0.004956, allocations: 7.938 kB / 445.5 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.005186, allocations: 59.67 kB / 445.5 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003565/0.005543, allocations: 131.2 kB / 445.7 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.00594, allocations: 167.4 kB / 445.8 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.006223, allocations: 203.4 kB / 446 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.911e-05/0.006322, allocations: 9.812 kB / 446 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.006496, allocations: 115.7 kB / 446.2 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.006654, allocations: 87.75 kB / 446.2 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.006697, allocations: 12 kB / 446.3 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.006798, allocations: 47.92 kB / 446.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.766e-05/0.006885, allocations: 35.84 kB / 446.3 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.397e-05/0.006959, allocations: 55.83 kB / 446.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.007265, allocations: 191.4 kB / 446.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.007267, allocations: 0 / 446.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.007268, allocations: 3.938 kB / 446.6 MB, free: 1.344 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.007278, allocations: 0 / 446.6 MB, free: 1.344 MB / 366.1 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.001209/0.008487, allocations: 0.5044 MB / 447.1 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.008519, allocations: 12.03 kB / 447.1 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.425e-05/0.008583, allocations: 20.8 kB / 447.1 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.008836, allocations: 169.5 kB / 447.3 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.008848, allocations: 4.375 kB / 447.3 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/0.008883, allocations: 4.375 kB / 447.3 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005495/0.009433, allocations: 142.1 kB / 447.4 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.009446, allocations: 192 / 447.4 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.009464, allocations: 8.359 kB / 447.4 MB, free: 424 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.009471, allocations: 3.938 kB / 447.4 MB, free: 420 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007961/0.01027, allocations: 163.8 kB / 447.6 MB, free: 256 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1946/0.2048, allocations: 282.2 kB / 447.9 MB, free: 19.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009283/0.2057, allocations: 186.4 kB / 448.1 MB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/0.2062, allocations: 88.05 kB / 448.1 MB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.2062, allocations: 6.969 kB / 448.2 MB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006705/0.2069, allocations: 168.1 kB / 448.3 MB, free: 19.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.665e-06/0.2069, allocations: 1.062 kB / 448.3 MB, free: 19.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.004153/0.211, allocations: 0.8208 MB / 449.1 MB, free: 19.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.211, allocations: 57.36 kB / 449.2 MB, free: 19.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.2113, allocations: 244.6 kB / 449.4 MB, free: 19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.2113, allocations: 31.52 kB / 449.5 MB, free: 18.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.2114, allocations: 128.7 kB / 449.6 MB, free: 18.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.2115, allocations: 37.56 kB / 449.6 MB, free: 18.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.771e-05/0.2115, allocations: 33.08 kB / 449.7 MB, free: 18.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.2116, allocations: 330.2 kB / 450 MB, free: 18.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008297/0.2124, allocations: 229.6 kB / 450.2 MB, free: 18.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008028/0.2132, allocations: 225.4 kB / 450.4 MB, free: 18.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/0.2148, allocations: 362.6 kB / 450.8 MB, free: 18.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2148, allocations: 5.188 kB / 450.8 MB, free: 18.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001721/0.2165, allocations: 0.5033 MB / 451.3 MB, free: 17.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.723e-05/0.2166, allocations: 64.5 kB / 451.4 MB, free: 17.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2166, allocations: 5.5 kB / 451.4 MB, free: 17.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.2166, allocations: 1 kB / 451.4 MB, free: 17.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.2171, allocations: 69.28 kB / 451.4 MB, free: 17.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.2171, allocations: 0 / 451.4 MB, free: 17.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004451/0.2175, allocations: 64.73 kB / 451.5 MB, free: 17.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.2175, allocations: 4.641 kB / 451.5 MB, free: 17.89 MB / 366.1 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.0001258/0.2177, allocations: 143.1 kB / 451.6 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.2177, allocations: 20.77 kB / 451.7 MB, free: 17.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.2194, allocations: 408.4 kB / 452.1 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.2194, allocations: 2.75 kB / 452.1 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.2194, allocations: 0.7031 kB / 452.1 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2194, allocations: 0.6562 kB / 452.1 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.2213, allocations: 0.6267 MB / 452.7 MB, free: 17.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2213, allocations: 0 / 452.7 MB, free: 17.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.2217, allocations: 68.3 kB / 452.7 MB, free: 17.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.2217, allocations: 5.25 kB / 452.8 MB, free: 17.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.2217, allocations: 6.578 kB / 452.8 MB, free: 17.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2217, allocations: 5.312 kB / 452.8 MB, free: 17.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2217, allocations: 0.5625 kB / 452.8 MB, free: 17.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.2235, allocations: 476.9 kB / 453.2 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.2235, allocations: 16.98 kB / 453.2 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.2235, allocations: 7.797 kB / 453.3 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004699/0.224, allocations: 67.14 kB / 453.3 MB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.2242, allocations: 46.19 kB / 453.4 MB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.2242, allocations: 4.5 kB / 453.4 MB, free: 17.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.2244, allocations: 184.6 kB / 453.6 MB, free: 16.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2244, allocations: 1.188 kB / 453.6 MB, free: 16.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003454/0.2247, allocations: 44.25 kB / 453.6 MB, free: 16.98 MB / 366.1 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.001698/0.2264, allocations: 437.2 kB / 454 MB, free: 16.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001761/0.2282, allocations: 0.5105 MB / 454.5 MB, free: 16.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2282, allocations: 1.375 kB / 454.5 MB, free: 16.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008294/0.229, allocations: 181.9 kB / 454.7 MB, free: 16.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.2294, allocations: 42.31 kB / 454.8 MB, free: 16.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.2305, allocations: 353.2 kB / 455.1 MB, free: 16.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.2306, allocations: 113.2 kB / 455.2 MB, free: 16.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.2307, allocations: 19.53 kB / 455.2 MB, free: 16.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.2308, allocations: 23.61 kB / 455.3 MB, free: 16.18 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2308, allocations: 0 / 455.3 MB, free: 16.18 MB / 366.1 MB Notification: Performance of Templates: time 0.009915/0.2407, allocations: 3.845 MB / 459.1 MB, free: 15.76 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] 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.179938361048698]