Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008896/0.0008897, allocations: 93.92 kB / 16.98 MB, free: 5.938 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.0008782/0.0008783, allocations: 186.9 kB / 17.88 MB, free: 5.594 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.405/1.405, allocations: 223.2 MB / 241.8 MB, free: 372 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.2151/0.2151, allocations: 44.22 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003533, allocations: 14.3 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1462, allocations: 61.91 MB / 471.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002679/0.149, allocations: 1.317 MB / 472.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.1509, allocations: 0.9609 MB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.885e-05/0.151, allocations: 0 / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.1513, allocations: 23.92 kB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.1515, allocations: 35.83 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.152, allocations: 163 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.1521, allocations: 39.95 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.1523, allocations: 15.98 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.572e-05/0.1523, allocations: 19.86 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.1525, allocations: 19.92 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1525, allocations: 4 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.1527, allocations: 43.84 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.577e-05/0.1527, allocations: 7.984 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.1528, allocations: 37.64 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.153, allocations: 72.11 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.153, allocations: 4 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.153, allocations: 0 / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.153, allocations: 0 / 474.2 MB, free: 10.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007149/0.1537, allocations: 395 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.1538, allocations: 8.562 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.1538, allocations: 7.906 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.1541, allocations: 194.1 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.1542, allocations: 8 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.1542, allocations: 7.938 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.1544, allocations: 75.34 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.1545, allocations: 3.984 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.1545, allocations: 4 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.1545, allocations: 0 / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.1547, allocations: 51.95 kB / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005799/0.1552, allocations: 308.8 kB / 475.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.1554, allocations: 54.56 kB / 475.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.1554, allocations: 0 / 475.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.1555, allocations: 34.64 kB / 475.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.1555, allocations: 0 / 475.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009677/0.1565, allocations: 257.2 kB / 475.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.1566, allocations: 81.09 kB / 475.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.1567, allocations: 141.9 kB / 475.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.1568, allocations: 25.7 kB / 475.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.342e-05/0.1569, allocations: 104 kB / 475.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.1569, allocations: 23.7 kB / 475.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.1569, allocations: 0 / 475.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.1571, allocations: 326.8 kB / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.1573, allocations: 43.97 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1574, allocations: 65.62 kB / 476.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.1575, allocations: 43.97 kB / 476.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1575, allocations: 7.969 kB / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003159/0.1579, allocations: 141.8 kB / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.1579, allocations: 10.28 kB / 476.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1579, allocations: 4 kB / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1579, allocations: 0 / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.1581, allocations: 23.98 kB / 476.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.1581, allocations: 4.062 kB / 476.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.919e-05/0.1582, allocations: 15.98 kB / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1582, allocations: 4 kB / 476.6 MB, free: 8.332 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 (7): * Single equations (assignments): 7 * 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.0001317/0.1583, allocations: 129.7 kB / 476.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.1584, allocations: 7.906 kB / 476.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003671/0.1588, allocations: 154.3 kB / 476.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1588, allocations: 0 / 476.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1588, allocations: 0 / 476.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1588, allocations: 0 / 476.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006379/0.1594, allocations: 438.3 kB / 477.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1594, allocations: 0 / 477.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.674e-05/0.1595, allocations: 19.98 kB / 477.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1596, allocations: 3.984 kB / 477.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.1596, allocations: 8 kB / 477.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1596, allocations: 4 kB / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1596, allocations: 0 / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.16, allocations: 243.3 kB / 477.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.16, allocations: 81.02 kB / 477.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.1601, allocations: 0 / 477.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.367e-05/0.1602, allocations: 19.98 kB / 477.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.1602, allocations: 7.984 kB / 477.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.1602, allocations: 0 / 477.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.1604, allocations: 111.2 kB / 477.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1604, allocations: 4 kB / 477.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1606, allocations: 24 kB / 477.9 MB, free: 6.996 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 (7): * Single equations (assignments): 7 * 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.001185/0.1618, allocations: 447.8 kB / 478.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003916/0.1622, allocations: 115.8 kB / 478.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1622, allocations: 0 / 478.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.1624, allocations: 59.91 kB / 478.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.1627, allocations: 19.94 kB / 478.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005338/0.1632, allocations: 221.2 kB / 478.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.1636, allocations: 0.7043 MB / 479.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.503e-05/0.1637, allocations: 24.58 kB / 479.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.1638, allocations: 15.44 kB / 479.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1638, allocations: 3.938 kB / 479.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of Templates: time 0.004616/0.1684, allocations: 1.456 MB / 480.9 MB, free: 4.066 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches