Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 106.1 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001363, allocations: 195.3 kB / 19.23 MB, free: 3.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 242.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2045/0.2045, allocations: 44.18 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 66.2 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1069, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003583/0.1105, allocations: 1.622 MB / 471.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.1118, allocations: 463 kB / 472 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.025e-05/0.1118, allocations: 0 / 472 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008431/0.1127, allocations: 455.1 kB / 472.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005046/0.1132, allocations: 255.4 kB / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006662/0.1139, allocations: 169.6 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003129/0.1143, allocations: 171.6 kB / 473 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.1144, allocations: 23.98 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.1146, allocations: 111.8 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.115, allocations: 207.6 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.115, allocations: 4 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.1152, allocations: 55.92 kB / 473.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.1153, allocations: 87.62 kB / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.1155, allocations: 103 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.1159, allocations: 267.2 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1159, allocations: 0 / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1159, allocations: 0 / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.1159, allocations: 0 / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009387/0.1169, allocations: 0.6337 MB / 474.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1169, allocations: 8.031 kB / 474.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.979e-05/0.117, allocations: 48.38 kB / 474.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.1174, allocations: 308 kB / 474.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1175, allocations: 384 / 474.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.1175, allocations: 8.375 kB / 474.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.1177, allocations: 65.78 kB / 474.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.1178, allocations: 0 / 474.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.1178, allocations: 0 / 474.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1178, allocations: 0 / 474.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.118, allocations: 39.91 kB / 475 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007241/0.1187, allocations: 404.6 kB / 475.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.1189, allocations: 46.59 kB / 475.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.994e-05/0.119, allocations: 16.94 kB / 475.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.119, allocations: 4 kB / 475.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.1191, allocations: 38.56 kB / 475.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.647e-06/0.1191, allocations: 0 / 475.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001425/0.1205, allocations: 311.8 kB / 475.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.1206, allocations: 55.34 kB / 475.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.122, allocations: 0.8652 MB / 476.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.122, allocations: 25.7 kB / 476.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.1223, allocations: 220 kB / 476.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.391e-05/0.1224, allocations: 27.64 kB / 477 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.932e-05/0.1225, allocations: 21.7 kB / 477 MB, free: 7.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.1227, allocations: 362.8 kB / 477.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.1228, allocations: 31.97 kB / 477.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.123, allocations: 35.92 kB / 477.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.1233, allocations: 81.05 kB / 477.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1233, allocations: 0 / 477.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004416/0.1238, allocations: 145.1 kB / 477.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.1238, allocations: 8 kB / 477.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1238, allocations: 0 / 477.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1239, allocations: 0 / 477.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.1241, allocations: 19.98 kB / 477.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.1241, allocations: 7.875 kB / 477.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.1242, allocations: 7.984 kB / 477.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.1242, allocations: 4 kB / 477.7 MB, free: 6.387 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0003097/0.1245, allocations: 209.8 kB / 477.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.1247, allocations: 43.44 kB / 477.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005487/0.1252, allocations: 177.4 kB / 478.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1252, allocations: 0 / 478.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.1253, allocations: 3.938 kB / 478.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1253, allocations: 3.984 kB / 478.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.1263, allocations: 0.5071 MB / 478.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.1264, allocations: 11.97 kB / 478.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.1265, allocations: 15.94 kB / 478.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1265, allocations: 0 / 478.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.1265, allocations: 4 kB / 478.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.1266, allocations: 3.984 kB / 478.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.1266, allocations: 0 / 478.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.1271, allocations: 248.2 kB / 478.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.1272, allocations: 112.5 kB / 479 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.1272, allocations: 11.94 kB / 479 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.1274, allocations: 3.984 kB / 479 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.1275, allocations: 11.92 kB / 479 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.1275, allocations: 4 kB / 479 MB, free: 4.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001032/0.1286, allocations: 0.6511 MB / 479.7 MB, free: 4.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1286, allocations: 0 / 479.7 MB, free: 4.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005134/0.1291, allocations: 32 kB / 479.7 MB, free: 4.234 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001737/0.1309, allocations: 457.9 kB / 480.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003956/0.1313, allocations: 87.88 kB / 480.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1313, allocations: 0 / 480.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.1315, allocations: 39.97 kB / 480.3 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006418/0.1321, allocations: 33.83 kB / 480.3 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.134, allocations: 0.8607 MB / 481.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000643/0.1347, allocations: 0.8337 MB / 482 MB, free: 2.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/0.1347, allocations: 19.38 kB / 482 MB, free: 2.027 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1347, allocations: 0 / 482 MB, free: 2.027 MB / 350.1 MB Notification: Performance of Templates: time 0.012/0.1468, allocations: 3.983 MB / 486 MB, free: 14.05 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches