Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001949/0.001949, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.425/1.425, allocations: 222.9 MB / 242.9 MB, free: 15.17 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.2165/0.2165, allocations: 44.18 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002654/0.002654, allocations: 60.52 kB / 409.1 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.145, allocations: 60.83 MB / 469.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003311/0.1484, allocations: 1.628 MB / 471.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009868/0.1494, allocations: 435.1 kB / 472 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1495, allocations: 0 / 472 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005946/0.1501, allocations: 447.1 kB / 472.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004169/0.1506, allocations: 259.4 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.1511, allocations: 138.3 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.1513, allocations: 159.6 kB / 473 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1514, allocations: 19.98 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.1516, allocations: 107.8 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.1518, allocations: 211.6 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.1519, allocations: 4 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.152, allocations: 51.97 kB / 473.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.1521, allocations: 83.69 kB / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.015e-05/0.1522, allocations: 106.9 kB / 473.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.1525, allocations: 255 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1526, allocations: 0 / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1526, allocations: 0 / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.1526, allocations: 0 / 473.8 MB, free: 10.53 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.0007257/0.1533, allocations: 0.6339 MB / 474.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1534, allocations: 15.95 kB / 474.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.1534, allocations: 44.38 kB / 474.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.1537, allocations: 296.1 kB / 474.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.1537, allocations: 4.375 kB / 474.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.1538, allocations: 4.375 kB / 474.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.1539, allocations: 61.75 kB / 474.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1539, allocations: 0 / 474.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1539, allocations: 0 / 474.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.154, allocations: 0 / 474.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.761e-05/0.1541, allocations: 39.97 kB / 474.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.1545, allocations: 388.6 kB / 475.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.1547, allocations: 46.55 kB / 475.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.157e-05/0.1547, allocations: 16.86 kB / 475.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.1547, allocations: 4 kB / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.1548, allocations: 34.59 kB / 475.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1548, allocations: 0 / 475.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009399/0.1557, allocations: 303.9 kB / 475.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.1558, allocations: 59.33 kB / 475.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007454/0.1565, allocations: 0.8574 MB / 476.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.1565, allocations: 25.7 kB / 476.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.1567, allocations: 216.1 kB / 476.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.1567, allocations: 35.48 kB / 476.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.1568, allocations: 17.72 kB / 476.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1569, allocations: 366.8 kB / 477.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-05/0.157, allocations: 23.98 kB / 477.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.964e-05/0.1571, allocations: 32.05 kB / 477.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.1572, allocations: 60.83 kB / 477.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1573, allocations: 0 / 477.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002254/0.1575, allocations: 133.5 kB / 477.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1575, allocations: 4 kB / 477.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1575, allocations: 4 kB / 477.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1575, allocations: 4 kB / 477.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.925e-05/0.1576, allocations: 15.98 kB / 477.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1577, allocations: 3.938 kB / 477.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.652e-05/0.1577, allocations: 11.98 kB / 477.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1577, allocations: 4 kB / 477.5 MB, free: 6.574 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.1579, allocations: 213.7 kB / 477.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.504e-05/0.158, allocations: 39.52 kB / 477.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/0.1583, allocations: 169.3 kB / 477.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1583, allocations: 0 / 477.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.1583, allocations: 7.922 kB / 477.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1584, allocations: 0 / 477.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005746/0.1589, allocations: 0.4993 MB / 478.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.159, allocations: 3.938 kB / 478.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.524e-05/0.159, allocations: 15.98 kB / 478.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.159, allocations: 4 kB / 478.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.159, allocations: 0 / 478.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1591, allocations: 0 / 478.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.1591, allocations: 7.938 kB / 478.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.1593, allocations: 232.2 kB / 478.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.1594, allocations: 108.6 kB / 478.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.1594, allocations: 8 kB / 478.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.1595, allocations: 4 kB / 478.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.1596, allocations: 7.984 kB / 478.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1596, allocations: 0 / 478.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005556/0.1601, allocations: 0.6472 MB / 479.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1601, allocations: 4 kB / 479.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1604, allocations: 27.98 kB / 479.5 MB, free: 4.477 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 (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.001086/0.1615, allocations: 466.5 kB / 479.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.1617, allocations: 67.97 kB / 480 MB, free: 4.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1618, allocations: 0 / 480 MB, free: 4.133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.81e-05/0.1618, allocations: 39.91 kB / 480 MB, free: 4.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.1623, allocations: 33.08 kB / 480.1 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1633, allocations: 0.8604 MB / 480.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.1637, allocations: 0.8143 MB / 481.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.1638, allocations: 19.44 kB / 481.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1638, allocations: 0 / 481.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of Templates: time 0.008193/0.172, allocations: 3.894 MB / 485.7 MB, free: 14.41 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches