Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 95.22 kB / 16.99 MB, free: 5.941 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.001101/0.001101, allocations: 181.3 kB / 17.87 MB, free: 5.609 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.426/1.426, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2151/0.2151, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003307, allocations: 12 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1479, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002019/0.15, allocations: 1.274 MB / 472.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006907/0.1507, allocations: 367.6 kB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.618e-05/0.1507, allocations: 0 / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.151, allocations: 119.7 kB / 473.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.1512, allocations: 79.83 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.1515, allocations: 107.2 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.1517, allocations: 51.92 kB / 473.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1518, allocations: 12.19 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.563e-05/0.1519, allocations: 47.81 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.1521, allocations: 55.86 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1521, allocations: 4 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.288e-05/0.1522, allocations: 31.88 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.982e-05/0.1522, allocations: 23.91 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.1523, allocations: 37.64 kB / 473.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.1524, allocations: 83.88 kB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1525, allocations: 0 / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.1525, allocations: 0 / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1525, allocations: 0 / 473.7 MB, free: 11.44 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.0005322/0.153, allocations: 419.1 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.1531, allocations: 8.562 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.1531, allocations: 19.75 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.1534, allocations: 202.7 kB / 474.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1534, allocations: 0 / 474.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.1534, allocations: 4 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1536, allocations: 65.58 kB / 474.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1536, allocations: 3.906 kB / 474.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1536, allocations: 0 / 474.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1536, allocations: 0 / 474.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1537, allocations: 31.97 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.1542, allocations: 312.8 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.1543, allocations: 50.5 kB / 474.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1543, allocations: 0 / 474.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1544, allocations: 30.56 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1544, allocations: 0 / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009389/0.1553, allocations: 277.3 kB / 475.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.1554, allocations: 51.41 kB / 475.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.1556, allocations: 270.2 kB / 475.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1557, allocations: 29.69 kB / 475.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.49e-05/0.1557, allocations: 112.1 kB / 475.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.1558, allocations: 23.66 kB / 475.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.1558, allocations: 4 kB / 475.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1559, allocations: 330.8 kB / 475.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.374e-05/0.156, allocations: 35.97 kB / 476 MB, free: 9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.306e-05/0.1561, allocations: 31.92 kB / 476 MB, free: 8.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.99e-05/0.1562, allocations: 44.05 kB / 476 MB, free: 8.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1562, allocations: 0 / 476 MB, free: 8.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002233/0.1564, allocations: 121.5 kB / 476.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1565, allocations: 4 kB / 476.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.1565, allocations: 4.094 kB / 476.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1565, allocations: 3.984 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1566, allocations: 23.98 kB / 476.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1566, allocations: 0 / 476.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/0.1567, allocations: 12 kB / 476.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1567, allocations: 7.938 kB / 476.2 MB, free: 8.746 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.0001162/0.1568, allocations: 141.7 kB / 476.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.1569, allocations: 11.81 kB / 476.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/0.1571, allocations: 143.3 kB / 476.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1572, allocations: 0 / 476.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1572, allocations: 4 kB / 476.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1572, allocations: 0 / 476.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/0.1577, allocations: 439.2 kB / 476.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1577, allocations: 4 kB / 476.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.449e-05/0.1578, allocations: 23.86 kB / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1578, allocations: 4 kB / 477 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1578, allocations: 4 kB / 477 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1578, allocations: 32 / 477 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1578, allocations: 4 kB / 477 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.1581, allocations: 241.8 kB / 477.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.1582, allocations: 89.02 kB / 477.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.1582, allocations: 0 / 477.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.006e-05/0.1583, allocations: 11.98 kB / 477.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.1584, allocations: 7.953 kB / 477.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.1584, allocations: 4 kB / 477.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000175/0.1585, allocations: 203.2 kB / 477.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1586, allocations: 3.938 kB / 477.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.1588, allocations: 16 kB / 477.5 MB, free: 7.305 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.001028/0.1598, allocations: 456.2 kB / 478 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.1601, allocations: 79.95 kB / 478.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1601, allocations: 0 / 478.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.616e-05/0.1602, allocations: 51.89 kB / 478.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.1605, allocations: 16.17 kB / 478.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005569/0.161, allocations: 322.7 kB / 478.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.1614, allocations: 0.7277 MB / 479.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.178e-05/0.1615, allocations: 20.95 kB / 479.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.1615, allocations: 15.44 kB / 479.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1615, allocations: 0 / 479.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of Templates: time 0.003727/0.1653, allocations: 1.298 MB / 480.5 MB, free: 4.461 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches