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.002264/0.002264, allocations: 87.67 kB / 20.96 MB, free: 3.441 MB / 18.57 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.001971/0.001971, allocations: 161.3 kB / 24.27 MB, free: 136 kB / 18.57 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.583/1.583, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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.3807/0.3807, allocations: 34.27 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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 2.144e-06/2.144e-06, allocations: 0 / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.238e-05/3.452e-05, allocations: 2.312 kB / 377.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.00579/0.005824, allocations: 1.86 MB / 379.2 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003157/0.008981, allocations: 0.9816 MB / 380.2 MB, free: 72 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.009091, allocations: 4 kB / 380.2 MB, free: 68 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003844/0.009475, allocations: 71.67 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006075/0.01008, allocations: 115.3 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007048/0.01079, allocations: 167.4 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005129/0.0113, allocations: 203.3 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.01145, allocations: 17.81 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000357/0.0118, allocations: 107.8 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.01211, allocations: 87.75 kB / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.238e-05/0.01217, allocations: 12 kB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.01237, allocations: 43.98 kB / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.01253, allocations: 43.77 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.01267, allocations: 43.91 kB / 381.1 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006404/0.01331, allocations: 199.3 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.01332, allocations: 0 / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.01332, allocations: 0 / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.01333, allocations: 4 kB / 381.2 MB, free: 14.97 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.002076/0.0154, allocations: 0.5806 MB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.01546, allocations: 12.03 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.01558, allocations: 20.83 kB / 381.9 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.01602, allocations: 184.2 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.01604, allocations: 4.375 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.01609, allocations: 8.375 kB / 382.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005805/0.01667, allocations: 118.2 kB / 382.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.01669, allocations: 3.938 kB / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.01671, allocations: 0 / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.01672, allocations: 4 kB / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007615/0.01748, allocations: 115.8 kB / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008905/0.01837, allocations: 351.6 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008732/0.01924, allocations: 158.9 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004135/0.01965, allocations: 71.73 kB / 382.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.254e-05/0.0197, allocations: 3.938 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006631/0.02036, allocations: 148.9 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.02036, allocations: 0 / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.003935/0.0243, allocations: 0.5633 MB / 383.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.231e-05/0.02438, allocations: 55.34 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005594/0.02494, allocations: 298.5 kB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-05/0.025, allocations: 33.7 kB / 384 MB, free: 12.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.02521, allocations: 174.8 kB / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.02532, allocations: 47.83 kB / 384.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.02548, allocations: 43.36 kB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004568/0.02594, allocations: 0.5079 MB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008396/0.02678, allocations: 179.3 kB / 384.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008104/0.02759, allocations: 170.8 kB / 385.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.02901, allocations: 269.3 kB / 385.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.02901, allocations: 0 / 385.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00186/0.03087, allocations: 420.1 kB / 385.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.876e-05/0.03097, allocations: 63.41 kB / 385.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.03098, allocations: 4 kB / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.031, allocations: 0 / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004855/0.03148, allocations: 47.95 kB / 385.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.03149, allocations: 0 / 385.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/0.03194, allocations: 39.95 kB / 385.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.03197, allocations: 4 kB / 385.9 MB, free: 10.04 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.0002603/0.03223, allocations: 176.5 kB / 386.1 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-05/0.03233, allocations: 27.89 kB / 386.1 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.03402, allocations: 302.9 kB / 386.4 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.03403, allocations: 0 / 386.4 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.03404, allocations: 4 kB / 386.4 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.03404, allocations: 0 / 386.4 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.03624, allocations: 0.5948 MB / 387 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.03624, allocations: 4 kB / 387 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/0.03664, allocations: 43.95 kB / 387 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.03665, allocations: 0 / 387 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.03668, allocations: 7.938 kB / 387 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.03668, allocations: 0 / 387 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.03668, allocations: 0 / 387 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.03847, allocations: 446.9 kB / 387.5 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.03852, allocations: 11.91 kB / 387.5 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.663e-05/0.03859, allocations: 11.98 kB / 387.5 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/0.03905, allocations: 31.97 kB / 387.5 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/0.03933, allocations: 51.92 kB / 387.6 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.131e-05/0.03938, allocations: 15.92 kB / 387.6 MB, free: 8.258 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003443/0.03973, allocations: 204.5 kB / 387.8 MB, free: 8.059 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.03973, allocations: 0 / 387.8 MB, free: 8.059 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005641/0.04029, allocations: 51.88 kB / 387.8 MB, free: 8.008 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.00448/0.04477, allocations: 436.7 kB / 388.3 MB, free: 7.754 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001917/0.04669, allocations: 432.2 kB / 388.7 MB, free: 7.293 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.04669, allocations: 0 / 388.7 MB, free: 7.293 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.04778, allocations: 143.6 kB / 388.8 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007267/0.0485, allocations: 52.38 kB / 388.9 MB, free: 7.098 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.04995, allocations: 322.8 kB / 389.2 MB, free: 6.754 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.05018, allocations: 127.2 kB / 389.3 MB, free: 6.602 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002034/0.05039, allocations: 21.47 kB / 389.3 MB, free: 6.582 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.05055, allocations: 24.5 kB / 389.4 MB, free: 6.559 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.05055, allocations: 0 / 389.4 MB, free: 6.559 MB / 362.7 MB Notification: Performance of Templates: time 0.01503/0.06559, allocations: 3.849 MB / 393.2 MB, free: 2.754 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 240] 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.124029841041192]