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.0009521/0.0009521, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001314/0.002266, 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.0008892/0.0008892, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00125/0.002139, 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 0.9467/0.9467, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09942/1.046, allocations: 53.87 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.2809/0.2809, allocations: 34.88 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02626/0.3071, allocations: 13.24 MB / 292.8 MB, free: 6.355 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.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.082e-06/1.082e-06, allocations: 0 / 294.1 MB, free: 5.031 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.523e-05, allocations: 2.312 kB / 294.1 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.004182/0.004208, allocations: 1.932 MB / 296.1 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.006046, allocations: 1.018 MB / 297.1 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.316e-05/0.006129, allocations: 3.938 kB / 297.1 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.006348, allocations: 59.67 kB / 297.1 MB, free: 1.996 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.006649, allocations: 127.3 kB / 297.3 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.006987, allocations: 159.4 kB / 297.4 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.007206, allocations: 203.3 kB / 297.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.148e-05/0.007287, allocations: 18.39 kB / 297.6 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.007454, allocations: 136.4 kB / 297.8 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.007606, allocations: 91.75 kB / 297.9 MB, free: 1.277 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.007635, allocations: 12 kB / 297.9 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.42e-05/0.007719, allocations: 47.86 kB / 297.9 MB, free: 1.219 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.007786, allocations: 27.94 kB / 298 MB, free: 1.191 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.007826, allocations: 35.88 kB / 298 MB, free: 1.156 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.008012, allocations: 143.5 kB / 298.1 MB, free: 1.016 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.148e-05/0.008023, allocations: 0 / 298.1 MB, free: 1.016 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.008025, allocations: 0 / 298.1 MB, free: 1.016 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.008033, allocations: 0 / 298.1 MB, free: 1.016 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000616/0.008649, allocations: 496 kB / 298.6 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.008681, allocations: 8.922 kB / 298.6 MB, free: 500 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.008727, allocations: 20.92 kB / 298.6 MB, free: 480 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.008883, allocations: 160 kB / 298.8 MB, free: 296 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.008895, allocations: 8.375 kB / 298.8 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.008918, allocations: 4.375 kB / 298.8 MB, free: 284 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.00915, allocations: 114.8 kB / 298.9 MB, free: 160 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.009165, allocations: 4.188 kB / 298.9 MB, free: 156 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.009177, allocations: 384 / 298.9 MB, free: 156 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.009186, allocations: 7.938 kB / 298.9 MB, free: 148 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.829e-05/0.009245, allocations: 21.36 kB / 299 MB, free: 128 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.00955, allocations: 176.2 kB / 299.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.009675, allocations: 54.55 kB / 299.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.009707, allocations: 12.86 kB / 299.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.009737, allocations: 3.984 kB / 299.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.009901, allocations: 99.34 kB / 299.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.009903, allocations: 4 kB / 299.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006174/0.01052, allocations: 250.4 kB / 299.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.01056, allocations: 63.34 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.01071, allocations: 208.2 kB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.01073, allocations: 29.7 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.01077, allocations: 100.6 kB / 299.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.01082, allocations: 47.67 kB / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.95e-05/0.01088, allocations: 29.69 kB / 300 MB, free: 14.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.01098, allocations: 334.8 kB / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.349e-05/0.01105, allocations: 75.39 kB / 300.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.178e-05/0.01112, allocations: 78.2 kB / 300.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.01122, allocations: 101.1 kB / 300.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01122, allocations: 3.938 kB / 300.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001982/0.01142, allocations: 220.8 kB / 300.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.917e-05/0.01148, allocations: 68.64 kB / 300.9 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01148, allocations: 0 / 300.9 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.0115, allocations: 0 / 300.9 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.01168, allocations: 51.95 kB / 300.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.01168, allocations: 0 / 300.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.0118, allocations: 43.95 kB / 301 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.01181, allocations: 0 / 301 MB, free: 13.94 MB / 298.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 9.676e-05/0.01191, allocations: 128.6 kB / 301.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.01193, allocations: 23.86 kB / 301.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.01211, allocations: 115.1 kB / 301.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.01212, allocations: 0 / 301.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.01212, allocations: 0 / 301.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01212, allocations: 0 / 301.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.01247, allocations: 282.6 kB / 301.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01247, allocations: 0 / 301.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.0126, allocations: 43.95 kB / 301.5 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.01262, allocations: 15.91 kB / 301.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.01262, allocations: 0 / 301.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.01263, allocations: 3.984 kB / 301.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.01264, allocations: 8 kB / 301.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01264, allocations: 4 kB / 301.6 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.0128, allocations: 182 kB / 301.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.01283, allocations: 7.922 kB / 301.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.01295, allocations: 39.95 kB / 301.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.01305, allocations: 43.92 kB / 301.8 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.01305, allocations: 0 / 301.8 MB, free: 13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6e-05/0.01311, allocations: 73.77 kB / 301.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01311, allocations: 0 / 301.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001801/0.01329, allocations: 44 kB / 302 MB, free: 12.88 MB / 298.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.001227/0.01452, allocations: 0.5482 MB / 302.5 MB, free: 12.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003302/0.01485, allocations: 239 kB / 302.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.01486, allocations: 0 / 302.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.27e-05/0.01496, allocations: 60.2 kB / 302.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.01528, allocations: 329.7 kB / 303.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007128/0.016, allocations: 322.4 kB / 303.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.624e-05/0.01604, allocations: 75.83 kB / 303.5 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.161e-05/0.01613, allocations: 21.47 kB / 303.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.01627, allocations: 87.34 kB / 303.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of SimCode: time 1.303e-06/0.01627, allocations: 0 / 303.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of Templates: time 0.005945/0.02221, allocations: 3.852 MB / 307.5 MB, free: 7.555 MB / 298.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 -ignoreHideResult -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","",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: 2.913217163644731]