Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.000858/0.000858, allocations: 87.62 kB / 21.44 MB, free: 3.121 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.006115/0.006115, allocations: 158.8 kB / 24.7 MB, free: 9.43 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.913/0.913, allocations: 177.1 MB / 205 MB, free: 5.734 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.2631/0.2631, allocations: 32.78 MB / 294.2 MB, free: 1.211 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 440.9 MB, free: 3.699 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.376e-05, allocations: 9.234 kB / 440.9 MB, free: 3.691 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002387/0.002411, allocations: 1.904 MB / 442.8 MB, free: 1.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.003567, allocations: 1.021 MB / 443.8 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.943e-05/0.003657, allocations: 0 / 443.8 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.00394, allocations: 43.64 kB / 443.9 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.004199, allocations: 107.4 kB / 444 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.004349, allocations: 87.64 kB / 444.1 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.004525, allocations: 155.5 kB / 444.2 MB, free: 364 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.00463, allocations: 17.8 kB / 444.2 MB, free: 348 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.008e-05/0.00472, allocations: 87.69 kB / 444.3 MB, free: 260 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.96e-05/0.004799, allocations: 31.89 kB / 444.4 MB, free: 228 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.004816, allocations: 8 kB / 444.4 MB, free: 220 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.636e-05/0.004893, allocations: 47.92 kB / 444.4 MB, free: 172 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.004946, allocations: 27.84 kB / 444.4 MB, free: 144 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.004991, allocations: 31.86 kB / 444.5 MB, free: 112 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1851/0.1901, allocations: 150.4 kB / 444.6 MB, free: 44.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1901, allocations: 0 / 444.6 MB, free: 44.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1901, allocations: 0 / 444.6 MB, free: 44.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.1901, allocations: 0 / 444.6 MB, free: 44.02 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004953/0.1906, allocations: 417.1 kB / 445 MB, free: 43.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1907, allocations: 8.625 kB / 445 MB, free: 43.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.1907, allocations: 17.53 kB / 445.1 MB, free: 43.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.1909, allocations: 176.8 kB / 445.2 MB, free: 43.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.1909, allocations: 5 kB / 445.2 MB, free: 43.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.191, allocations: 8.531 kB / 445.2 MB, free: 43.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1911, allocations: 132.7 kB / 445.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1911, allocations: 2.906 kB / 445.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1911, allocations: 9.219 kB / 445.4 MB, free: 43.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1911, allocations: 3 kB / 445.4 MB, free: 43.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.518e-05/0.1912, allocations: 56.08 kB / 445.4 MB, free: 43.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.1916, allocations: 453 kB / 445.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.1918, allocations: 89.28 kB / 446 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.617e-05/0.1918, allocations: 37.77 kB / 446 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.1918, allocations: 2.938 kB / 446 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/0.192, allocations: 113.4 kB / 446.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.192, allocations: 0 / 446.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002556/0.1922, allocations: 142.6 kB / 446.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.1922, allocations: 56.64 kB / 446.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.1924, allocations: 203.1 kB / 446.5 MB, free: 42.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.1924, allocations: 32.05 kB / 446.5 MB, free: 42.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.1924, allocations: 115.6 kB / 446.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.1924, allocations: 38.28 kB / 446.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.1925, allocations: 28.06 kB / 446.7 MB, free: 42.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.369e-05/0.1925, allocations: 330.9 kB / 447 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/0.1925, allocations: 29.11 kB / 447.1 MB, free: 42.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.926e-05/0.1926, allocations: 67.05 kB / 447.1 MB, free: 42.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.682e-05/0.1927, allocations: 106 kB / 447.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1927, allocations: 0 / 447.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001343/0.1928, allocations: 139.1 kB / 447.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1928, allocations: 6.094 kB / 447.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1928, allocations: 5.312 kB / 447.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1928, allocations: 2.656 kB / 447.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.243e-05/0.1929, allocations: 24.86 kB / 447.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1929, allocations: 2.625 kB / 447.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.72e-05/0.1929, allocations: 13.38 kB / 447.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1929, allocations: 7.5 kB / 447.4 MB, free: 42.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 5.427e-05/0.193, allocations: 133.7 kB / 447.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.193, allocations: 16.56 kB / 447.6 MB, free: 42.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.1932, allocations: 139.5 kB / 447.7 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.1932, allocations: 0 / 447.7 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1932, allocations: 2.812 kB / 447.7 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1932, allocations: 3.234 kB / 447.7 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.955e-05/0.1932, allocations: 148.9 kB / 447.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1932, allocations: 0 / 447.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.1933, allocations: 15.36 kB / 447.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.1933, allocations: 3.969 kB / 447.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1933, allocations: 2.906 kB / 447.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.1933, allocations: 3.469 kB / 447.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1933, allocations: 0 / 447.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.1935, allocations: 198.4 kB / 448.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.332e-05/0.1935, allocations: 18.14 kB / 448.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.1935, allocations: 2.844 kB / 448.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.548e-05/0.1935, allocations: 4.844 kB / 448.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.1936, allocations: 13.39 kB / 448.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.1936, allocations: 14.84 kB / 448.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.068e-05/0.1936, allocations: 146.5 kB / 448.3 MB, free: 41.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1936, allocations: 3.281 kB / 448.3 MB, free: 41.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001434/0.1938, allocations: 22.19 kB / 448.3 MB, free: 41.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0006128/0.1944, allocations: 439.1 kB / 448.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.1945, allocations: 85.09 kB / 448.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1945, allocations: 256 / 448.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.945e-05/0.1946, allocations: 45.48 kB / 448.9 MB, free: 41.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.1947, allocations: 40.8 kB / 448.9 MB, free: 41.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.195, allocations: 285.3 kB / 449.2 MB, free: 41.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.085e-05/0.1951, allocations: 99.03 kB / 449.3 MB, free: 41.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.1951, allocations: 21.44 kB / 449.3 MB, free: 41.29 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1951, allocations: 2.688 kB / 449.3 MB, free: 41.29 MB / 410.7 MB Notification: Performance of Templates: time 0.002235/0.1973, allocations: 2.264 MB / 451.6 MB, free: 41.07 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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: 4.9226104794070125]