Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.00147/0.00147, allocations: 194 kB / 18.12 MB, free: 5.363 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.508/1.508, allocations: 222.9 MB / 241.8 MB, free: 15.56 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.2307/0.2307, allocations: 44.17 MB / 336.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.81 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1412, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003672/0.1449, allocations: 2.011 MB / 470.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.1464, allocations: 0.8301 MB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.29e-05/0.1465, allocations: 11.94 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004527/0.1469, allocations: 239.5 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.1473, allocations: 175.5 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009761/0.1483, allocations: 456 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.1486, allocations: 267.2 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.1488, allocations: 72.55 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.1489, allocations: 115.5 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.1492, allocations: 195.3 kB / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.1492, allocations: 4 kB / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.1494, allocations: 59.98 kB / 472.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.1495, allocations: 91.61 kB / 473 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.1496, allocations: 107 kB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.1499, allocations: 275.3 kB / 473.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.15, allocations: 7.984 kB / 473.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.15, allocations: 0 / 473.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.15, allocations: 3.938 kB / 473.4 MB, free: 9.945 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008584/0.1508, allocations: 0.6108 MB / 474 MB, free: 9.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.1509, allocations: 8.031 kB / 474 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.39e-05/0.151, allocations: 36.47 kB / 474 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.1514, allocations: 302.3 kB / 474.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1514, allocations: 8.375 kB / 474.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.1515, allocations: 16.36 kB / 474.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.1517, allocations: 113.7 kB / 474.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1518, allocations: 4 kB / 474.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.1518, allocations: 4 kB / 474.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.1518, allocations: 4 kB / 474.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.152, allocations: 67.89 kB / 474.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007002/0.1527, allocations: 480.3 kB / 475 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.1529, allocations: 94.47 kB / 475.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.455e-05/0.153, allocations: 32.84 kB / 475.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.153, allocations: 4.219 kB / 475.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.1531, allocations: 38.5 kB / 475.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1531, allocations: 4 kB / 475.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009279/0.154, allocations: 374.2 kB / 475.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.1541, allocations: 51.41 kB / 475.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005286/0.1546, allocations: 0.5249 MB / 476.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1546, allocations: 29.7 kB / 476.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.1548, allocations: 188.4 kB / 476.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/0.1548, allocations: 55.17 kB / 476.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.1549, allocations: 41.7 kB / 476.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1551, allocations: 346.8 kB / 476.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.1552, allocations: 51.97 kB / 476.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.1553, allocations: 55.86 kB / 476.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.1555, allocations: 123.1 kB / 477 MB, free: 6.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1555, allocations: 7.938 kB / 477 MB, free: 6.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003179/0.1559, allocations: 185.2 kB / 477.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.1559, allocations: 4 kB / 477.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1559, allocations: 4 kB / 477.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1559, allocations: 0 / 477.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.1561, allocations: 43.84 kB / 477.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.1561, allocations: 0 / 477.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.111e-05/0.1562, allocations: 11.94 kB / 477.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.1562, allocations: 7.984 kB / 477.3 MB, free: 5.844 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 (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.0001655/0.1564, allocations: 177.7 kB / 477.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.1564, allocations: 35.53 kB / 477.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004523/0.1569, allocations: 235.2 kB / 477.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1569, allocations: 0 / 477.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1569, allocations: 0 / 477.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1569, allocations: 4 kB / 477.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008426/0.1578, allocations: 0.6113 MB / 478.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1578, allocations: 0 / 478.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.924e-05/0.1579, allocations: 27.98 kB / 478.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.1579, allocations: 0 / 478.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.1579, allocations: 16 kB / 478.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1579, allocations: 3.984 kB / 478.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1579, allocations: 3.938 kB / 478.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004215/0.1584, allocations: 296.8 kB / 478.7 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.1584, allocations: 104.6 kB / 478.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.1585, allocations: 0 / 478.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.1586, allocations: 8 kB / 478.8 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.1587, allocations: 23.91 kB / 478.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.1587, allocations: 7.984 kB / 478.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003984/0.1591, allocations: 387.1 kB / 479.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1591, allocations: 7.938 kB / 479.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.1594, allocations: 40 kB / 479.2 MB, free: 3.777 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 (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.001668/0.1611, allocations: 0.7013 MB / 479.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002952/0.1614, allocations: 131.9 kB / 480.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1614, allocations: 0 / 480.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.1615, allocations: 78.47 kB / 480.1 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/0.1621, allocations: 67.33 kB / 480.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009802/0.1631, allocations: 0.7545 MB / 481 MB, free: 2.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.1635, allocations: 0.8103 MB / 481.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.1636, allocations: 41.91 kB / 481.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.413e-05/0.1637, allocations: 31.42 kB / 481.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1637, allocations: 4 kB / 481.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of Templates: time 0.006644/0.1703, allocations: 3.043 MB / 484.9 MB, free: 14.41 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches