Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12") translateModel(ModelicaTest.Tables.CombiTable1D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009337/0.0009338, allocations: 92.22 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 180.6 kB / 16.91 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 223.1 MB, free: 5.805 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5181/0.5181, allocations: 43.57 MB / 315 MB, free: 8.668 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005608/0.0005609, allocations: 16 kB / 384.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1648, allocations: 58.86 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test12): time 0.002293/0.1672, allocations: 1.275 MB / 444.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006694/0.1679, allocations: 323.7 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.1679, allocations: 3.938 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002164/0.1682, allocations: 19.92 kB / 445.1 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.1683, allocations: 27.91 kB / 445.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.1686, allocations: 87.83 kB / 445.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.1687, allocations: 59.84 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1688, allocations: 11.97 kB / 445.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.705e-05/0.1689, allocations: 15.94 kB / 445.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.397e-05/0.1689, allocations: 19.86 kB / 445.3 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.1689, allocations: 0 / 445.3 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.169, allocations: 39.91 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.1691, allocations: 8 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.1691, allocations: 45.5 kB / 445.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.1693, allocations: 79.95 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1693, allocations: 0 / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1693, allocations: 0 / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1693, allocations: 0 / 445.4 MB, free: 10.66 MB / 382.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.0004648/0.1698, allocations: 383.2 kB / 445.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1698, allocations: 8.031 kB / 445.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.1699, allocations: 8.844 kB / 445.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.1701, allocations: 196.2 kB / 446 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.1701, allocations: 4.375 kB / 446 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.1701, allocations: 4.312 kB / 446 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.1702, allocations: 53.81 kB / 446.1 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1703, allocations: 4 kB / 446.1 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1703, allocations: 0 / 446.1 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1703, allocations: 0 / 446.1 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.183e-05/0.1704, allocations: 27.97 kB / 446.1 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.1708, allocations: 296.8 kB / 446.4 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.171, allocations: 46.5 kB / 446.5 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.1711, allocations: 20.94 kB / 446.5 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.1711, allocations: 4 kB / 446.5 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.1711, allocations: 30.56 kB / 446.5 MB, free: 9.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.1711, allocations: 0 / 446.5 MB, free: 9.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005722/0.1717, allocations: 169.3 kB / 446.7 MB, free: 9.258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.1717, allocations: 55.41 kB / 446.7 MB, free: 9.191 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.1719, allocations: 162.5 kB / 446.9 MB, free: 9.023 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1719, allocations: 29.7 kB / 446.9 MB, free: 8.988 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.172, allocations: 96.08 kB / 447 MB, free: 8.891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.172, allocations: 15.73 kB / 447 MB, free: 8.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.172, allocations: 17.72 kB / 447 MB, free: 8.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1722, allocations: 326.8 kB / 447.4 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.076e-05/0.1722, allocations: 23.98 kB / 447.4 MB, free: 8.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.481e-05/0.1723, allocations: 27.92 kB / 447.4 MB, free: 8.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1725, allocations: 60.83 kB / 447.5 MB, free: 8.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1725, allocations: 0 / 447.5 MB, free: 8.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001897/0.1727, allocations: 93.56 kB / 447.6 MB, free: 8.312 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1727, allocations: 4 kB / 447.6 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1727, allocations: 0 / 447.6 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1727, allocations: 8.25 kB / 447.6 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.872e-05/0.1728, allocations: 12.27 kB / 447.6 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1728, allocations: 8 kB / 447.6 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/0.1728, allocations: 4 kB / 447.6 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.1728, allocations: 4 kB / 447.6 MB, free: 8.273 MB / 382.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 (5): * Single equations (assignments): 5 * 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.0001004/0.1729, allocations: 133.7 kB / 447.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.173, allocations: 7.906 kB / 447.7 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.1732, allocations: 109.9 kB / 447.8 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1732, allocations: 4 kB / 447.9 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1732, allocations: 0 / 447.9 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1732, allocations: 3.984 kB / 447.9 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.1737, allocations: 366.4 kB / 448.2 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1737, allocations: 0 / 448.2 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-05/0.1738, allocations: 15.98 kB / 448.2 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1738, allocations: 0 / 448.2 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1738, allocations: 3.938 kB / 448.2 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.1738, allocations: 7.938 kB / 448.2 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1738, allocations: 4 kB / 448.2 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.174, allocations: 191.4 kB / 448.4 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.1741, allocations: 85.02 kB / 448.5 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.1741, allocations: 3.984 kB / 448.5 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-05/0.1742, allocations: 11.94 kB / 448.5 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.1742, allocations: 4.188 kB / 448.5 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.1742, allocations: 7.984 kB / 448.5 MB, free: 7.227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1743, allocations: 138.6 kB / 448.7 MB, free: 7.094 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1743, allocations: 0 / 448.7 MB, free: 7.094 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.1746, allocations: 12 kB / 448.7 MB, free: 7.082 MB / 382.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 (5): * Single equations (assignments): 5 * 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.0009579/0.1755, allocations: 400.9 kB / 449.1 MB, free: 6.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.1757, allocations: 55.97 kB / 449.1 MB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1758, allocations: 0 / 449.1 MB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.988e-05/0.1758, allocations: 31.92 kB / 449.2 MB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.1762, allocations: 23.97 kB / 449.2 MB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/0.1766, allocations: 213.3 kB / 449.4 MB, free: 6.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.177, allocations: 0.6965 MB / 450.1 MB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.094e-05/0.177, allocations: 16.25 kB / 450.1 MB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.1771, allocations: 15.42 kB / 450.1 MB, free: 5.621 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1771, allocations: 0 / 450.1 MB, free: 5.621 MB / 382.1 MB Notification: Performance of Templates: time 0.003559/0.1806, allocations: 1.034 MB / 451.2 MB, free: 4.586 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches