Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000852/0.0008523, allocations: 93.88 kB / 17.35 MB, free: 6.371 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.000852/0.0008521, allocations: 171.8 kB / 18.25 MB, free: 5.527 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.454/1.454, allocations: 223.3 MB / 242.3 MB, free: 248 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.213/0.213, allocations: 44.25 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003455, allocations: 8 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1424, allocations: 61.92 MB / 472.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002803/0.1453, allocations: 1.364 MB / 473.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1464, allocations: 439.3 kB / 474 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.194e-05/0.1465, allocations: 4 kB / 474 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007027/0.1473, allocations: 455.1 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000348/0.1476, allocations: 239.6 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.1481, allocations: 166.8 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000244/0.1483, allocations: 167.6 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1485, allocations: 23.98 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1486, allocations: 103.8 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.1488, allocations: 211.5 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.1489, allocations: 0 / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.149, allocations: 39.98 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.1491, allocations: 91.62 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.159e-05/0.1492, allocations: 128.6 kB / 475.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.1495, allocations: 259.2 kB / 475.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1495, allocations: 0 / 475.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1495, allocations: 0 / 475.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1496, allocations: 0 / 475.9 MB, free: 9.684 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.0008929/0.1505, allocations: 0.599 MB / 476.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.1505, allocations: 12.03 kB / 476.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.862e-05/0.1506, allocations: 40.38 kB / 476.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.151, allocations: 300.1 kB / 476.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.151, allocations: 8.312 kB / 476.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.1511, allocations: 8.312 kB / 476.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.1513, allocations: 77.78 kB / 476.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1514, allocations: 0 / 476.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.1514, allocations: 0 / 476.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.1514, allocations: 0 / 476.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.1516, allocations: 55.95 kB / 477 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007246/0.1523, allocations: 420.5 kB / 477.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.1526, allocations: 66.55 kB / 477.5 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.307e-05/0.1527, allocations: 28.97 kB / 477.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.1528, allocations: 0 / 477.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.1528, allocations: 46.59 kB / 477.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.71e-07/0.1528, allocations: 0 / 477.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0017/0.1545, allocations: 0.5583 MB / 478.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.1546, allocations: 55.34 kB / 478.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008449/0.1555, allocations: 0.8574 MB / 479 MB, free: 6.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.1555, allocations: 25.7 kB / 479 MB, free: 6.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.1557, allocations: 215.9 kB / 479.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.1557, allocations: 39.45 kB / 479.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.1557, allocations: 9.719 kB / 479.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1559, allocations: 366.8 kB / 479.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.1561, allocations: 63.91 kB / 479.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.1562, allocations: 63.95 kB / 479.8 MB, free: 5.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.1565, allocations: 140.7 kB / 479.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1565, allocations: 0 / 479.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004055/0.157, allocations: 213 kB / 480.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.157, allocations: 15.88 kB / 480.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.157, allocations: 0 / 480.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.157, allocations: 0 / 480.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1571, allocations: 36.48 kB / 480.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.1572, allocations: 0 / 480.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.292e-05/0.1573, allocations: 15.98 kB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1573, allocations: 4 kB / 480.2 MB, free: 5.16 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 (11): * Single equations (assignments): 11 * 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.0002141/0.1575, allocations: 222.2 kB / 480.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/0.1576, allocations: 51.44 kB / 480.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000516/0.1581, allocations: 237.8 kB / 480.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.1581, allocations: 7.938 kB / 480.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.1581, allocations: 4 kB / 480.7 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1581, allocations: 3.984 kB / 480.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.1592, allocations: 0.6054 MB / 481.3 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.1592, allocations: 0 / 481.3 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.1593, allocations: 39.86 kB / 481.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.1593, allocations: 0 / 481.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.1593, allocations: 8.062 kB / 481.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.1593, allocations: 4 kB / 481.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1593, allocations: 0 / 481.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/0.1599, allocations: 320.6 kB / 481.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.053e-05/0.16, allocations: 112.5 kB / 481.8 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/0.16, allocations: 7.984 kB / 481.8 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.1601, allocations: 8 kB / 481.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.1602, allocations: 19.92 kB / 481.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.1602, allocations: 4 kB / 481.8 MB, free: 3.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006877/0.1609, allocations: 0.6472 MB / 482.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1609, allocations: 0 / 482.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003073/0.1612, allocations: 32 kB / 482.5 MB, free: 2.727 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001232/0.1625, allocations: 457.9 kB / 482.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003835/0.1629, allocations: 147.8 kB / 483.1 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1629, allocations: 0 / 483.1 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.1631, allocations: 71.91 kB / 483.2 MB, free: 2.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.1635, allocations: 38.02 kB / 483.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.1647, allocations: 0.9562 MB / 484.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.1651, allocations: 0.8379 MB / 485 MB, free: 356 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.359e-05/0.1652, allocations: 40.36 kB / 485 MB, free: 312 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.1653, allocations: 19.44 kB / 485 MB, free: 292 kB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1653, allocations: 0 / 485 MB, free: 292 kB / 350.1 MB Notification: Performance of Templates: time 0.005218/0.1705, allocations: 1.754 MB / 486.8 MB, free: 14.55 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches