Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009339/0.0009339, allocations: 98.12 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.0008543/0.0008544, allocations: 182.4 kB / 18.91 MB, free: 4.738 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.316/1.316, allocations: 223.3 MB / 243 MB, free: 184 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.1976/0.1976, allocations: 44.25 MB / 338.3 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003638, allocations: 12 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.121, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002123/0.1231, allocations: 1.349 MB / 474.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008334/0.124, allocations: 423.3 kB / 474.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.829e-05/0.1241, allocations: 0 / 474.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005901/0.1247, allocations: 443.2 kB / 475.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.125, allocations: 243.5 kB / 475.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.1254, allocations: 122.4 kB / 475.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.1257, allocations: 163.7 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1258, allocations: 15.98 kB / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.126, allocations: 111.7 kB / 475.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.1262, allocations: 199.6 kB / 476 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.1263, allocations: 0 / 476 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.1264, allocations: 47.92 kB / 476 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.1265, allocations: 87.56 kB / 476.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.1267, allocations: 128.7 kB / 476.2 MB, free: 10 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.1269, allocations: 195.7 kB / 476.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1269, allocations: 4 kB / 476.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.127, allocations: 0 / 476.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.127, allocations: 0 / 476.4 MB, free: 9.809 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.0008123/0.1278, allocations: 0.5993 MB / 477 MB, free: 9.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.1278, allocations: 8.031 kB / 477 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.86e-05/0.1279, allocations: 44.38 kB / 477.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.1282, allocations: 296.2 kB / 477.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1283, allocations: 4.375 kB / 477.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.1283, allocations: 8.281 kB / 477.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.1285, allocations: 65.8 kB / 477.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.1285, allocations: 4 kB / 477.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.1286, allocations: 4 kB / 477.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1286, allocations: 0 / 477.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.1288, allocations: 47.91 kB / 477.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007316/0.1295, allocations: 396.7 kB / 477.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.1298, allocations: 66.58 kB / 477.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.233e-05/0.1299, allocations: 28.97 kB / 478 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.13, allocations: 0 / 478 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.13, allocations: 34.56 kB / 478 MB, free: 8.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.13, allocations: 0 / 478 MB, free: 8.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001874/0.1319, allocations: 0.5308 MB / 478.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.1319, allocations: 59.34 kB / 478.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008348/0.1328, allocations: 0.8574 MB / 479.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.1328, allocations: 29.7 kB / 479.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.133, allocations: 215.9 kB / 479.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.133, allocations: 31.55 kB / 479.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.1331, allocations: 17.72 kB / 479.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1332, allocations: 358.8 kB / 480.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.1334, allocations: 59.91 kB / 480.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.1335, allocations: 43.97 kB / 480.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.1338, allocations: 120.8 kB / 480.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1338, allocations: 0 / 480.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003695/0.1342, allocations: 189 kB / 480.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1342, allocations: 7.984 kB / 480.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1342, allocations: 4 kB / 480.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1342, allocations: 0 / 480.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.1344, allocations: 35.86 kB / 480.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1344, allocations: 4 kB / 480.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.656e-05/0.1345, allocations: 15.98 kB / 480.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1345, allocations: 4 kB / 480.5 MB, free: 5.434 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 (11): * Single equations (assignments): 11 * 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.0001934/0.1347, allocations: 210.3 kB / 480.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.1348, allocations: 43.44 kB / 480.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004745/0.1352, allocations: 225.7 kB / 481 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.1353, allocations: 7.938 kB / 481 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1353, allocations: 0.5625 kB / 481 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1353, allocations: 4 kB / 481 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007952/0.1361, allocations: 0.578 MB / 481.6 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.1361, allocations: 4 kB / 481.6 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.1362, allocations: 31.92 kB / 481.6 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.1362, allocations: 4 kB / 481.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1362, allocations: 0 / 481.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.1363, allocations: 7.984 kB / 481.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1363, allocations: 0 / 481.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004305/0.1367, allocations: 308.6 kB / 482 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-05/0.1368, allocations: 112.6 kB / 482.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.1368, allocations: 4 kB / 482.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.1369, allocations: 15.98 kB / 482.1 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.137, allocations: 7.984 kB / 482.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.137, allocations: 8 kB / 482.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006043/0.1376, allocations: 0.6433 MB / 482.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1376, allocations: 0 / 482.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.1379, allocations: 36 kB / 482.8 MB, free: 3.082 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001117/0.1391, allocations: 455.4 kB / 483.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003404/0.1394, allocations: 127.8 kB / 483.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1394, allocations: 0 / 483.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.1396, allocations: 67.91 kB / 483.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.14, allocations: 29.89 kB / 483.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.1413, allocations: 0.9698 MB / 484.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.1418, allocations: 0.8301 MB / 485.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.1418, allocations: 15.44 kB / 485.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1418, allocations: 0 / 485.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of Templates: time 0.007848/0.1497, allocations: 3.959 MB / 489.2 MB, free: 12.76 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches