Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001894/0.001894, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002294/0.002295, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.579/1.579, allocations: 227.4 MB / 246.3 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2532/0.2532, allocations: 46.12 MB / 343.7 MB, free: 11.78 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003533/0.003533, allocations: 85.84 kB / 416.9 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1716, allocations: 62.44 MB / 479.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003436/0.1751, allocations: 1.731 MB / 481.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1762, allocations: 0.5572 MB / 481.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.1762, allocations: 0 / 481.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.1765, allocations: 59.86 kB / 481.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.1768, allocations: 79.73 kB / 481.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.1771, allocations: 122.9 kB / 481.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1773, allocations: 79.77 kB / 482 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.1774, allocations: 24.2 kB / 482 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.077e-05/0.1775, allocations: 27.86 kB / 482 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.1777, allocations: 55.81 kB / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.1777, allocations: 0 / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.1778, allocations: 51.92 kB / 482.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.923e-05/0.1779, allocations: 23.91 kB / 482.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.178, allocations: 35.69 kB / 482.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.1782, allocations: 103.7 kB / 482.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1782, allocations: 0 / 482.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1782, allocations: 4 kB / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1782, allocations: 0 / 482.3 MB, free: 2.719 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.00067/0.1789, allocations: 411.3 kB / 482.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.179, allocations: 12.02 kB / 482.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.179, allocations: 8.844 kB / 482.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.1793, allocations: 196.1 kB / 482.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1793, allocations: 384 / 482.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.1793, allocations: 16.3 kB / 482.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.1796, allocations: 69.8 kB / 483 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.1796, allocations: 8 kB / 483 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1796, allocations: 0 / 483 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1796, allocations: 0 / 483 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.1798, allocations: 47.89 kB / 483.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.1803, allocations: 308.6 kB / 483.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.1805, allocations: 62.58 kB / 483.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.719e-05/0.1806, allocations: 24.97 kB / 483.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.1806, allocations: 0 / 483.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.1807, allocations: 30.56 kB / 483.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.1807, allocations: 4 kB / 483.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001458/0.1822, allocations: 380.9 kB / 483.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.1822, allocations: 59.34 kB / 483.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.1824, allocations: 190.2 kB / 484.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1824, allocations: 25.7 kB / 484.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.162e-05/0.1825, allocations: 108.1 kB / 484.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/0.1826, allocations: 31.47 kB / 484.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.1826, allocations: 29.7 kB / 484.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1828, allocations: 322.8 kB / 484.6 MB, free: 212 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.1829, allocations: 47.91 kB / 484.7 MB, free: 164 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.1831, allocations: 43.91 kB / 484.7 MB, free: 120 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.1833, allocations: 109.1 kB / 484.8 MB, free: 8 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1833, allocations: 0 / 484.8 MB, free: 8 kB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003345/0.1837, allocations: 137.5 kB / 484.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1837, allocations: 7.938 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1837, allocations: 7.938 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1837, allocations: 0 / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.1838, allocations: 40.41 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1839, allocations: 0 / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.814e-05/0.1839, allocations: 15.98 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1839, allocations: 0 / 485 MB, free: 15.8 MB / 366.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.0001098/0.1841, allocations: 125.8 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.1841, allocations: 7.906 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004056/0.1845, allocations: 166.3 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.1845, allocations: 7.875 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.1845, allocations: 3.984 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1846, allocations: 0 / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000725/0.1853, allocations: 476 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.1853, allocations: 0 / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.1854, allocations: 39.84 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1854, allocations: 0 / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1854, allocations: 0 / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1855, allocations: 4 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1855, allocations: 0 / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004087/0.1859, allocations: 257 kB / 486.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-05/0.1859, allocations: 84.92 kB / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.186, allocations: 4 kB / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.854e-05/0.1861, allocations: 15.98 kB / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.1861, allocations: 11.98 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.1861, allocations: 0 / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.1863, allocations: 139.2 kB / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1863, allocations: 0 / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1866, allocations: 31.98 kB / 486.4 MB, free: 14.33 MB / 366.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.001732/0.1883, allocations: 460.4 kB / 486.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003491/0.1887, allocations: 99.88 kB / 486.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.1887, allocations: 4 kB / 486.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.1888, allocations: 63.89 kB / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.1893, allocations: 19.92 kB / 487 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000699/0.19, allocations: 318.2 kB / 487.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.1904, allocations: 0.7122 MB / 488 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.736e-05/0.1905, allocations: 16.55 kB / 488 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.1906, allocations: 27.36 kB / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1906, allocations: 0 / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of Templates: time 0.004737/0.1953, allocations: 1.472 MB / 489.5 MB, free: 11.27 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches