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.007433/0.007433, allocations: 103 kB / 15.88 MB, free: 6.316 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.001195/0.001195, allocations: 191.3 kB / 16.79 MB, free: 6.242 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.849/1.849, allocations: 205.1 MB / 222.7 MB, free: 4.75 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.4753/0.4753, allocations: 43.5 MB / 313.5 MB, free: 8.469 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.002269/0.002269, allocations: 71.12 kB / 382 MB, free: 8.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1734, allocations: 57.78 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.00359/0.177, allocations: 1.85 MB / 441.7 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.1785, allocations: 0.8703 MB / 442.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.156e-05/0.1786, allocations: 0 / 442.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005561/0.1792, allocations: 299.4 kB / 442.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.1795, allocations: 203.5 kB / 443 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.1799, allocations: 127.8 kB / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.1802, allocations: 239.3 kB / 443.4 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.036e-05/0.1802, allocations: 13.55 kB / 443.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.1804, allocations: 111.6 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.1806, allocations: 195.5 kB / 443.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.1807, allocations: 0 / 443.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1808, allocations: 43.98 kB / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.1809, allocations: 139.5 kB / 443.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.1811, allocations: 138.8 kB / 444 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000383/0.1815, allocations: 362.9 kB / 444.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1815, allocations: 0 / 444.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1815, allocations: 0 / 444.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1815, allocations: 0 / 444.4 MB, free: 10.25 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.0009657/0.1825, allocations: 0.7307 MB / 445.1 MB, free: 9.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1825, allocations: 12.03 kB / 445.1 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.708e-05/0.1826, allocations: 44.38 kB / 445.2 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/0.1832, allocations: 455.8 kB / 445.6 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.1832, allocations: 4.312 kB / 445.6 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.1832, allocations: 12.12 kB / 445.6 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.1835, allocations: 83.36 kB / 445.7 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1835, allocations: 0 / 445.7 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1835, allocations: 0 / 445.7 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1835, allocations: 0 / 445.7 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.1836, allocations: 31.97 kB / 445.7 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.1841, allocations: 382.3 kB / 446.1 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.1844, allocations: 101.2 kB / 446.2 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.1845, allocations: 41.64 kB / 446.2 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.1845, allocations: 7.984 kB / 446.3 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003204/0.1849, allocations: 105 kB / 446.4 MB, free: 8.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.1849, allocations: 0 / 446.4 MB, free: 8.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004964/0.1854, allocations: 204.9 kB / 446.6 MB, free: 7.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.1854, allocations: 81.11 kB / 446.6 MB, free: 7.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.1864, allocations: 1.034 MB / 447.7 MB, free: 6.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1865, allocations: 29.7 kB / 447.7 MB, free: 6.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.1866, allocations: 240 kB / 447.9 MB, free: 6.441 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.746e-05/0.1867, allocations: 23.66 kB / 448 MB, free: 6.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/0.1868, allocations: 33.64 kB / 448 MB, free: 6.379 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1869, allocations: 366.8 kB / 448.3 MB, free: 6.012 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.534e-05/0.187, allocations: 31.92 kB / 448.4 MB, free: 5.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.1871, allocations: 67.41 kB / 448.4 MB, free: 5.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.1873, allocations: 83.36 kB / 448.5 MB, free: 5.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1873, allocations: 0 / 448.5 MB, free: 5.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002957/0.1876, allocations: 176.9 kB / 448.7 MB, free: 5.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1876, allocations: 4 kB / 448.7 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1877, allocations: 0 / 448.7 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1877, allocations: 4 kB / 448.7 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.1878, allocations: 20.61 kB / 448.7 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1878, allocations: 7.938 kB / 448.7 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.92e-05/0.1879, allocations: 11.94 kB / 448.7 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1879, allocations: 7.938 kB / 448.8 MB, free: 5.574 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 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002175/0.1882, allocations: 233.5 kB / 449 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.1882, allocations: 51.38 kB / 449 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.1883, allocations: 64 kB / 449.1 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1883, allocations: 0 / 449.1 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1884, allocations: 0 / 449.1 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1884, allocations: 4 kB / 449.1 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.1887, allocations: 341.4 kB / 449.4 MB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.1887, allocations: 4 kB / 449.4 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.394e-05/0.1887, allocations: 4 kB / 449.4 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1887, allocations: 3.938 kB / 449.4 MB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.1888, allocations: 11.97 kB / 449.5 MB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1888, allocations: 4 kB / 449.5 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1888, allocations: 0 / 449.5 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/0.1891, allocations: 205.2 kB / 449.7 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.1892, allocations: 140.4 kB / 449.8 MB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.1893, allocations: 0 / 449.8 MB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.221e-05/0.1894, allocations: 7.984 kB / 449.8 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.1894, allocations: 15.98 kB / 449.8 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.1895, allocations: 4 kB / 449.8 MB, free: 4.402 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007319/0.1902, allocations: 0.7682 MB / 450.6 MB, free: 3.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1902, allocations: 0 / 450.6 MB, free: 3.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1905, allocations: 43.98 kB / 450.6 MB, free: 3.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 (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.000956/0.1914, allocations: 418.6 kB / 451 MB, free: 3.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002653/0.1917, allocations: 79.97 kB / 451.1 MB, free: 3.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1917, allocations: 0 / 451.1 MB, free: 3.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.1918, allocations: 47.91 kB / 451.2 MB, free: 3.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.1922, allocations: 69.2 kB / 451.2 MB, free: 3.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.1934, allocations: 0.9543 MB / 452.2 MB, free: 2.043 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.1939, allocations: 0.8391 MB / 453 MB, free: 1.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.194, allocations: 62.94 kB / 453.1 MB, free: 1.113 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.1941, allocations: 31.38 kB / 453.1 MB, free: 1.082 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1941, allocations: 0 / 453.1 MB, free: 1.082 MB / 382.1 MB Notification: Performance of Templates: time 0.2473/0.4414, allocations: 3.556 MB / 456.7 MB, free: 49.18 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