Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009693/0.009692, allocations: 100.8 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.863/1.863, allocations: 205.1 MB / 222.7 MB, free: 4.703 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.3778/0.3778, allocations: 43.5 MB / 313.5 MB, free: 8.477 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.00181/0.00181, allocations: 60.47 kB / 382 MB, free: 8.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1682, allocations: 57.78 MB / 439.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.003786/0.1721, allocations: 1.64 MB / 441.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007308/0.1728, allocations: 303.6 kB / 441.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.129e-05/0.1729, allocations: 4 kB / 441.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006524/0.1736, allocations: 451.2 kB / 442.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003972/0.174, allocations: 243.5 kB / 442.4 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.1744, allocations: 107.8 kB / 442.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.1747, allocations: 151.7 kB / 442.7 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1748, allocations: 7.984 kB / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.175, allocations: 107.7 kB / 442.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.1752, allocations: 199.6 kB / 443 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.1753, allocations: 8 kB / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.299e-05/0.1754, allocations: 23.92 kB / 443 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.1755, allocations: 75.69 kB / 443.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.1756, allocations: 99.05 kB / 443.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.1759, allocations: 235 kB / 443.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1759, allocations: 0 / 443.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1759, allocations: 0 / 443.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.176, allocations: 0 / 443.4 MB, free: 11.2 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.0008546/0.1768, allocations: 0.63 MB / 444.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.1769, allocations: 12.03 kB / 444.1 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.677e-05/0.177, allocations: 40.47 kB / 444.1 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.1773, allocations: 300.1 kB / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.1773, allocations: 384 / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.1773, allocations: 8.312 kB / 444.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.1775, allocations: 53.81 kB / 444.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1775, allocations: 0 / 444.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1775, allocations: 0 / 444.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1775, allocations: 0 / 444.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.1776, allocations: 35.97 kB / 444.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.1781, allocations: 376.8 kB / 444.9 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.1783, allocations: 38.56 kB / 444.9 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.719e-05/0.1783, allocations: 24.88 kB / 444.9 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.1784, allocations: 4 kB / 444.9 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1784, allocations: 30.56 kB / 445 MB, free: 9.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.1784, allocations: 4 kB / 445 MB, free: 9.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003434/0.1788, allocations: 117 kB / 445.1 MB, free: 9.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.1788, allocations: 51.41 kB / 445.1 MB, free: 9.312 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008268/0.1796, allocations: 0.8574 MB / 446 MB, free: 8.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.1797, allocations: 29.69 kB / 446 MB, free: 8.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.1798, allocations: 208.1 kB / 446.2 MB, free: 8.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.1799, allocations: 7.812 kB / 446.2 MB, free: 8.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.1799, allocations: 17.72 kB / 446.2 MB, free: 8.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1801, allocations: 362.7 kB / 446.6 MB, free: 7.809 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.106e-05/0.1801, allocations: 12 kB / 446.6 MB, free: 7.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.179e-05/0.1802, allocations: 11.98 kB / 446.6 MB, free: 7.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.1803, allocations: 45.11 kB / 446.7 MB, free: 7.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1803, allocations: 0 / 446.7 MB, free: 7.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001921/0.1805, allocations: 105.1 kB / 446.8 MB, free: 7.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1805, allocations: 7.984 kB / 446.8 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1806, allocations: 0 / 446.8 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1806, allocations: 0 / 446.8 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.857e-05/0.1807, allocations: 8 kB / 446.8 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1807, allocations: 4 kB / 446.8 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.531e-05/0.1807, allocations: 15.92 kB / 446.8 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.1808, allocations: 0 / 446.8 MB, free: 7.594 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 (3): * Single equations (assignments): 3 * 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.0001787/0.1809, allocations: 209.7 kB / 447 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.181, allocations: 39.44 kB / 447.1 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.1813, allocations: 128.9 kB / 447.2 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1813, allocations: 0 / 447.2 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1813, allocations: 7.938 kB / 447.2 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1813, allocations: 0 / 447.2 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.1816, allocations: 289.5 kB / 447.5 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1816, allocations: 0 / 447.5 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.596e-05/0.1816, allocations: 4 kB / 447.5 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1816, allocations: 4 kB / 447.5 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.1817, allocations: 0 / 447.5 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1817, allocations: 0 / 447.5 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1817, allocations: 0 / 447.5 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.1819, allocations: 203 kB / 447.7 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.182, allocations: 112.5 kB / 447.8 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.1821, allocations: 0 / 447.8 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.1822, allocations: 7.984 kB / 447.8 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.1822, allocations: 4 kB / 447.8 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.1822, allocations: 3.938 kB / 447.8 MB, free: 6.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006595/0.1829, allocations: 0.6433 MB / 448.4 MB, free: 5.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1829, allocations: 4 kB / 448.4 MB, free: 5.852 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.1832, allocations: 16 kB / 448.5 MB, free: 5.836 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 (3): * Single equations (assignments): 3 * 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.000878/0.1841, allocations: 351.3 kB / 448.8 MB, free: 5.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.1843, allocations: 47.89 kB / 448.9 MB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.1843, allocations: 0 / 448.9 MB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.567e-05/0.1844, allocations: 23.86 kB / 448.9 MB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.1848, allocations: 25.95 kB / 448.9 MB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.186, allocations: 0.8362 MB / 449.7 MB, free: 4.551 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.1865, allocations: 0.8185 MB / 450.6 MB, free: 3.707 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.851e-05/0.1865, allocations: 11.97 kB / 450.6 MB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.1866, allocations: 15.44 kB / 450.6 MB, free: 3.68 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1866, allocations: 0 / 450.6 MB, free: 3.68 MB / 382.1 MB Notification: Performance of Templates: time 0.004471/0.1911, allocations: 1.245 MB / 451.8 MB, free: 2.434 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches