Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008068/0.0008069, allocations: 98.05 kB / 18.01 MB, free: 5.602 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.0008722/0.0008724, allocations: 185 kB / 18.91 MB, free: 4.734 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.369/1.369, allocations: 223.3 MB / 243 MB, free: 180 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2012/0.2012, allocations: 44.25 MB / 338.3 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003394, allocations: 15.92 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1222, allocations: 61.92 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.002466/0.1247, allocations: 1.333 MB / 474.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.1264, allocations: 1.027 MB / 475.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.829e-05/0.1265, allocations: 0 / 475.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.1268, allocations: 27.91 kB / 475.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.127, allocations: 35.84 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.1275, allocations: 158.5 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.1277, allocations: 55.84 kB / 475.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1278, allocations: 19.98 kB / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.321e-05/0.1279, allocations: 23.86 kB / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.128, allocations: 27.84 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.1281, allocations: 4 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.1282, allocations: 51.97 kB / 475.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.228e-05/0.1283, allocations: 19.86 kB / 475.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.09e-05/0.1283, allocations: 45.58 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.1285, allocations: 76.09 kB / 475.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1285, allocations: 0 / 475.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1285, allocations: 0 / 475.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.217e-06/0.1286, allocations: 0 / 475.8 MB, free: 10.41 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.0005084/0.1291, allocations: 389.6 kB / 476.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1291, allocations: 12.03 kB / 476.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.1292, allocations: 8.844 kB / 476.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.1294, allocations: 188.3 kB / 476.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.1294, allocations: 384 / 476.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.1294, allocations: 384 / 476.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.1297, allocations: 83.5 kB / 476.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1297, allocations: 4 kB / 476.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.1297, allocations: 11.94 kB / 476.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1297, allocations: 0 / 476.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.1299, allocations: 39.97 kB / 476.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.1304, allocations: 308.8 kB / 476.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.1305, allocations: 50.56 kB / 476.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.426e-05/0.1306, allocations: 36.88 kB / 476.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.1307, allocations: 7.922 kB / 476.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.1307, allocations: 30.56 kB / 477 MB, free: 9.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1307, allocations: 0 / 477 MB, free: 9.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008805/0.1316, allocations: 265.1 kB / 477.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.1317, allocations: 81.11 kB / 477.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.1318, allocations: 133.8 kB / 477.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.1318, allocations: 25.7 kB / 477.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.1319, allocations: 96.05 kB / 477.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.1319, allocations: 27.64 kB / 477.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.132, allocations: 9.719 kB / 477.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1321, allocations: 330.8 kB / 477.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.1322, allocations: 43.97 kB / 478 MB, free: 8.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.1324, allocations: 65.75 kB / 478 MB, free: 7.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.1327, allocations: 100.8 kB / 478.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1327, allocations: 4 kB / 478.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003488/0.133, allocations: 137.5 kB / 478.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1331, allocations: 12 kB / 478.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1331, allocations: 0 / 478.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1331, allocations: 0 / 478.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.1332, allocations: 23.98 kB / 478.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1332, allocations: 320 / 478.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.86e-05/0.1333, allocations: 15.92 kB / 478.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.1333, allocations: 7.938 kB / 478.3 MB, free: 7.672 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 (7): * Single equations (assignments): 7 * 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.0001029/0.1335, allocations: 126.4 kB / 478.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.1335, allocations: 7.906 kB / 478.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003916/0.1339, allocations: 157.9 kB / 478.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1339, allocations: 0 / 478.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1339, allocations: 3.984 kB / 478.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1339, allocations: 3.938 kB / 478.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006115/0.1345, allocations: 422.4 kB / 479 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1346, allocations: 0 / 479 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.112e-05/0.1347, allocations: 23.98 kB / 479 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1347, allocations: 0 / 479 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1347, allocations: 7.938 kB / 479 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/0.1347, allocations: 4 kB / 479.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1347, allocations: 7.938 kB / 479.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.1351, allocations: 235.4 kB / 479.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.1352, allocations: 89 kB / 479.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.1352, allocations: 7.938 kB / 479.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.423e-05/0.1353, allocations: 15.98 kB / 479.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.1353, allocations: 3.938 kB / 479.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.1354, allocations: 4 kB / 479.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.706e-05/0.1355, allocations: 114.6 kB / 479.5 MB, free: 6.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1355, allocations: 0 / 479.5 MB, free: 6.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.1358, allocations: 24 kB / 479.5 MB, free: 6.336 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 (7): * Single equations (assignments): 7 * 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.0011/0.1369, allocations: 443.3 kB / 480 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003403/0.1372, allocations: 111.9 kB / 480.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.1372, allocations: 4 kB / 480.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.1374, allocations: 59.84 kB / 480.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.1377, allocations: 19.98 kB / 480.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004522/0.1382, allocations: 235 kB / 480.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.1385, allocations: 0.6965 MB / 481.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.673e-05/0.1385, allocations: 23.36 kB / 481.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1385, allocations: 0 / 481.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of Templates: time 0.004111/0.1427, allocations: 1.789 MB / 482.9 MB, free: 3.086 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches