Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1D.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 97.02 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.001117/0.001117, allocations: 183.8 kB / 16.92 MB, free: 6.934 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.158/2.158, allocations: 205.4 MB / 223.1 MB, free: 5.547 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.4423/0.4423, allocations: 43.57 MB / 315 MB, free: 8.812 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.0005554/0.0005557, allocations: 12 kB / 384.6 MB, free: 7.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1576, allocations: 58.87 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.002665/0.1603, allocations: 1.267 MB / 444.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000915/0.1613, allocations: 319.6 kB / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.1614, allocations: 0 / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.1618, allocations: 71.78 kB / 445.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.162, allocations: 59.88 kB / 445.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.1624, allocations: 87.83 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.1626, allocations: 55.89 kB / 445.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.1627, allocations: 23.97 kB / 445.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.927e-05/0.1628, allocations: 23.86 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.163, allocations: 39.89 kB / 445.4 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.163, allocations: 0 / 445.4 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.186e-05/0.1631, allocations: 31.92 kB / 445.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.776e-05/0.1632, allocations: 15.92 kB / 445.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.352e-05/0.1633, allocations: 53.5 kB / 445.5 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.1635, allocations: 83.94 kB / 445.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.1635, allocations: 0 / 445.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.889e-06/0.1635, allocations: 0 / 445.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1635, allocations: 4 kB / 445.6 MB, free: 10.55 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.0006861/0.1642, allocations: 379.2 kB / 445.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/0.1643, allocations: 11.97 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.1643, allocations: 12.84 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.1647, allocations: 196 kB / 446.1 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.1647, allocations: 384 / 446.1 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.1647, allocations: 4.375 kB / 446.2 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.1649, allocations: 61.8 kB / 446.2 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1649, allocations: 0 / 446.2 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.165, allocations: 0 / 446.2 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.165, allocations: 3.984 kB / 446.2 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.701e-05/0.1651, allocations: 31.98 kB / 446.2 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005162/0.1656, allocations: 288.8 kB / 446.5 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.1658, allocations: 54.5 kB / 446.6 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.1659, allocations: 16.94 kB / 446.6 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1659, allocations: 0 / 446.6 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.1659, allocations: 30.56 kB / 446.6 MB, free: 9.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.166, allocations: 4 kB / 446.6 MB, free: 9.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000574/0.1665, allocations: 169.2 kB / 446.8 MB, free: 9.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1666, allocations: 59.41 kB / 446.9 MB, free: 9.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.1668, allocations: 190.2 kB / 447 MB, free: 8.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.1668, allocations: 29.69 kB / 447.1 MB, free: 8.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.1669, allocations: 100 kB / 447.2 MB, free: 8.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.1669, allocations: 15.8 kB / 447.2 MB, free: 8.723 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.167, allocations: 13.72 kB / 447.2 MB, free: 8.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1671, allocations: 326.8 kB / 447.5 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.189e-05/0.1672, allocations: 23.98 kB / 447.5 MB, free: 8.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-05/0.1672, allocations: 27.92 kB / 447.6 MB, free: 8.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.1674, allocations: 60.83 kB / 447.6 MB, free: 8.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1674, allocations: 4 kB / 447.6 MB, free: 8.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001877/0.1676, allocations: 93.56 kB / 447.7 MB, free: 8.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1676, allocations: 8 kB / 447.7 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1676, allocations: 0 / 447.7 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1676, allocations: 0 / 447.7 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.066e-05/0.1677, allocations: 12 kB / 447.7 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.1677, allocations: 11.97 kB / 447.8 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.006e-05/0.1678, allocations: 7.938 kB / 447.8 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.1678, allocations: 4 kB / 447.8 MB, free: 8.117 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.0001164/0.1679, allocations: 129.7 kB / 447.9 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.1679, allocations: 7.906 kB / 447.9 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.1682, allocations: 106 kB / 448 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1682, allocations: 0 / 448 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1682, allocations: 0 / 448 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1683, allocations: 3.984 kB / 448 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004864/0.1688, allocations: 378.8 kB / 448.4 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1688, allocations: 3.984 kB / 448.4 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.437e-05/0.1688, allocations: 12 kB / 448.4 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1688, allocations: 0 / 448.4 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.1689, allocations: 0 / 448.4 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.1689, allocations: 3.938 kB / 448.4 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1689, allocations: 0 / 448.4 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.1692, allocations: 203.3 kB / 448.6 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1693, allocations: 89 kB / 448.7 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.1693, allocations: 0 / 448.7 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.609e-05/0.1694, allocations: 7.938 kB / 448.7 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.1694, allocations: 7.984 kB / 448.7 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.1695, allocations: 4 kB / 448.7 MB, free: 7.074 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.1696, allocations: 151.9 kB / 448.9 MB, free: 6.926 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1696, allocations: 0 / 448.9 MB, free: 6.926 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1699, allocations: 15.98 kB / 448.9 MB, free: 6.91 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.001084/0.171, allocations: 409.5 kB / 449.3 MB, free: 6.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.1712, allocations: 67.95 kB / 449.3 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1712, allocations: 0 / 449.3 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.07e-05/0.1713, allocations: 31.92 kB / 449.4 MB, free: 6.438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.1716, allocations: 19.97 kB / 449.4 MB, free: 6.418 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.1721, allocations: 233.1 kB / 449.6 MB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.1724, allocations: 0.7004 MB / 450.3 MB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.325e-05/0.1724, allocations: 11.98 kB / 450.3 MB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.1725, allocations: 15.44 kB / 450.3 MB, free: 5.406 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1725, allocations: 3.938 kB / 450.3 MB, free: 5.402 MB / 382.1 MB Notification: Performance of Templates: time 0.003702/0.1762, allocations: 1.038 MB / 451.4 MB, free: 4.363 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches