Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009822/0.0009822, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.001213/0.001213, allocations: 171.3 kB / 18.25 MB, free: 5.504 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.559/1.559, allocations: 223.3 MB / 242.3 MB, free: 14.46 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.2167/0.2167, allocations: 44.24 MB / 337.7 MB, free: 2.414 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003383, allocations: 11.94 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1407, allocations: 61.93 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.001979/0.1427, allocations: 1.29 MB / 473.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007471/0.1435, allocations: 395.4 kB / 473.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.885e-05/0.1435, allocations: 0 / 473.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000543/0.1441, allocations: 447.2 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.1444, allocations: 247.5 kB / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.1448, allocations: 111 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.145, allocations: 143.8 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.883e-05/0.1451, allocations: 19.98 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1452, allocations: 95.78 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.1454, allocations: 203.6 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.1455, allocations: 0 / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.544e-05/0.1455, allocations: 20 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.1457, allocations: 83.62 kB / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.025e-05/0.1458, allocations: 116.8 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.146, allocations: 235 kB / 475.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.146, allocations: 4 kB / 475.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1461, allocations: 0 / 475.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.066e-06/0.1461, allocations: 0 / 475.6 MB, free: 9.926 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007319/0.1468, allocations: 0.578 MB / 476.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1469, allocations: 12.03 kB / 476.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.668e-05/0.1469, allocations: 40.47 kB / 476.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.1472, allocations: 284.2 kB / 476.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.1472, allocations: 12.31 kB / 476.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.1473, allocations: 8.312 kB / 476.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.1474, allocations: 53.8 kB / 476.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1474, allocations: 0 / 476.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1474, allocations: 0 / 476.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1475, allocations: 0 / 476.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.205e-05/0.1476, allocations: 23.98 kB / 476.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.1481, allocations: 376.7 kB / 477 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.431e-05/0.1482, allocations: 38.5 kB / 477 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.877e-05/0.1482, allocations: 16.92 kB / 477 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.1482, allocations: 3.984 kB / 477 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.1483, allocations: 38.55 kB / 477.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.1483, allocations: 0 / 477.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000288/0.1486, allocations: 101.2 kB / 477.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.1486, allocations: 51.41 kB / 477.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008522/0.1495, allocations: 0.8535 MB / 478.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.1495, allocations: 25.83 kB / 478.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.1497, allocations: 224.1 kB / 478.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.1497, allocations: 7.906 kB / 478.3 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.1498, allocations: 9.719 kB / 478.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1499, allocations: 362.7 kB / 478.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.6e-05/0.15, allocations: 12 kB / 478.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.734e-05/0.15, allocations: 11.98 kB / 478.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.641e-05/0.1501, allocations: 28.92 kB / 478.8 MB, free: 6.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1501, allocations: 0 / 478.8 MB, free: 6.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001564/0.1503, allocations: 97.05 kB / 478.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1503, allocations: 8 kB / 478.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1503, allocations: 0 / 478.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1503, allocations: 32 / 478.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.568e-05/0.1504, allocations: 8 kB / 478.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1504, allocations: 0 / 478.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.1505, allocations: 4 kB / 478.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1505, allocations: 3.984 kB / 478.9 MB, free: 6.445 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 (2): * Single equations (assignments): 2 * 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.0001757/0.1507, allocations: 209.7 kB / 479.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.808e-05/0.1507, allocations: 39.53 kB / 479.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.151, allocations: 116.6 kB / 479.2 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.151, allocations: 3.938 kB / 479.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.151, allocations: 0 / 479.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.151, allocations: 3.938 kB / 479.2 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.1513, allocations: 285.4 kB / 479.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1513, allocations: 4 kB / 479.5 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.522e-05/0.1513, allocations: 4 kB / 479.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1513, allocations: 0 / 479.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.1513, allocations: 3.984 kB / 479.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1514, allocations: 4.031 kB / 479.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1514, allocations: 0 / 479.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.1516, allocations: 190.9 kB / 479.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.257e-05/0.1517, allocations: 108.6 kB / 479.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.1517, allocations: 3.984 kB / 479.8 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.1518, allocations: 8.031 kB / 479.8 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.1518, allocations: 0 / 479.8 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.1518, allocations: 0 / 479.8 MB, free: 5.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006008/0.1524, allocations: 0.6472 MB / 480.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1524, allocations: 0 / 480.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1527, allocations: 19.92 kB / 480.5 MB, free: 4.711 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 (2): * Single equations (assignments): 2 * 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.0008079/0.1535, allocations: 362.9 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.1536, allocations: 19.98 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1537, allocations: 3.938 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.68e-05/0.1537, allocations: 20.05 kB / 480.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.1541, allocations: 21.95 kB / 480.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1552, allocations: 0.8328 MB / 481.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.1556, allocations: 0.8145 MB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.569e-05/0.1557, allocations: 11.97 kB / 482.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.1557, allocations: 11.44 kB / 482.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of SimCode: time 1.924e-06/0.1557, allocations: 4 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of Templates: time 0.004516/0.1602, allocations: 1.158 MB / 483.8 MB, free: 1.535 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches