Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001254, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2044/0.2044, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 76.11 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1143, allocations: 62.46 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003843/0.1182, allocations: 2.035 MB / 483.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.1202, allocations: 1.13 MB / 484.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.1204, allocations: 4 kB / 484.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000526/0.121, allocations: 263.1 kB / 484.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005822/0.1216, allocations: 259.1 kB / 485.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.1231, allocations: 0.649 MB / 485.8 MB, free: 184 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00052/0.1236, allocations: 347.1 kB / 486.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.1238, allocations: 80.7 kB / 486.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.124, allocations: 147.4 kB / 486.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.1242, allocations: 215.3 kB / 486.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.1243, allocations: 12 kB / 486.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.1245, allocations: 71.98 kB / 486.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.1246, allocations: 103.6 kB / 486.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.1247, allocations: 123 kB / 486.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.1251, allocations: 334.6 kB / 487.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1251, allocations: 0 / 487.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1251, allocations: 0 / 487.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.1252, allocations: 4 kB / 487.2 MB, free: 14.77 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007769/0.1259, allocations: 0.6573 MB / 487.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.126, allocations: 13.11 kB / 487.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.793e-05/0.1261, allocations: 44.41 kB / 487.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.1265, allocations: 326 kB / 488.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1265, allocations: 4.375 kB / 488.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.1265, allocations: 16.36 kB / 488.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.1268, allocations: 125.8 kB / 488.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1268, allocations: 4 kB / 488.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.1269, allocations: 4 kB / 488.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.922e-06/0.1269, allocations: 4 kB / 488.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.1271, allocations: 103.8 kB / 488.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006939/0.1278, allocations: 0.4964 MB / 489 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.128, allocations: 106.5 kB / 489.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.321e-05/0.1281, allocations: 40.84 kB / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.1282, allocations: 4 kB / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.1282, allocations: 38.5 kB / 489.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.1282, allocations: 0 / 489.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009785/0.1292, allocations: 450.3 kB / 489.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.1292, allocations: 59.34 kB / 489.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005763/0.1298, allocations: 0.572 MB / 490.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1298, allocations: 33.7 kB / 490.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.13, allocations: 204.4 kB / 490.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.13, allocations: 59.16 kB / 490.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.1301, allocations: 33.7 kB / 490.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1302, allocations: 350.8 kB / 490.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.1304, allocations: 71.95 kB / 491 MB, free: 10.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.1305, allocations: 67.95 kB / 491 MB, free: 10.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.1308, allocations: 152.7 kB / 491.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1308, allocations: 7.875 kB / 491.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000397/0.1312, allocations: 231.1 kB / 491.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1312, allocations: 8 kB / 491.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1313, allocations: 0 / 491.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1313, allocations: 4 kB / 491.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.1315, allocations: 35.97 kB / 491.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1315, allocations: 0 / 491.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.545e-05/0.1316, allocations: 11.92 kB / 491.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.1316, allocations: 8 kB / 491.5 MB, free: 10.26 MB / 366.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 (17): * Single equations (assignments): 17 * 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.0001824/0.1318, allocations: 185.6 kB / 491.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/0.1318, allocations: 43.44 kB / 491.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005322/0.1324, allocations: 284.3 kB / 492 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1324, allocations: 4 kB / 492 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1324, allocations: 0 / 492 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1324, allocations: 3.938 kB / 492 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009038/0.1333, allocations: 0.67 MB / 492.7 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1333, allocations: 0 / 492.7 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.1335, allocations: 35.98 kB / 492.7 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1335, allocations: 4 kB / 492.7 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.1335, allocations: 4 kB / 492.7 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1335, allocations: 4 kB / 492.7 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.1335, allocations: 3.938 kB / 492.7 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004549/0.134, allocations: 338.7 kB / 493.1 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.615e-05/0.1341, allocations: 100.7 kB / 493.2 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.1341, allocations: 4 kB / 493.2 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.13e-05/0.1342, allocations: 8 kB / 493.2 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.1343, allocations: 15.92 kB / 493.2 MB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.1343, allocations: 11.98 kB / 493.2 MB, free: 8.441 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004273/0.1347, allocations: 423.1 kB / 493.6 MB, free: 8.031 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1347, allocations: 0 / 493.6 MB, free: 8.031 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003262/0.1351, allocations: 55.89 kB / 493.7 MB, free: 7.977 MB / 366.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 (17): * Single equations (assignments): 17 * 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.001521/0.1366, allocations: 0.6889 MB / 494.3 MB, free: 7.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004048/0.137, allocations: 163.8 kB / 494.5 MB, free: 7.402 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.137, allocations: 0 / 494.5 MB, free: 7.402 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.1372, allocations: 87.89 kB / 494.6 MB, free: 7.316 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006519/0.1379, allocations: 85.73 kB / 494.7 MB, free: 7.246 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.1389, allocations: 0.7238 MB / 495.4 MB, free: 6.496 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.1393, allocations: 0.826 MB / 496.2 MB, free: 5.645 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001565/0.1395, allocations: 61.89 kB / 496.3 MB, free: 5.586 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/0.1396, allocations: 35.42 kB / 496.3 MB, free: 5.551 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1396, allocations: 3.938 kB / 496.3 MB, free: 5.547 MB / 366.1 MB Notification: Performance of Templates: time 0.007307/0.1469, allocations: 3.366 MB / 499.7 MB, free: 2.195 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches