Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 84.55 kB / 20.68 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 169.1 kB / 23.95 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.583/1.583, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2174/0.2174, allocations: 34.28 MB / 295 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 442.7 MB, free: 5.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.219e-05, allocations: 2.281 kB / 442.7 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003182/0.003215, allocations: 1.803 MB / 444.6 MB, free: 3.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.005266, allocations: 1.045 MB / 445.6 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.00537, allocations: 0 / 445.6 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005435/0.005913, allocations: 299.1 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005082/0.006421, allocations: 259 kB / 446.1 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.006664, allocations: 111.6 kB / 446.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003329/0.006997, allocations: 263.2 kB / 446.5 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.00704, allocations: 5.812 kB / 446.5 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.007248, allocations: 159.6 kB / 446.7 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.007503, allocations: 192.1 kB / 446.9 MB, free: 1.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.007534, allocations: 12 kB / 446.9 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.007642, allocations: 47.92 kB / 446.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.007821, allocations: 140.5 kB / 447.1 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.007926, allocations: 67.67 kB / 447.1 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004314/0.008358, allocations: 354.8 kB / 447.5 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.008364, allocations: 3.984 kB / 447.5 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.008364, allocations: 0 / 447.5 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.00837, allocations: 7.938 kB / 447.5 MB, free: 0.5664 MB / 366.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.1733/0.1816, allocations: 0.6597 MB / 448.1 MB, free: 19.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1817, allocations: 12.92 kB / 448.1 MB, free: 19.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.959e-05/0.1818, allocations: 56 kB / 448.2 MB, free: 19.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006487/0.1824, allocations: 377.2 kB / 448.6 MB, free: 19.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.1824, allocations: 2.047 kB / 448.6 MB, free: 19.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.1825, allocations: 8.016 kB / 448.6 MB, free: 19.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.1827, allocations: 90.94 kB / 448.7 MB, free: 19.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1827, allocations: 4.406 kB / 448.7 MB, free: 19.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1827, allocations: 0 / 448.7 MB, free: 19.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1827, allocations: 1.859 kB / 448.7 MB, free: 19.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.1828, allocations: 39.3 kB / 448.7 MB, free: 19.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.1832, allocations: 306.8 kB / 449 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.1835, allocations: 103.8 kB / 449.1 MB, free: 19.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.1836, allocations: 41.83 kB / 449.2 MB, free: 19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.1836, allocations: 6.547 kB / 449.2 MB, free: 19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.1838, allocations: 109.4 kB / 449.3 MB, free: 18.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.1838, allocations: 0 / 449.3 MB, free: 18.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.000489/0.1843, allocations: 204.7 kB / 449.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.1844, allocations: 83.03 kB / 449.6 MB, free: 18.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.1854, allocations: 1.038 MB / 450.6 MB, free: 18.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1854, allocations: 32.73 kB / 450.6 MB, free: 18.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.1856, allocations: 232.9 kB / 450.8 MB, free: 18.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.1856, allocations: 28.75 kB / 450.9 MB, free: 18.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.1856, allocations: 28.52 kB / 450.9 MB, free: 18.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.289e-05/0.1857, allocations: 374.8 kB / 451.3 MB, free: 17.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.672e-05/0.1858, allocations: 30.69 kB / 451.3 MB, free: 17.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.139e-05/0.1859, allocations: 61.44 kB / 451.4 MB, free: 17.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.1861, allocations: 102.6 kB / 451.5 MB, free: 17.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1861, allocations: 0 / 451.5 MB, free: 17.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002819/0.1864, allocations: 168.8 kB / 451.6 MB, free: 17.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1864, allocations: 5.641 kB / 451.6 MB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1864, allocations: 1.625 kB / 451.6 MB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.1864, allocations: 3.781 kB / 451.6 MB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1865, allocations: 28.98 kB / 451.7 MB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1865, allocations: 6.625 kB / 451.7 MB, free: 17.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.553e-05/0.1866, allocations: 14.23 kB / 451.7 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1866, allocations: 5.875 kB / 451.7 MB, free: 17.55 MB / 366.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.0001744/0.1868, allocations: 222.4 kB / 451.9 MB, free: 17.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.1869, allocations: 51.39 kB / 452 MB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003656/0.1872, allocations: 205.8 kB / 452.2 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1872, allocations: 1.375 kB / 452.2 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1872, allocations: 1.375 kB / 452.2 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.1873, allocations: 8.406 kB / 452.2 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.1875, allocations: 267.6 kB / 452.4 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1876, allocations: 0.875 kB / 452.4 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.1876, allocations: 11.17 kB / 452.4 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1876, allocations: 2.078 kB / 452.4 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.1876, allocations: 6.125 kB / 452.5 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1876, allocations: 1.375 kB / 452.5 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1876, allocations: 4.688 kB / 452.5 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.1879, allocations: 222.9 kB / 452.7 MB, free: 17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.184e-05/0.188, allocations: 69.78 kB / 452.7 MB, free: 16.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.692e-05/0.1881, allocations: 1.938 kB / 452.7 MB, free: 16.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.534e-05/0.1882, allocations: 10.05 kB / 452.8 MB, free: 16.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.1882, allocations: 12.14 kB / 452.8 MB, free: 16.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.1882, allocations: 9.469 kB / 452.8 MB, free: 16.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008686/0.1891, allocations: 0.7706 MB / 453.5 MB, free: 16.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1891, allocations: 0 / 453.5 MB, free: 16.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.1894, allocations: 47.41 kB / 453.6 MB, free: 16.67 MB / 366.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.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001664/0.191, allocations: 455.4 kB / 454 MB, free: 16.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003146/0.1914, allocations: 84.55 kB / 454.1 MB, free: 16.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1914, allocations: 1.094 kB / 454.1 MB, free: 16.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.1915, allocations: 41.98 kB / 454.2 MB, free: 16.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.1919, allocations: 70.5 kB / 454.2 MB, free: 16.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.1932, allocations: 0.874 MB / 455.1 MB, free: 16.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.1934, allocations: 243 kB / 455.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.1936, allocations: 61.25 kB / 455.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.475e-05/0.1936, allocations: 32.72 kB / 455.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1936, allocations: 0 / 455.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of Templates: time 0.009591/0.2032, allocations: 3.966 MB / 459.4 MB, free: 15.39 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.019313909113407]