Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009905/0.0009905, allocations: 102.8 kB / 16.02 MB, free: 76 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.001403/0.001403, allocations: 186.5 kB / 16.92 MB, free: 6.918 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.992/1.992, allocations: 205.4 MB / 223.1 MB, free: 5.754 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.5374/0.5374, allocations: 43.58 MB / 315 MB, free: 8.707 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.0005656/0.0005656, allocations: 27.98 kB / 384.6 MB, free: 7.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1718, allocations: 58.86 MB / 443.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002274/0.1741, allocations: 1.41 MB / 444.9 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.1756, allocations: 0.7807 MB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.1757, allocations: 0 / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.1759, allocations: 35.83 kB / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.176, allocations: 43.83 kB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.1763, allocations: 79.86 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.1764, allocations: 87.69 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.415e-05/0.1765, allocations: 16.22 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.755e-05/0.1766, allocations: 39.78 kB / 445.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.95e-05/0.1766, allocations: 31.84 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.1767, allocations: 4 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.974e-05/0.1767, allocations: 35.98 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.999e-05/0.1768, allocations: 15.86 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.518e-05/0.1769, allocations: 57.5 kB / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.177, allocations: 103.9 kB / 446.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.177, allocations: 0 / 446.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.177, allocations: 0 / 446.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.177, allocations: 0 / 446.2 MB, free: 9.902 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.0004384/0.1775, allocations: 391.2 kB / 446.6 MB, free: 9.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.1775, allocations: 8.031 kB / 446.6 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.1776, allocations: 12.83 kB / 446.6 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.1778, allocations: 204.7 kB / 446.8 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1778, allocations: 7.875 kB / 446.8 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.1778, allocations: 0 / 446.8 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.1779, allocations: 61.67 kB / 446.9 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.178, allocations: 0 / 446.9 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-06/0.178, allocations: 0 / 446.9 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.178, allocations: 11.92 kB / 446.9 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.835e-05/0.1781, allocations: 16 kB / 446.9 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.1784, allocations: 284.8 kB / 447.2 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.1786, allocations: 58.61 kB / 447.2 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.37e-05/0.1786, allocations: 28.83 kB / 447.2 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.1786, allocations: 4 kB / 447.2 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.1788, allocations: 67.3 kB / 447.3 MB, free: 8.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.1788, allocations: 0 / 447.3 MB, free: 8.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004247/0.1793, allocations: 169.3 kB / 447.5 MB, free: 8.434 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.1793, allocations: 55.34 kB / 447.5 MB, free: 8.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.1795, allocations: 162.4 kB / 447.7 MB, free: 8.195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1795, allocations: 29.7 kB / 447.7 MB, free: 8.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.1795, allocations: 96.14 kB / 447.8 MB, free: 8.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.1796, allocations: 27.64 kB / 447.8 MB, free: 8.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.1796, allocations: 17.72 kB / 447.9 MB, free: 8.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1798, allocations: 322.8 kB / 448.2 MB, free: 7.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.234e-05/0.1798, allocations: 19.92 kB / 448.2 MB, free: 7.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.494e-05/0.1799, allocations: 37.7 kB / 448.2 MB, free: 7.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.18, allocations: 57.72 kB / 448.3 MB, free: 7.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.18, allocations: 0 / 448.3 MB, free: 7.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001681/0.1802, allocations: 97.52 kB / 448.4 MB, free: 7.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.1802, allocations: 8 kB / 448.4 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.1802, allocations: 0 / 448.4 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.1802, allocations: 3.938 kB / 448.4 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.925e-05/0.1803, allocations: 20 kB / 448.4 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.1803, allocations: 4.141 kB / 448.4 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.169e-05/0.1804, allocations: 4.031 kB / 448.4 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.1804, allocations: 7.984 kB / 448.4 MB, free: 7.414 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 8.822e-05/0.1805, allocations: 125.8 kB / 448.6 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.1805, allocations: 11.81 kB / 448.6 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.1805, allocations: 24.58 kB / 448.6 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1806, allocations: 0 / 448.6 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1806, allocations: 0 / 448.6 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1806, allocations: 4 kB / 448.6 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.181, allocations: 391.3 kB / 449 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.181, allocations: 384 / 449 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/0.1811, allocations: 8.188 kB / 449 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1811, allocations: 0 / 449 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.1811, allocations: 11.92 kB / 449 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1811, allocations: 4 kB / 449 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1811, allocations: 0 / 449 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.1814, allocations: 212.2 kB / 449.2 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.1814, allocations: 85.02 kB / 449.3 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.1815, allocations: 4 kB / 449.3 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.534e-05/0.1815, allocations: 3.984 kB / 449.3 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.1816, allocations: 4 kB / 449.3 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.1816, allocations: 4 kB / 449.3 MB, free: 6.438 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.1817, allocations: 131.9 kB / 449.4 MB, free: 6.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1817, allocations: 4 kB / 449.4 MB, free: 6.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.182, allocations: 27.98 kB / 449.5 MB, free: 6.277 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.00111/0.1831, allocations: 464 kB / 449.9 MB, free: 5.852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.1833, allocations: 67.84 kB / 450 MB, free: 5.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1833, allocations: 0 / 450 MB, free: 5.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.419e-05/0.1834, allocations: 23.94 kB / 450 MB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.1837, allocations: 31.97 kB / 450 MB, free: 5.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.1842, allocations: 222.1 kB / 450.3 MB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.1846, allocations: 0.7005 MB / 451 MB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.642e-05/0.1846, allocations: 17.17 kB / 451 MB, free: 4.738 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.1847, allocations: 15.44 kB / 451 MB, free: 4.723 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1847, allocations: 4 kB / 451 MB, free: 4.719 MB / 382.1 MB Notification: Performance of Templates: time 0.004568/0.1892, allocations: 1.603 MB / 452.6 MB, free: 3.117 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches