Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 95.73 kB / 17 MB, free: 6.391 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.001168/0.001168, allocations: 184.2 kB / 17.89 MB, free: 5.922 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.478/1.478, allocations: 223.2 MB / 241.9 MB, free: 304 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.2314/0.2314, allocations: 44.25 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004716, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1512, allocations: 61.94 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002428/0.1537, allocations: 1.322 MB / 472.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007821/0.1545, allocations: 387.7 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.78e-05/0.1546, allocations: 0 / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005733/0.1552, allocations: 439.2 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.1556, allocations: 255.4 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.156, allocations: 115.4 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.1562, allocations: 123.7 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1563, allocations: 19.98 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.1565, allocations: 99.8 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.1567, allocations: 163.7 kB / 474.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.1567, allocations: 7.938 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.1568, allocations: 43.98 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.157, allocations: 79.69 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.991e-05/0.157, allocations: 69.52 kB / 474.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.1573, allocations: 191.7 kB / 474.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1573, allocations: 0 / 474.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.1573, allocations: 0 / 474.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1573, allocations: 3.938 kB / 474.9 MB, free: 10.38 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.0007927/0.1581, allocations: 0.5913 MB / 475.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.1582, allocations: 8.562 kB / 475.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.027e-05/0.1582, allocations: 43.44 kB / 475.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.1586, allocations: 271.4 kB / 475.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.1586, allocations: 0 / 475.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1586, allocations: 11.94 kB / 475.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.1588, allocations: 73.55 kB / 475.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1588, allocations: 0 / 475.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1588, allocations: 0 / 475.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1589, allocations: 4 kB / 475.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.159, allocations: 31.97 kB / 475.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.1595, allocations: 396.6 kB / 476.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.1596, allocations: 38.56 kB / 476.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.025e-05/0.1597, allocations: 24.94 kB / 476.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.1597, allocations: 0 / 476.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.1597, allocations: 34.56 kB / 476.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.1598, allocations: 0 / 476.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009162/0.1607, allocations: 339.9 kB / 476.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.1607, allocations: 55.41 kB / 476.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008581/0.1616, allocations: 0.8574 MB / 477.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1616, allocations: 25.7 kB / 477.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.1618, allocations: 228 kB / 477.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.1618, allocations: 27.62 kB / 477.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.1618, allocations: 4 kB / 477.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.162, allocations: 358.8 kB / 478.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-05/0.1621, allocations: 27.97 kB / 478.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-05/0.1622, allocations: 31.98 kB / 478.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.622e-05/0.1623, allocations: 31.98 kB / 478.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1623, allocations: 7.938 kB / 478.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002286/0.1625, allocations: 133.1 kB / 478.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1625, allocations: 8 kB / 478.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1626, allocations: 320 / 478.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1626, allocations: 0 / 478.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.945e-05/0.1627, allocations: 23.92 kB / 478.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.1627, allocations: 0 / 478.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.446e-05/0.1628, allocations: 11.98 kB / 478.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.1628, allocations: 11.94 kB / 478.5 MB, free: 6.496 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 (8): * Single equations (assignments): 8 * 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.0001872/0.163, allocations: 213.8 kB / 478.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.163, allocations: 43.44 kB / 478.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.1633, allocations: 165.4 kB / 479 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1634, allocations: 7.938 kB / 479 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1634, allocations: 0 / 479 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1634, allocations: 0 / 479 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007051/0.1641, allocations: 0.5069 MB / 479.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1641, allocations: 4.031 kB / 479.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.865e-05/0.1642, allocations: 16 kB / 479.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1642, allocations: 0 / 479.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1642, allocations: 7.984 kB / 479.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1642, allocations: 4 kB / 479.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.1642, allocations: 3.953 kB / 479.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.1646, allocations: 240.3 kB / 479.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.34e-05/0.1647, allocations: 116.5 kB / 479.9 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.1647, allocations: 4 kB / 479.9 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/0.1648, allocations: 4 kB / 479.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.1648, allocations: 15.92 kB / 479.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1649, allocations: 8 kB / 479.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007094/0.1656, allocations: 0.6511 MB / 480.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1656, allocations: 0 / 480.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.1659, allocations: 24 kB / 480.6 MB, free: 4.363 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001165/0.1671, allocations: 470.2 kB / 481 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.1673, allocations: 71.89 kB / 481.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1673, allocations: 0 / 481.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.1674, allocations: 44.05 kB / 481.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.1678, allocations: 22.27 kB / 481.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.169, allocations: 0.854 MB / 482 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.1695, allocations: 0.8302 MB / 482.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.379e-05/0.1695, allocations: 12.66 kB / 482.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.1696, allocations: 15.44 kB / 482.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1696, allocations: 0 / 482.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of Templates: time 0.004989/0.1746, allocations: 1.56 MB / 484.4 MB, free: 0.6289 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches