Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 109.1 kB / 16.41 MB, free: 6.445 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.001205/0.001205, allocations: 185 kB / 17.34 MB, free: 5.742 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.493/1.493, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3042/0.3042, allocations: 43.53 MB / 314.1 MB, free: 460 kB / 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.001817/0.001817, allocations: 71.89 kB / 441.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1651, allocations: 57.78 MB / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003598/0.1688, allocations: 1.689 MB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.1704, allocations: 0.8078 MB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.083e-05/0.1705, allocations: 3.938 kB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003795/0.1709, allocations: 31.83 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.1711, allocations: 55.7 kB / 0.4905 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.1714, allocations: 87.78 kB / 0.4906 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.1716, allocations: 95.67 kB / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.1717, allocations: 24.2 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.338e-05/0.1718, allocations: 35.78 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.129e-05/0.1719, allocations: 35.84 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.1719, allocations: 4 kB / 0.4908 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.1721, allocations: 35.98 kB / 0.4908 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.283e-05/0.1721, allocations: 27.86 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.56e-05/0.1722, allocations: 31.8 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.1724, allocations: 111.5 kB / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1724, allocations: 0 / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1724, allocations: 0 / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1725, allocations: 4 kB / 0.491 GB, free: 8.645 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006192/0.1731, allocations: 398.9 kB / 0.4913 GB, free: 8.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1731, allocations: 11.89 kB / 0.4913 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.1732, allocations: 12.83 kB / 0.4914 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.1735, allocations: 212.7 kB / 0.4916 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.1735, allocations: 3.938 kB / 0.4916 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.1735, allocations: 4 kB / 0.4916 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.1737, allocations: 57.67 kB / 0.4916 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1737, allocations: 0 / 0.4916 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1737, allocations: 0 / 0.4916 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1737, allocations: 0 / 0.4916 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.562e-05/0.1738, allocations: 19.98 kB / 0.4916 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.1743, allocations: 284.8 kB / 0.4919 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.1745, allocations: 62.67 kB / 0.492 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.171e-05/0.1746, allocations: 20.84 kB / 0.492 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.1746, allocations: 0 / 0.492 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.1748, allocations: 71.39 kB / 0.4921 GB, free: 7.344 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1748, allocations: 0 / 0.4921 GB, free: 7.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005723/0.1754, allocations: 165.4 kB / 0.4922 GB, free: 7.176 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.1755, allocations: 67.33 kB / 0.4923 GB, free: 7.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.1756, allocations: 154.4 kB / 0.4924 GB, free: 6.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.1756, allocations: 37.62 kB / 0.4925 GB, free: 6.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.1758, allocations: 96.14 kB / 0.4926 GB, free: 6.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.1758, allocations: 31.72 kB / 0.4926 GB, free: 6.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.1759, allocations: 17.72 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.1761, allocations: 322.8 kB / 0.4929 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.218e-05/0.1761, allocations: 23.98 kB / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.5e-05/0.1762, allocations: 37.7 kB / 0.493 GB, free: 6.348 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.1763, allocations: 53.72 kB / 0.493 GB, free: 6.289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1763, allocations: 4 kB / 0.493 GB, free: 6.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001696/0.1765, allocations: 105.5 kB / 0.4931 GB, free: 6.176 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1765, allocations: 4 kB / 0.4931 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1765, allocations: 0 / 0.4931 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1765, allocations: 7.969 kB / 0.4931 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.126e-05/0.1766, allocations: 23.92 kB / 0.4932 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1767, allocations: 0 / 0.4932 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.553e-05/0.1767, allocations: 8 kB / 0.4932 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1767, allocations: 3.938 kB / 0.4932 GB, free: 6.129 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.783e-05/0.1768, allocations: 121.8 kB / 0.4933 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.1768, allocations: 7.953 kB / 0.4933 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/0.1769, allocations: 20.64 kB / 0.4933 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1769, allocations: 4 kB / 0.4933 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1769, allocations: 4 kB / 0.4933 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1769, allocations: 0 / 0.4933 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004164/0.1773, allocations: 391.2 kB / 0.4937 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1774, allocations: 0 / 0.4937 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.108e-05/0.1774, allocations: 8 kB / 0.4937 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1774, allocations: 3.984 kB / 0.4937 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1774, allocations: 7.984 kB / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.1774, allocations: 0 / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1774, allocations: 384 / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.1777, allocations: 216.5 kB / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.1777, allocations: 85.06 kB / 0.494 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.1778, allocations: 0 / 0.494 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.1778, allocations: 7.984 kB / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.1779, allocations: 8 kB / 0.494 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.1779, allocations: 4 kB / 0.494 GB, free: 5.148 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.437e-05/0.178, allocations: 131.9 kB / 0.4941 GB, free: 5.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.178, allocations: 0 / 0.4941 GB, free: 5.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.1783, allocations: 28.11 kB / 0.4942 GB, free: 4.992 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001129/0.1794, allocations: 466.5 kB / 0.4946 GB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.1796, allocations: 59.86 kB / 0.4947 GB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1796, allocations: 0 / 0.4947 GB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.557e-05/0.1797, allocations: 35.92 kB / 0.4947 GB, free: 4.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.18, allocations: 31.27 kB / 0.4947 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004348/0.1805, allocations: 202.8 kB / 0.4949 GB, free: 4.227 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.1809, allocations: 0.6924 MB / 0.4956 GB, free: 3.508 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.158e-05/0.1809, allocations: 17.17 kB / 0.4956 GB, free: 3.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.1809, allocations: 15.44 kB / 0.4956 GB, free: 3.473 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.181, allocations: 0 / 0.4956 GB, free: 3.473 MB / 382.1 MB Notification: Performance of Templates: time 0.004831/0.1858, allocations: 1.693 MB / 0.4973 GB, free: 1.785 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches