Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009835/0.000984, 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.001319/0.001319, allocations: 183.6 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 1.987/1.987, allocations: 205.4 MB / 223.1 MB, free: 5.562 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.5096/0.5096, allocations: 43.57 MB / 315 MB, free: 9.066 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.0005453/0.0005455, allocations: 16 kB / 384.6 MB, free: 7.895 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1713, allocations: 58.87 MB / 443.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002412/0.1738, allocations: 1.271 MB / 444.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006688/0.1745, allocations: 319.6 kB / 445 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.1745, allocations: 0 / 445 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003588/0.1749, allocations: 111.8 kB / 445.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.1751, allocations: 83.83 kB / 445.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.1753, allocations: 75.84 kB / 445.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.1755, allocations: 63.89 kB / 445.4 MB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1757, allocations: 27.91 kB / 445.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.009e-05/0.1758, allocations: 39.83 kB / 445.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.1759, allocations: 75.84 kB / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1759, allocations: 4 kB / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.012e-05/0.176, allocations: 20 kB / 445.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.059e-05/0.1761, allocations: 31.84 kB / 445.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.732e-05/0.1762, allocations: 53.44 kB / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.1764, allocations: 103.9 kB / 445.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1764, allocations: 0 / 445.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.97e-06/0.1764, allocations: 0 / 445.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1764, allocations: 3.938 kB / 445.7 MB, free: 10.64 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.0005686/0.177, allocations: 407 kB / 446.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.177, allocations: 8.031 kB / 446.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.1771, allocations: 12.84 kB / 446.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.1773, allocations: 211.7 kB / 446.3 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1773, allocations: 384 / 446.3 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.1774, allocations: 384 / 446.3 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.1775, allocations: 53.81 kB / 446.4 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1775, allocations: 0 / 446.4 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1776, allocations: 4 kB / 446.4 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1776, allocations: 3.938 kB / 446.4 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.948e-05/0.1777, allocations: 31.91 kB / 446.4 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.1781, allocations: 284.8 kB / 446.7 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.1783, allocations: 50.56 kB / 446.7 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.471e-05/0.1784, allocations: 16.94 kB / 446.8 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.1784, allocations: 7.922 kB / 446.8 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.1785, allocations: 42.5 kB / 446.8 MB, free: 9.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1785, allocations: 0 / 446.8 MB, free: 9.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006183/0.1791, allocations: 173 kB / 447 MB, free: 9.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.1791, allocations: 51.41 kB / 447 MB, free: 9.129 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.1794, allocations: 263.3 kB / 447.3 MB, free: 8.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1794, allocations: 29.7 kB / 447.3 MB, free: 8.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.668e-05/0.1795, allocations: 112.1 kB / 447.4 MB, free: 8.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.1796, allocations: 23.78 kB / 447.5 MB, free: 8.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.1796, allocations: 9.719 kB / 447.5 MB, free: 8.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1798, allocations: 326.8 kB / 447.8 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.367e-05/0.1799, allocations: 23.98 kB / 447.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.99e-05/0.1799, allocations: 23.98 kB / 447.8 MB, free: 8.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.1801, allocations: 52.83 kB / 447.9 MB, free: 8.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1801, allocations: 0 / 447.9 MB, free: 8.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001899/0.1803, allocations: 101.4 kB / 448 MB, free: 8.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1803, allocations: 4 kB / 448 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1803, allocations: 0 / 448 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1803, allocations: 0 / 448 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.1804, allocations: 15.98 kB / 448 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1804, allocations: 0 / 448 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.342e-05/0.1805, allocations: 11.94 kB / 448 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1805, allocations: 4 kB / 448 MB, free: 8.105 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.0001148/0.1806, allocations: 141.8 kB / 448.2 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.1806, allocations: 11.81 kB / 448.2 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.1809, allocations: 106.6 kB / 448.3 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1809, allocations: 4 kB / 448.3 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1809, allocations: 0 / 448.3 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1809, allocations: 0 / 448.3 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004299/0.1814, allocations: 366.9 kB / 448.6 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1814, allocations: 3.938 kB / 448.6 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.1814, allocations: 23.98 kB / 448.7 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1814, allocations: 0 / 448.7 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.1815, allocations: 4 kB / 448.7 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1815, allocations: 7.875 kB / 448.7 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1815, allocations: 0 / 448.7 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.1817, allocations: 183.4 kB / 448.8 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.1818, allocations: 92.91 kB / 448.9 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.1818, allocations: 4 kB / 448.9 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.102e-05/0.1819, allocations: 11.94 kB / 449 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.1819, allocations: 3.984 kB / 449 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-06/0.1819, allocations: 4 kB / 449 MB, free: 7.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001668/0.1821, allocations: 203.4 kB / 449.2 MB, free: 6.844 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1821, allocations: 3.938 kB / 449.2 MB, free: 6.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.1824, allocations: 16 kB / 449.2 MB, free: 6.824 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.001001/0.1834, allocations: 397.6 kB / 449.6 MB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.1836, allocations: 55.91 kB / 449.6 MB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.1836, allocations: 4 kB / 449.6 MB, free: 6.402 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.362e-05/0.1837, allocations: 31.92 kB / 449.7 MB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.184, allocations: 15.98 kB / 449.7 MB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005354/0.1846, allocations: 293.9 kB / 450 MB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.1849, allocations: 0.7159 MB / 450.7 MB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.626e-05/0.185, allocations: 15.97 kB / 450.7 MB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.185, allocations: 15.38 kB / 450.7 MB, free: 5.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.185, allocations: 0 / 450.7 MB, free: 5.27 MB / 382.1 MB Notification: Performance of Templates: time 0.00393/0.189, allocations: 1.07 MB / 451.8 MB, free: 4.199 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches