Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,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.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,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.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001068, allocations: 94.69 kB / 16.98 MB, free: 5.938 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.001383/0.001383, allocations: 187.4 kB / 17.88 MB, free: 5.594 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.629/1.629, allocations: 223.2 MB / 241.8 MB, free: 372 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.2085/0.2085, allocations: 44.23 MB / 337.1 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003533, allocations: 11.94 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1389, allocations: 61.92 MB / 471.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.002084/0.141, allocations: 1.532 MB / 473 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1425, allocations: 0.7448 MB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.762e-05/0.1427, allocations: 0 / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005112/0.1432, allocations: 247.4 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004029/0.1436, allocations: 171.6 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.145, allocations: 0.5818 MB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003943/0.1454, allocations: 183.6 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.1456, allocations: 48.66 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.1457, allocations: 103.6 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.146, allocations: 131.5 kB / 475.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.146, allocations: 4 kB / 475.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.1461, allocations: 35.86 kB / 475.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.1463, allocations: 75.73 kB / 475.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.911e-05/0.1463, allocations: 65.52 kB / 475.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.1466, allocations: 207.6 kB / 475.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1466, allocations: 0 / 475.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1466, allocations: 0 / 475.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1466, allocations: 0 / 475.6 MB, free: 9.629 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008229/0.1475, allocations: 0.5835 MB / 476.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.1475, allocations: 19.97 kB / 476.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.1476, allocations: 35.53 kB / 476.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.148, allocations: 305.2 kB / 476.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.148, allocations: 4 kB / 476.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.148, allocations: 4 kB / 476.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.1483, allocations: 101.6 kB / 476.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1483, allocations: 0 / 476.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1483, allocations: 0 / 476.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1483, allocations: 0 / 476.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.1485, allocations: 79.95 kB / 476.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007038/0.1492, allocations: 460.4 kB / 477.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.1494, allocations: 78.53 kB / 477.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.1494, allocations: 4 kB / 477.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.1495, allocations: 34.62 kB / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.196e-06/0.1495, allocations: 0 / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003837/0.1499, allocations: 161.1 kB / 477.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.1499, allocations: 55.41 kB / 477.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006194/0.1505, allocations: 0.5487 MB / 478 MB, free: 6.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.1506, allocations: 29.7 kB / 478 MB, free: 6.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.1507, allocations: 196.3 kB / 478.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.1508, allocations: 23.7 kB / 478.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.1508, allocations: 0 / 478.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.151, allocations: 354.8 kB / 478.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.775e-05/0.151, allocations: 23.98 kB / 478.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.599e-05/0.1511, allocations: 31.98 kB / 478.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.411e-05/0.1512, allocations: 35.92 kB / 478.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1512, allocations: 0 / 478.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001997/0.1514, allocations: 125.2 kB / 478.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.1514, allocations: 8 kB / 478.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1514, allocations: 0 / 478.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1515, allocations: 4 kB / 478.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.322e-05/0.1516, allocations: 15.98 kB / 478.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1516, allocations: 0 / 478.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.538e-05/0.1516, allocations: 11.94 kB / 478.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.1517, allocations: 4.438 kB / 478.8 MB, free: 6.121 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.1518, allocations: 174.3 kB / 479 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.1519, allocations: 35.53 kB / 479 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.1522, allocations: 160.8 kB / 479.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1522, allocations: 3.984 kB / 479.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1522, allocations: 0 / 479.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1522, allocations: 3.984 kB / 479.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.1525, allocations: 293.5 kB / 479.5 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1526, allocations: 3.938 kB / 479.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.346e-05/0.1526, allocations: 12 kB / 479.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1526, allocations: 0 / 479.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.1527, allocations: 12 kB / 479.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.1527, allocations: 3.984 kB / 479.5 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1527, allocations: 0 / 479.5 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.1529, allocations: 234.9 kB / 479.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.153, allocations: 124.6 kB / 479.9 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.1531, allocations: 4 kB / 479.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-05/0.1532, allocations: 8 kB / 479.9 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.1532, allocations: 4 kB / 479.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.1532, allocations: 0 / 479.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004537/0.1537, allocations: 419.1 kB / 480.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1537, allocations: 0 / 480.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.154, allocations: 35.91 kB / 480.3 MB, free: 4.523 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001431/0.1554, allocations: 0.5839 MB / 480.9 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.1556, allocations: 75.89 kB / 481 MB, free: 4.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1556, allocations: 0 / 481 MB, free: 4.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.251e-05/0.1557, allocations: 31.98 kB / 481 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.1561, allocations: 65.44 kB / 481.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009008/0.1571, allocations: 0.6377 MB / 481.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.1575, allocations: 0.8142 MB / 482.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.1576, allocations: 53.47 kB / 482.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.1577, allocations: 19.44 kB / 482.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1577, allocations: 3.938 kB / 482.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of Templates: time 0.00611/0.1638, allocations: 2.688 MB / 485.3 MB, free: 15.77 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches