Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008887/0.0008887, allocations: 103 kB / 16.02 MB, free: 76 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.001259/0.001259, allocations: 184.5 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.4 MB / 223.1 MB, free: 5.766 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.4795/0.4795, allocations: 43.58 MB / 315 MB, free: 8.914 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.0005718/0.0005723, allocations: 12 kB / 384.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1686, allocations: 58.87 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002901/0.1716, allocations: 1.337 MB / 444.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009574/0.1726, allocations: 335.7 kB / 445.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.126e-05/0.1728, allocations: 4 kB / 445.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003645/0.1731, allocations: 63.84 kB / 445.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.1734, allocations: 51.88 kB / 445.2 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.174, allocations: 147.7 kB / 445.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.1743, allocations: 79.77 kB / 445.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.1745, allocations: 28.22 kB / 445.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.722e-05/0.1746, allocations: 27.92 kB / 445.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.1747, allocations: 47.81 kB / 445.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.1747, allocations: 4 kB / 445.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.1749, allocations: 23.98 kB / 445.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.175, allocations: 23.92 kB / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.434e-05/0.1751, allocations: 57.39 kB / 445.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.1753, allocations: 95.62 kB / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1754, allocations: 0 / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1754, allocations: 0 / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1754, allocations: 0 / 445.7 MB, free: 10.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006792/0.1761, allocations: 403.1 kB / 446.1 MB, free: 10.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/0.1761, allocations: 11.97 kB / 446.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.069e-05/0.1762, allocations: 8.844 kB / 446.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.1765, allocations: 204 kB / 446.4 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1765, allocations: 384 / 446.4 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.1765, allocations: 4.375 kB / 446.4 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.1768, allocations: 73.73 kB / 446.4 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.1768, allocations: 0 / 446.4 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.1768, allocations: 4 kB / 446.4 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1769, allocations: 0 / 446.4 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.177, allocations: 43.97 kB / 446.5 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006438/0.1777, allocations: 328.6 kB / 446.8 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.1779, allocations: 50.5 kB / 446.9 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.216e-05/0.178, allocations: 32.94 kB / 446.9 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.178, allocations: 4 kB / 446.9 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.178, allocations: 30.56 kB / 446.9 MB, free: 9.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.178, allocations: 0 / 446.9 MB, free: 9.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009766/0.179, allocations: 269.2 kB / 447.2 MB, free: 8.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.1791, allocations: 51.41 kB / 447.2 MB, free: 8.922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.1793, allocations: 203.3 kB / 447.4 MB, free: 8.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.1794, allocations: 29.7 kB / 447.5 MB, free: 8.676 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.1795, allocations: 104 kB / 447.6 MB, free: 8.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.1796, allocations: 23.7 kB / 447.6 MB, free: 8.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.1796, allocations: 13.72 kB / 447.6 MB, free: 8.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1798, allocations: 330.8 kB / 447.9 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.1799, allocations: 43.97 kB / 448 MB, free: 8.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.1801, allocations: 47.97 kB / 448 MB, free: 8.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.1803, allocations: 112.7 kB / 448.1 MB, free: 7.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1804, allocations: 0 / 448.1 MB, free: 7.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003622/0.1807, allocations: 137.5 kB / 448.3 MB, free: 7.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.1808, allocations: 8 kB / 448.3 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.1808, allocations: 0 / 448.3 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/0.1808, allocations: 0 / 448.3 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.181, allocations: 23.98 kB / 448.3 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.181, allocations: 3.984 kB / 448.3 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.031e-05/0.1811, allocations: 11.94 kB / 448.3 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.1811, allocations: 8.312 kB / 448.3 MB, free: 7.797 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 (7): * Single equations (assignments): 7 * 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.0001697/0.1813, allocations: 137.8 kB / 448.4 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.1813, allocations: 11.84 kB / 448.5 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004582/0.1818, allocations: 162.9 kB / 448.6 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1818, allocations: 0 / 448.6 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.1818, allocations: 4 kB / 448.6 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1818, allocations: 3.938 kB / 448.6 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006976/0.1826, allocations: 438.4 kB / 449 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1826, allocations: 0 / 449 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.1827, allocations: 23.98 kB / 449.1 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1827, allocations: 0 / 449.1 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1827, allocations: 7.938 kB / 449.1 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1827, allocations: 0 / 449.1 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.1827, allocations: 4 kB / 449.1 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.1832, allocations: 235.6 kB / 449.3 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.1832, allocations: 85.02 kB / 449.4 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.1833, allocations: 3.938 kB / 449.4 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.406e-05/0.1834, allocations: 23.97 kB / 449.4 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/0.1835, allocations: 7.984 kB / 449.4 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.1835, allocations: 4 kB / 449.4 MB, free: 6.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.1836, allocations: 156.9 kB / 449.6 MB, free: 6.406 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1837, allocations: 0 / 449.6 MB, free: 6.406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.1839, allocations: 20 kB / 449.6 MB, free: 6.387 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 (7): * Single equations (assignments): 7 * 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.001177/0.1851, allocations: 415.4 kB / 450 MB, free: 6.008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000412/0.1856, allocations: 111.9 kB / 450.1 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.1856, allocations: 0 / 450.1 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.1857, allocations: 59.91 kB / 450.2 MB, free: 5.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.1862, allocations: 19.89 kB / 450.2 MB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006417/0.1868, allocations: 286.1 kB / 450.5 MB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.1873, allocations: 0.7122 MB / 451.2 MB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.1874, allocations: 24.27 kB / 451.2 MB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.1874, allocations: 11.44 kB / 451.2 MB, free: 4.738 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1874, allocations: 0 / 451.2 MB, free: 4.738 MB / 382.1 MB Notification: Performance of Templates: time 0.005289/0.1927, allocations: 1.191 MB / 452.4 MB, free: 3.547 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches