Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.000843/0.000843, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004062/0.004062, allocations: 160.7 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.885/0.885, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.262/0.262, allocations: 32.79 MB / 294.2 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 440.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.302e-05, allocations: 2.281 kB / 440.9 MB, free: 3.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002272/0.002295, allocations: 1.799 MB / 442.7 MB, free: 1.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.003864, allocations: 1.048 MB / 443.8 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.519e-05/0.003939, allocations: 0 / 443.8 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004138/0.004353, allocations: 311.1 kB / 444.1 MB, free: 492 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003569/0.004709, allocations: 263 kB / 444.3 MB, free: 228 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.004854, allocations: 103.6 kB / 444.4 MB, free: 124 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1791/0.1839, allocations: 269 kB / 444.7 MB, free: 44.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.917e-05/0.184, allocations: 11.12 kB / 444.7 MB, free: 44.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.1842, allocations: 158.5 kB / 444.9 MB, free: 44.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.1843, allocations: 206.4 kB / 445.1 MB, free: 44.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.1844, allocations: 5.781 kB / 445.1 MB, free: 44.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.1845, allocations: 48.17 kB / 445.1 MB, free: 44.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.1846, allocations: 147.8 kB / 445.3 MB, free: 44.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.779e-05/0.1846, allocations: 74.23 kB / 445.3 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.1849, allocations: 349.4 kB / 445.7 MB, free: 44.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1849, allocations: 2.25 kB / 445.7 MB, free: 44.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1849, allocations: 1.062 kB / 445.7 MB, free: 44.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1849, allocations: 0 / 445.7 MB, free: 44.08 MB / 410.7 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.0005567/0.1855, allocations: 0.6816 MB / 446.4 MB, free: 43.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1855, allocations: 10.25 kB / 446.4 MB, free: 43.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.1855, allocations: 54.78 kB / 446.4 MB, free: 43.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.1859, allocations: 392.2 kB / 446.8 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1859, allocations: 6.812 kB / 446.8 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.1859, allocations: 5.938 kB / 446.8 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.1861, allocations: 87.91 kB / 446.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1861, allocations: 0 / 446.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1861, allocations: 13.52 kB / 446.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1861, allocations: 3.938 kB / 446.9 MB, free: 43.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.535e-05/0.1861, allocations: 37.53 kB / 447 MB, free: 43.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.1863, allocations: 299.2 kB / 447.2 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.1865, allocations: 106.7 kB / 447.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.758e-05/0.1866, allocations: 39.44 kB / 447.4 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.1866, allocations: 2.969 kB / 447.4 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.1867, allocations: 109.4 kB / 447.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.1867, allocations: 0.6562 kB / 447.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002842/0.187, allocations: 218.9 kB / 447.7 MB, free: 42.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.187, allocations: 85.42 kB / 447.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005853/0.1876, allocations: 1.059 MB / 448.9 MB, free: 42.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.1876, allocations: 29.64 kB / 448.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/0.1877, allocations: 238.4 kB / 449.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.1877, allocations: 30.8 kB / 449.1 MB, free: 42.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.1877, allocations: 29.44 kB / 449.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.081e-05/0.1878, allocations: 373.5 kB / 449.5 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.882e-05/0.1878, allocations: 33.83 kB / 449.6 MB, free: 42.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.611e-05/0.1879, allocations: 59.72 kB / 449.6 MB, free: 42.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.277e-05/0.188, allocations: 90.86 kB / 449.7 MB, free: 42.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.188, allocations: 2.844 kB / 449.7 MB, free: 42.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001528/0.1881, allocations: 170.6 kB / 449.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1882, allocations: 9.562 kB / 449.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1882, allocations: 0.7969 kB / 449.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1882, allocations: 6.75 kB / 449.9 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.074e-05/0.1882, allocations: 23.34 kB / 449.9 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1882, allocations: 2.875 kB / 449.9 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.4e-05/0.1883, allocations: 16.97 kB / 449.9 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1883, allocations: 2.688 kB / 450 MB, free: 42.17 MB / 410.7 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.0001175/0.1884, allocations: 226 kB / 450.2 MB, free: 42.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.1885, allocations: 53.2 kB / 450.2 MB, free: 42.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.1887, allocations: 215.9 kB / 450.4 MB, free: 41.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1887, allocations: 10 kB / 450.4 MB, free: 41.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1887, allocations: 0 / 450.4 MB, free: 41.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1887, allocations: 2.812 kB / 450.4 MB, free: 41.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.1888, allocations: 271.6 kB / 450.7 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1888, allocations: 2.875 kB / 450.7 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/0.1888, allocations: 12.81 kB / 450.7 MB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1888, allocations: 0 / 450.7 MB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.1888, allocations: 6.25 kB / 450.7 MB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1888, allocations: 0 / 450.7 MB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1888, allocations: 7.938 kB / 450.7 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.189, allocations: 220.5 kB / 451 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.189, allocations: 68.78 kB / 451 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.1891, allocations: 2.875 kB / 451 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.81e-05/0.1891, allocations: 2.906 kB / 451 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.1891, allocations: 20.12 kB / 451 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.1892, allocations: 2.875 kB / 451.1 MB, free: 41.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004388/0.1896, allocations: 0.7901 MB / 451.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1896, allocations: 0 / 451.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001681/0.1898, allocations: 48.66 kB / 451.9 MB, free: 41.28 MB / 410.7 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.0006338/0.1904, allocations: 444.9 kB / 452.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.1905, allocations: 93.52 kB / 452.4 MB, free: 41.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.1905, allocations: 0 / 452.4 MB, free: 41.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.27e-05/0.1906, allocations: 42.48 kB / 452.5 MB, free: 41.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.1908, allocations: 73.27 kB / 452.5 MB, free: 41.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/0.1916, allocations: 0.9344 MB / 453.5 MB, free: 40.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.1917, allocations: 248.7 kB / 453.7 MB, free: 40.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.367e-05/0.1917, allocations: 31.38 kB / 453.7 MB, free: 40.54 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1917, allocations: 0 / 453.7 MB, free: 40.54 MB / 410.7 MB Notification: Performance of Templates: time 0.004147/0.1959, allocations: 5.368 MB / 459.1 MB, free: 39.74 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.210331093519926]