Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 107.4 kB / 17.21 MB, free: 6.293 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.001214/0.001214, allocations: 194 kB / 18.12 MB, free: 5.383 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.422/1.422, allocations: 222.9 MB / 241.8 MB, free: 15.44 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.2178/0.2178, allocations: 44.17 MB / 336.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 61.78 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1529, allocations: 60.83 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002953/0.1559, allocations: 1.625 MB / 470.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008067/0.1567, allocations: 435.2 kB / 470.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.834e-05/0.1568, allocations: 0 / 470.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006597/0.1574, allocations: 455.2 kB / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.1577, allocations: 239.6 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.1581, allocations: 159.3 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.1584, allocations: 151.7 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1586, allocations: 19.97 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1587, allocations: 107.7 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.1589, allocations: 191.7 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.1589, allocations: 0 / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.581e-05/0.159, allocations: 27.94 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.1591, allocations: 83.69 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.963e-05/0.1592, allocations: 98.98 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.1594, allocations: 231 kB / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1594, allocations: 4 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1595, allocations: 4 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1595, allocations: 0 / 472.3 MB, free: 11.02 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.0007304/0.1602, allocations: 0.6222 MB / 472.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1602, allocations: 8.031 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.08e-05/0.1603, allocations: 48.38 kB / 473 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.1606, allocations: 288.2 kB / 473.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.1606, allocations: 4.375 kB / 473.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.1606, allocations: 8.312 kB / 473.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1608, allocations: 53.81 kB / 473.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1608, allocations: 0 / 473.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1608, allocations: 0 / 473.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1608, allocations: 0 / 473.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.02e-05/0.1609, allocations: 31.92 kB / 473.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.1614, allocations: 376.7 kB / 473.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.378e-05/0.1615, allocations: 38.56 kB / 473.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.76e-05/0.1615, allocations: 16.91 kB / 473.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.1616, allocations: 4 kB / 473.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.1616, allocations: 34.5 kB / 473.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1616, allocations: 0 / 473.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002607/0.1619, allocations: 101.2 kB / 473.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.1619, allocations: 55.41 kB / 474 MB, free: 9.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008003/0.1628, allocations: 0.8613 MB / 474.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.1628, allocations: 29.64 kB / 474.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.1629, allocations: 216.1 kB / 475.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.163, allocations: 3.906 kB / 475.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.163, allocations: 13.72 kB / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1632, allocations: 366.7 kB / 475.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.1632, allocations: 12.03 kB / 475.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.521e-05/0.1632, allocations: 11.98 kB / 475.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.911e-05/0.1633, allocations: 32.78 kB / 475.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1633, allocations: 0 / 475.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001372/0.1635, allocations: 85.22 kB / 475.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1635, allocations: 7.984 kB / 475.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1635, allocations: 96 / 475.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1635, allocations: 4 kB / 475.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.271e-05/0.1636, allocations: 8 kB / 475.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1636, allocations: 4 kB / 475.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.968e-05/0.1637, allocations: 0 / 475.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.1637, allocations: 0 / 475.6 MB, free: 7.484 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.0002324/0.1639, allocations: 217.7 kB / 475.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.957e-05/0.164, allocations: 43.44 kB / 475.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.1642, allocations: 112.5 kB / 476 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1642, allocations: 0 / 476 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1642, allocations: 0 / 476 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1642, allocations: 0 / 476 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.1645, allocations: 289.5 kB / 476.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1645, allocations: 0 / 476.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.419e-05/0.1646, allocations: 7.984 kB / 476.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1646, allocations: 0 / 476.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.1646, allocations: 3.938 kB / 476.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1646, allocations: 0 / 476.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1646, allocations: 0 / 476.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.1648, allocations: 202.9 kB / 476.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.1649, allocations: 108.6 kB / 476.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.1649, allocations: 0 / 476.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.81e-05/0.165, allocations: 4 kB / 476.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.165, allocations: 0 / 476.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.165, allocations: 0 / 476.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005851/0.1656, allocations: 0.6589 MB / 477.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1656, allocations: 0 / 477.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.1659, allocations: 20 kB / 477.3 MB, free: 5.734 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.0007719/0.1667, allocations: 349.6 kB / 477.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.1668, allocations: 23.98 kB / 477.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1668, allocations: 0 / 477.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.694e-05/0.1669, allocations: 15.94 kB / 477.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.1672, allocations: 21.95 kB / 477.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1683, allocations: 0.847 MB / 478.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/0.1688, allocations: 0.8224 MB / 479.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.575e-05/0.1689, allocations: 11.98 kB / 479.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.1689, allocations: 11.44 kB / 479.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1689, allocations: 0 / 479.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of Templates: time 0.004961/0.1739, allocations: 1.224 MB / 480.6 MB, free: 2.492 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches