Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008769/0.0008769, allocations: 96.7 kB / 15.7 MB, free: 468 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.001483/0.001483, allocations: 175.4 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.4 MB / 222.8 MB, free: 5.66 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.4877/0.4877, allocations: 43.57 MB / 314.6 MB, free: 8.73 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.0005661/0.0005663, allocations: 12 kB / 384 MB, free: 7.984 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1709, allocations: 58.88 MB / 442.8 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002315/0.1733, allocations: 1.472 MB / 444.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.1747, allocations: 0.8163 MB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.827e-05/0.1748, allocations: 0 / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005321/0.1753, allocations: 299.4 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.1757, allocations: 199.5 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.176, allocations: 115.8 kB / 445.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.1763, allocations: 207.4 kB / 445.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.533e-05/0.1764, allocations: 13.55 kB / 445.9 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.1766, allocations: 115.6 kB / 446 MB, free: 9.758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.1768, allocations: 159.6 kB / 446.2 MB, free: 9.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.1768, allocations: 4 kB / 446.2 MB, free: 9.598 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1769, allocations: 39.92 kB / 446.2 MB, free: 9.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.1771, allocations: 139.6 kB / 446.4 MB, free: 9.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.813e-05/0.1772, allocations: 81.45 kB / 446.5 MB, free: 9.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.1775, allocations: 275.7 kB / 446.7 MB, free: 9.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1775, allocations: 0 / 446.7 MB, free: 9.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1775, allocations: 0 / 446.7 MB, free: 9.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1775, allocations: 0 / 446.7 MB, free: 9.066 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009974/0.1785, allocations: 0.6726 MB / 447.4 MB, free: 8.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.1786, allocations: 12.02 kB / 447.4 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/0.1787, allocations: 55.28 kB / 447.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005625/0.1792, allocations: 431 kB / 447.9 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1793, allocations: 7.938 kB / 447.9 MB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.1793, allocations: 4 kB / 447.9 MB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.1795, allocations: 79.38 kB / 448 MB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1795, allocations: 3.984 kB / 448 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1796, allocations: 4 kB / 448 MB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1796, allocations: 3.953 kB / 448 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.943e-05/0.1797, allocations: 27.92 kB / 448 MB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.1802, allocations: 378.3 kB / 448.4 MB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.1804, allocations: 105.2 kB / 448.5 MB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.363e-05/0.1806, allocations: 45.69 kB / 448.5 MB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.1806, allocations: 4 kB / 448.5 MB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.1808, allocations: 101.1 kB / 448.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 3.186e-06/0.1809, allocations: 0 / 448.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004458/0.1813, allocations: 197 kB / 448.8 MB, free: 6.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.1814, allocations: 88.98 kB / 448.9 MB, free: 6.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.1825, allocations: 1.038 MB / 450 MB, free: 5.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.1825, allocations: 25.7 kB / 450 MB, free: 5.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.1827, allocations: 232.1 kB / 450.2 MB, free: 5.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.256e-05/0.1827, allocations: 31.64 kB / 450.2 MB, free: 5.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.1827, allocations: 4 kB / 450.2 MB, free: 5.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1829, allocations: 362.8 kB / 450.6 MB, free: 4.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.588e-05/0.183, allocations: 35.97 kB / 450.6 MB, free: 4.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.518e-05/0.1831, allocations: 55.42 kB / 450.7 MB, free: 4.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.325e-05/0.1832, allocations: 32.48 kB / 450.7 MB, free: 4.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1832, allocations: 0 / 450.7 MB, free: 4.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002763/0.1835, allocations: 173 kB / 450.9 MB, free: 4.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1835, allocations: 8 kB / 450.9 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1835, allocations: 0 / 450.9 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1835, allocations: 0 / 450.9 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.1836, allocations: 27.98 kB / 450.9 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1837, allocations: 3.953 kB / 450.9 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.989e-05/0.1838, allocations: 15.92 kB / 450.9 MB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1838, allocations: 4 kB / 450.9 MB, free: 4.578 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002307/0.184, allocations: 225.6 kB / 451.2 MB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.1841, allocations: 59.28 kB / 451.2 MB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.864e-05/0.1842, allocations: 60 kB / 451.3 MB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1842, allocations: 3.938 kB / 451.3 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.1842, allocations: 0 / 451.3 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.1842, allocations: 7.953 kB / 451.3 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/0.1846, allocations: 333.5 kB / 451.6 MB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1846, allocations: 0 / 451.6 MB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.1846, allocations: 8 kB / 451.6 MB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1846, allocations: 0 / 451.6 MB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1846, allocations: 4 kB / 451.6 MB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1846, allocations: 4 kB / 451.6 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1846, allocations: 0 / 451.6 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.185, allocations: 213.2 kB / 451.8 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.1851, allocations: 140.5 kB / 452 MB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.1852, allocations: 0 / 452 MB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.408e-05/0.1852, allocations: 7.984 kB / 452 MB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.1853, allocations: 15.98 kB / 452 MB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.1853, allocations: 4.125 kB / 452 MB, free: 3.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008577/0.1862, allocations: 0.7721 MB / 452.8 MB, free: 2.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.244e-06/0.1862, allocations: 0 / 452.8 MB, free: 2.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.1865, allocations: 51.8 kB / 452.8 MB, free: 2.594 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001141/0.1876, allocations: 417.2 kB / 453.2 MB, free: 2.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002974/0.1879, allocations: 87.89 kB / 453.3 MB, free: 2.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.188, allocations: 0 / 453.3 MB, free: 2.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.1881, allocations: 43.92 kB / 453.4 MB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.1885, allocations: 58.77 kB / 453.4 MB, free: 2.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.19, allocations: 0.905 MB / 454.3 MB, free: 1.102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006105/0.1906, allocations: 0.8391 MB / 455.2 MB, free: 244 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.1908, allocations: 62.94 kB / 455.2 MB, free: 176 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.72e-05/0.1909, allocations: 27.44 kB / 455.3 MB, free: 148 kB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1909, allocations: 0 / 455.3 MB, free: 148 kB / 382.1 MB Notification: Performance of Templates: time 0.2421/0.433, allocations: 3.385 MB / 458.6 MB, free: 45.79 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches