Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001725/0.001726, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.296/1.296, allocations: 222.9 MB / 242.6 MB, free: 13.73 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.2032/0.2032, allocations: 44.18 MB / 336.9 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.92 kB / 408.5 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1091, allocations: 60.84 MB / 469.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002947/0.1121, allocations: 1.665 MB / 471 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007105/0.1128, allocations: 423.2 kB / 471.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.1129, allocations: 0 / 471.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006047/0.1135, allocations: 451.2 kB / 471.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.1139, allocations: 243.6 kB / 472.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.1142, allocations: 119.1 kB / 472.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.1144, allocations: 163.6 kB / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1145, allocations: 16.17 kB / 472.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1146, allocations: 107.8 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.1148, allocations: 215.6 kB / 472.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.1149, allocations: 4 kB / 472.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.033e-05/0.115, allocations: 35.98 kB / 472.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.1151, allocations: 87.62 kB / 472.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.205e-05/0.1152, allocations: 91.06 kB / 473 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.1154, allocations: 195.7 kB / 473.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.1154, allocations: 0 / 473.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1154, allocations: 0 / 473.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1154, allocations: 0 / 473.2 MB, free: 10.92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006723/0.1161, allocations: 0.6261 MB / 473.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1161, allocations: 8.031 kB / 473.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.347e-05/0.1162, allocations: 48.36 kB / 473.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.1165, allocations: 288.2 kB / 474.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.1165, allocations: 384 / 474.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.1165, allocations: 4.375 kB / 474.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.1167, allocations: 65.55 kB / 474.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1167, allocations: 0 / 474.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1167, allocations: 0 / 474.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1167, allocations: 0 / 474.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.246e-05/0.1168, allocations: 23.98 kB / 474.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.1173, allocations: 380.7 kB / 474.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.1175, allocations: 50.5 kB / 474.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.059e-05/0.1176, allocations: 16.94 kB / 474.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.1176, allocations: 0 / 474.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.1176, allocations: 30.56 kB / 474.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.1177, allocations: 0 / 474.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005675/0.1182, allocations: 231.9 kB / 474.9 MB, free: 9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.1183, allocations: 51.41 kB / 475 MB, free: 8.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007649/0.119, allocations: 0.8613 MB / 475.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.1191, allocations: 25.7 kB / 475.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1192, allocations: 216.1 kB / 476 MB, free: 7.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.1193, allocations: 27.72 kB / 476.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.1193, allocations: 17.7 kB / 476.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1194, allocations: 362.8 kB / 476.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.535e-05/0.1195, allocations: 19.92 kB / 476.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.774e-05/0.1196, allocations: 19.98 kB / 476.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.1197, allocations: 52.95 kB / 476.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1197, allocations: 0 / 476.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001962/0.1199, allocations: 117.5 kB / 476.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.12, allocations: 4 kB / 476.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.12, allocations: 0 / 476.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.12, allocations: 0 / 476.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.191e-05/0.12, allocations: 15.98 kB / 476.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1201, allocations: 0 / 476.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.153e-05/0.1201, allocations: 7.922 kB / 476.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1201, allocations: 4 kB / 476.7 MB, free: 7.16 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 (5): * Single equations (assignments): 5 * 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.0001698/0.1203, allocations: 218.2 kB / 476.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.1204, allocations: 43.44 kB / 476.9 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.1206, allocations: 129.1 kB / 477.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1207, allocations: 0 / 477.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1207, allocations: 3.984 kB / 477.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1207, allocations: 3.938 kB / 477.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.1212, allocations: 458.4 kB / 477.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1212, allocations: 0 / 477.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.082e-05/0.1213, allocations: 8 kB / 477.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1213, allocations: 0 / 477.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.1213, allocations: 7.938 kB / 477.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1213, allocations: 0 / 477.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1213, allocations: 0 / 477.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.1215, allocations: 223.1 kB / 477.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.491e-05/0.1216, allocations: 104.6 kB / 477.9 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.1217, allocations: 3.938 kB / 477.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.087e-05/0.1217, allocations: 11.92 kB / 477.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.1218, allocations: 4 kB / 477.9 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1218, allocations: 0 / 477.9 MB, free: 5.855 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005673/0.1224, allocations: 0.6472 MB / 478.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1224, allocations: 0 / 478.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1226, allocations: 27.98 kB / 478.6 MB, free: 5.184 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0009184/0.1236, allocations: 398.1 kB / 478.9 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.1238, allocations: 55.95 kB / 479 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1238, allocations: 0 / 479 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.311e-05/0.1238, allocations: 27.92 kB / 479 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.1242, allocations: 25.95 kB / 479 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.1253, allocations: 0.8944 MB / 479.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.1257, allocations: 0.8143 MB / 480.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.1258, allocations: 15.44 kB / 480.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1258, allocations: 0 / 480.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of Templates: time 0.006232/0.132, allocations: 3.664 MB / 484.4 MB, free: 15.39 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches