Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001239/0.001239, allocations: 194 kB / 18.77 MB, free: 4.742 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.344/1.344, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.2069/0.2069, allocations: 44.18 MB / 336.8 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 66.2 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1157, allocations: 60.82 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003556/0.1193, allocations: 1.665 MB / 470.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008511/0.1202, allocations: 423.2 kB / 471.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.097e-05/0.1203, allocations: 0 / 471.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005531/0.1209, allocations: 451.2 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.1212, allocations: 243.5 kB / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.1216, allocations: 119.5 kB / 472.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.1219, allocations: 147.7 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.122, allocations: 28.16 kB / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.1221, allocations: 99.73 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.1224, allocations: 199.6 kB / 472.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.1224, allocations: 0 / 472.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.1226, allocations: 39.97 kB / 472.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.1227, allocations: 79.62 kB / 472.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.156e-05/0.1228, allocations: 95.06 kB / 472.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.123, allocations: 191.7 kB / 472.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.123, allocations: 0 / 472.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.123, allocations: 0 / 472.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1231, allocations: 0 / 472.9 MB, free: 11.07 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.0007191/0.1238, allocations: 0.6223 MB / 473.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1238, allocations: 12.03 kB / 473.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.128e-05/0.1239, allocations: 44.38 kB / 473.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.1242, allocations: 292.2 kB / 473.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1242, allocations: 4.375 kB / 473.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1242, allocations: 8.375 kB / 473.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.1244, allocations: 53.61 kB / 473.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1244, allocations: 4 kB / 474 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1244, allocations: 0 / 474 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1245, allocations: 0 / 474 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1246, allocations: 27.98 kB / 474 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005076/0.1251, allocations: 384.6 kB / 474.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.1253, allocations: 46.56 kB / 474.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.411e-05/0.1254, allocations: 16.94 kB / 474.4 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.1254, allocations: 0 / 474.4 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.1254, allocations: 34.56 kB / 474.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1254, allocations: 0 / 474.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006041/0.126, allocations: 223.9 kB / 474.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.1261, allocations: 55.41 kB / 474.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007954/0.1269, allocations: 0.8573 MB / 475.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.1269, allocations: 25.7 kB / 475.6 MB, free: 8.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.1271, allocations: 220.1 kB / 475.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.1271, allocations: 15.72 kB / 475.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.1272, allocations: 25.7 kB / 475.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1273, allocations: 362.7 kB / 476.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.1274, allocations: 19.98 kB / 476.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.233e-05/0.1274, allocations: 19.98 kB / 476.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.1276, allocations: 48.77 kB / 476.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1276, allocations: 0 / 476.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002152/0.1278, allocations: 113.2 kB / 476.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1278, allocations: 8 kB / 476.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1278, allocations: 0 / 476.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1279, allocations: 288 / 476.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.458e-05/0.1279, allocations: 15.92 kB / 476.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1279, allocations: 0 / 476.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.553e-05/0.128, allocations: 7.938 kB / 476.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.128, allocations: 4.25 kB / 476.4 MB, free: 7.312 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.0001841/0.1282, allocations: 218.3 kB / 476.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.1283, allocations: 43.42 kB / 476.7 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.1286, allocations: 133 kB / 476.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1286, allocations: 4 kB / 476.8 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1286, allocations: 0 / 476.8 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.1286, allocations: 7.922 kB / 476.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005109/0.1291, allocations: 454.4 kB / 477.3 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1291, allocations: 0 / 477.3 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.73e-05/0.1292, allocations: 11.98 kB / 477.3 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1292, allocations: 0 / 477.3 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1292, allocations: 7.938 kB / 477.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1292, allocations: 4 kB / 477.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1292, allocations: 0 / 477.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.1295, allocations: 214.9 kB / 477.5 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.475e-05/0.1296, allocations: 108.6 kB / 477.6 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.1296, allocations: 3.938 kB / 477.6 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-05/0.1297, allocations: 7.984 kB / 477.6 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.1297, allocations: 0 / 477.6 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.1298, allocations: 4 kB / 477.6 MB, free: 6.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006036/0.1304, allocations: 0.6433 MB / 478.3 MB, free: 5.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1304, allocations: 0 / 478.3 MB, free: 5.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000283/0.1307, allocations: 31.98 kB / 478.3 MB, free: 5.332 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.0009394/0.1316, allocations: 406.5 kB / 478.7 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.1318, allocations: 51.89 kB / 478.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1318, allocations: 0 / 478.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.511e-05/0.1319, allocations: 23.98 kB / 478.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.1323, allocations: 25.62 kB / 478.8 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.1335, allocations: 0.8922 MB / 479.7 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.1338, allocations: 0.8185 MB / 480.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.1339, allocations: 11.44 kB / 480.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1339, allocations: 0 / 480.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of Templates: time 0.007281/0.1412, allocations: 3.649 MB / 484.2 MB, free: 15.55 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches