Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.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.CombiTable1Ds.Test23,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.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 96.14 kB / 15.87 MB, free: 16 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.001537/0.001536, allocations: 202.9 kB / 16.79 MB, free: 6.84 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.817/1.817, allocations: 205.1 MB / 222.6 MB, free: 4.77 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.4829/0.4829, allocations: 43.5 MB / 313.5 MB, free: 8.207 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.001818/0.001817, allocations: 74.56 kB / 382 MB, free: 8.504 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1696, allocations: 57.79 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003568/0.1733, allocations: 1.614 MB / 441.4 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.1749, allocations: 0.9142 MB / 442.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.626e-05/0.175, allocations: 4 kB / 442.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.1753, allocations: 15.94 kB / 442.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.1755, allocations: 35.91 kB / 442.4 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.1757, allocations: 71.84 kB / 442.5 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.1759, allocations: 51.84 kB / 442.5 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.176, allocations: 15.97 kB / 442.5 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.507e-05/0.1761, allocations: 15.88 kB / 442.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.1762, allocations: 27.91 kB / 442.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.1762, allocations: 0 / 442.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.1764, allocations: 55.91 kB / 442.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.368e-05/0.1765, allocations: 7.984 kB / 442.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.1765, allocations: 19.88 kB / 442.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.1767, allocations: 91.94 kB / 442.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1767, allocations: 0 / 442.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1767, allocations: 0 / 442.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.1768, allocations: 0 / 442.8 MB, free: 11.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.0005553/0.1773, allocations: 379.2 kB / 443.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1774, allocations: 11.97 kB / 443.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.1774, allocations: 4.938 kB / 443.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.1777, allocations: 192.2 kB / 443.3 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1777, allocations: 4.375 kB / 443.3 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.1777, allocations: 8.281 kB / 443.3 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.1779, allocations: 67.47 kB / 443.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.178, allocations: 3.984 kB / 443.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.178, allocations: 0 / 443.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.178, allocations: 0 / 443.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.577e-05/0.1781, allocations: 23.98 kB / 443.4 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.1785, allocations: 272.9 kB / 443.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.1788, allocations: 42.5 kB / 443.7 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.726e-05/0.1789, allocations: 20.84 kB / 443.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.1789, allocations: 0 / 443.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.1789, allocations: 38.64 kB / 443.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1789, allocations: 0 / 443.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007789/0.1797, allocations: 133.4 kB / 443.9 MB, free: 10.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.1798, allocations: 81.11 kB / 444 MB, free: 10.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.18, allocations: 125.8 kB / 444.1 MB, free: 10.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.18, allocations: 33.7 kB / 444.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.1801, allocations: 95.98 kB / 444.3 MB, free: 9.941 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.1801, allocations: 15.81 kB / 444.3 MB, free: 9.926 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.1802, allocations: 17.7 kB / 444.3 MB, free: 9.902 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1803, allocations: 318.8 kB / 444.6 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.826e-05/0.1804, allocations: 19.98 kB / 444.6 MB, free: 9.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.009e-05/0.1805, allocations: 29.7 kB / 444.7 MB, free: 9.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.1806, allocations: 52.8 kB / 444.7 MB, free: 9.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1806, allocations: 0 / 444.7 MB, free: 9.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001733/0.1808, allocations: 77.58 kB / 444.8 MB, free: 9.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1808, allocations: 8 kB / 444.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1808, allocations: 4.188 kB / 444.8 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.1809, allocations: 3.984 kB / 444.8 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.3e-05/0.1809, allocations: 12 kB / 444.8 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.1809, allocations: 4 kB / 444.8 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.898e-05/0.181, allocations: 7.984 kB / 444.8 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.181, allocations: 4 kB / 444.8 MB, free: 9.348 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.000114/0.1811, allocations: 125.7 kB / 444.9 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.1812, allocations: 4 kB / 444.9 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.1814, allocations: 89.56 kB / 445 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1814, allocations: 0 / 445 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.1814, allocations: 0 / 445 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.1814, allocations: 8 kB / 445 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.1819, allocations: 354.3 kB / 445.4 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1819, allocations: 0 / 445.4 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.409e-05/0.182, allocations: 15.98 kB / 445.4 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.182, allocations: 0 / 445.4 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.182, allocations: 0 / 445.4 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.182, allocations: 3.938 kB / 445.4 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.182, allocations: 4 kB / 445.4 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.1822, allocations: 167.5 kB / 445.6 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.1823, allocations: 81.02 kB / 445.7 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.1823, allocations: 11.98 kB / 445.7 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.1824, allocations: 8.125 kB / 445.7 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.1824, allocations: 0 / 445.7 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1825, allocations: 4 kB / 445.7 MB, free: 8.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.948e-05/0.1826, allocations: 115.2 kB / 445.8 MB, free: 8.273 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1826, allocations: 0 / 445.8 MB, free: 8.273 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1828, allocations: 24 kB / 445.8 MB, free: 8.25 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.001029/0.1839, allocations: 434.2 kB / 446.2 MB, free: 7.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.1841, allocations: 47.97 kB / 446.3 MB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1841, allocations: 0 / 446.3 MB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.414e-05/0.1842, allocations: 27.92 kB / 446.3 MB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.1845, allocations: 19.92 kB / 446.3 MB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.1849, allocations: 175.2 kB / 446.5 MB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.1852, allocations: 0.6964 MB / 447.2 MB, free: 6.836 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.903e-05/0.1853, allocations: 7.984 kB / 447.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.1853, allocations: 15.42 kB / 447.2 MB, free: 6.812 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1853, allocations: 4 kB / 447.2 MB, free: 6.809 MB / 382.1 MB Notification: Performance of Templates: time 0.004184/0.1895, allocations: 1.284 MB / 448.5 MB, free: 5.523 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches