Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 85.36 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002154/0.002154, allocations: 164.7 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.716/1.716, allocations: 177.1 MB / 204.3 MB, free: 9.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2154/0.2154, allocations: 34.27 MB / 295 MB, free: 14.6 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 442.7 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.056e-05, allocations: 6.281 kB / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003127/0.003158, allocations: 1.836 MB / 444.5 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.004883, allocations: 0.9583 MB / 445.5 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.359e-05/0.004947, allocations: 4 kB / 445.5 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.005175, allocations: 67.61 kB / 445.6 MB, free: 2.535 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.005514, allocations: 123.3 kB / 445.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.005904, allocations: 166.8 kB / 445.8 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.006192, allocations: 207.3 kB / 446 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.061e-05/0.006283, allocations: 13.81 kB / 446.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.00646, allocations: 107.8 kB / 446.2 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.006613, allocations: 91.75 kB / 446.2 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.006646, allocations: 12 kB / 446.3 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.006746, allocations: 47.92 kB / 446.3 MB, free: 1.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.667e-05/0.006843, allocations: 39.83 kB / 446.3 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.633e-05/0.006919, allocations: 51.83 kB / 446.4 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.007205, allocations: 199.3 kB / 446.6 MB, free: 1.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.007207, allocations: 0 / 446.6 MB, free: 1.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.007207, allocations: 0 / 446.6 MB, free: 1.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.007211, allocations: 4 kB / 446.6 MB, free: 1.496 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.001117/0.008329, allocations: 0.4967 MB / 447.1 MB, free: 0.957 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.00836, allocations: 11.97 kB / 447.1 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/0.008423, allocations: 20.8 kB / 447.1 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.008663, allocations: 169.5 kB / 447.3 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.008676, allocations: 8.312 kB / 447.3 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.008711, allocations: 8.375 kB / 447.3 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005459/0.009257, allocations: 142.1 kB / 447.4 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.00927, allocations: 3.938 kB / 447.4 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.009289, allocations: 7.984 kB / 447.5 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.009293, allocations: 0 / 447.5 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007751/0.01007, allocations: 163.8 kB / 447.6 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.01052, allocations: 284.4 kB / 447.9 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1806/0.1911, allocations: 190.8 kB / 448.1 MB, free: 19.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004555/0.1915, allocations: 90.72 kB / 448.2 MB, free: 19.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/0.1916, allocations: 4.062 kB / 448.2 MB, free: 19.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005828/0.1922, allocations: 160.6 kB / 448.3 MB, free: 19.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.504e-06/0.1922, allocations: 1.406 kB / 448.3 MB, free: 19.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.004229/0.1964, allocations: 0.8201 MB / 449.2 MB, free: 19.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.1964, allocations: 58.67 kB / 449.2 MB, free: 19.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.1967, allocations: 240.7 kB / 449.4 MB, free: 19.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.1967, allocations: 32.27 kB / 449.5 MB, free: 19.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.1968, allocations: 127.9 kB / 449.6 MB, free: 19.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.1968, allocations: 37.12 kB / 449.6 MB, free: 19.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.035e-05/0.1969, allocations: 33.73 kB / 449.7 MB, free: 19.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.523e-05/0.197, allocations: 334.2 kB / 450 MB, free: 18.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008279/0.1978, allocations: 226.2 kB / 450.2 MB, free: 18.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008049/0.1986, allocations: 230.7 kB / 450.4 MB, free: 18.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.2001, allocations: 365.4 kB / 450.8 MB, free: 18.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2001, allocations: 0.625 kB / 450.8 MB, free: 18.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001718/0.2018, allocations: 0.5015 MB / 451.3 MB, free: 18.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.2019, allocations: 60.53 kB / 451.4 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2019, allocations: 1.438 kB / 451.4 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.2019, allocations: 0.75 kB / 451.4 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/0.2024, allocations: 76.64 kB / 451.4 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.2024, allocations: 2.203 kB / 451.4 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000455/0.2028, allocations: 65.92 kB / 451.5 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.2029, allocations: 7.828 kB / 451.5 MB, free: 18.16 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.0001146/0.203, allocations: 141.5 kB / 451.6 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.203, allocations: 21.67 kB / 451.7 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.2047, allocations: 405 kB / 452.1 MB, free: 17.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.2047, allocations: 2.031 kB / 452.1 MB, free: 17.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.2047, allocations: 3.484 kB / 452.1 MB, free: 17.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2047, allocations: 0.8438 kB / 452.1 MB, free: 17.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/0.2066, allocations: 0.6185 MB / 452.7 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2066, allocations: 1.375 kB / 452.7 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004218/0.207, allocations: 71.73 kB / 452.8 MB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.207, allocations: 4.703 kB / 452.8 MB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.207, allocations: 5.297 kB / 452.8 MB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.207, allocations: 2.672 kB / 452.8 MB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.207, allocations: 3.938 kB / 452.8 MB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.2087, allocations: 479.8 kB / 453.2 MB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.571e-05/0.2087, allocations: 13.89 kB / 453.3 MB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.2088, allocations: 5.828 kB / 453.3 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004686/0.2093, allocations: 63.72 kB / 453.3 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.2094, allocations: 49.69 kB / 453.4 MB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.2095, allocations: 8.734 kB / 453.4 MB, free: 17.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001629/0.2096, allocations: 181.2 kB / 453.6 MB, free: 17.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2096, allocations: 1.5 kB / 453.6 MB, free: 17.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003332/0.2099, allocations: 44.58 kB / 453.6 MB, free: 17.25 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.001694/0.2116, allocations: 446.3 kB / 454 MB, free: 17.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.2134, allocations: 0.5146 MB / 454.6 MB, free: 16.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2134, allocations: 0 / 454.6 MB, free: 16.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008273/0.2142, allocations: 179.1 kB / 454.7 MB, free: 16.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.2146, allocations: 30.72 kB / 454.8 MB, free: 16.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009724/0.2156, allocations: 352.4 kB / 455.1 MB, free: 16.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.2157, allocations: 113.7 kB / 455.2 MB, free: 16.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.2158, allocations: 21.95 kB / 455.2 MB, free: 16.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.2159, allocations: 23.64 kB / 455.3 MB, free: 16.5 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2159, allocations: 0 / 455.3 MB, free: 16.5 MB / 366.1 MB Notification: Performance of Templates: time 0.008676/0.2246, allocations: 3.85 MB / 459.1 MB, free: 16.06 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.259896423667669]