Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.002064/0.002064, allocations: 84.23 kB / 20.68 MB, free: 1.023 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.002343/0.002343, allocations: 163.4 kB / 23.95 MB, free: 4.156 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.482/1.482, allocations: 177.1 MB / 204.3 MB, free: 9.188 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.2184/0.2184, allocations: 34.29 MB / 295 MB, free: 14.57 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 442.8 MB, free: 5.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.172e-05/3.333e-05, allocations: 6.281 kB / 442.8 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003339/0.003373, allocations: 1.72 MB / 444.5 MB, free: 3.578 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.005404, allocations: 0.9736 MB / 445.5 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.608e-05/0.0055, allocations: 0 / 445.5 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.005842, allocations: 43.7 kB / 445.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003736/0.006216, allocations: 91.55 kB / 445.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.006452, allocations: 79.55 kB / 445.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.006648, allocations: 111.6 kB / 445.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.761e-05/0.006736, allocations: 4 kB / 445.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.00685, allocations: 63.77 kB / 445.8 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.752e-05/0.006938, allocations: 27.91 kB / 445.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.00696, allocations: 4 kB / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.007065, allocations: 39.98 kB / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.308e-05/0.007128, allocations: 19.92 kB / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.062e-05/0.007179, allocations: 27.84 kB / 446 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.007405, allocations: 111.6 kB / 446.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.007407, allocations: 0 / 446.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.007408, allocations: 0 / 446.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.007417, allocations: 0 / 446.1 MB, free: 1.988 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006007/0.008018, allocations: 349.5 kB / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.008054, allocations: 15.97 kB / 446.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.008097, allocations: 8.891 kB / 446.4 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.00834, allocations: 154.9 kB / 446.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.008354, allocations: 384 / 446.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.008381, allocations: 4.375 kB / 446.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.00854, allocations: 54.23 kB / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.008553, allocations: 3.938 kB / 446.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.008565, allocations: 0 / 446.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.008569, allocations: 0 / 446.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.18e-05/0.008651, allocations: 19.98 kB / 446.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.009025, allocations: 236.5 kB / 446.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.009221, allocations: 54.67 kB / 447 MB, free: 1.008 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.539e-05/0.009287, allocations: 24.78 kB / 447 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.009306, allocations: 4 kB / 447 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.009476, allocations: 67.33 kB / 447 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 4.258e-06/0.009481, allocations: 3.984 kB / 447 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006371/0.01012, allocations: 181.6 kB / 447.2 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.01016, allocations: 59.34 kB / 447.3 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.01037, allocations: 187.3 kB / 447.5 MB, free: 456 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.0104, allocations: 33.7 kB / 447.5 MB, free: 416 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.01049, allocations: 100.1 kB / 447.6 MB, free: 312 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.01053, allocations: 27.78 kB / 447.6 MB, free: 284 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.01058, allocations: 29.7 kB / 447.7 MB, free: 248 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1785/0.1891, allocations: 318.8 kB / 448 MB, free: 19.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.1892, allocations: 18.14 kB / 448 MB, free: 19.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.392e-05/0.1893, allocations: 41.12 kB / 448 MB, free: 19.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.1894, allocations: 64.16 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1894, allocations: 0 / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002496/0.1897, allocations: 106 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1897, allocations: 5.531 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1897, allocations: 7.125 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.1897, allocations: 2.75 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.866e-05/0.1898, allocations: 13.61 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1898, allocations: 1.609 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.803e-05/0.1899, allocations: 2.844 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1899, allocations: 7.969 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.469e-05/0.19, allocations: 125.6 kB / 448.4 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.19, allocations: 9.281 kB / 448.4 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.1903, allocations: 122.5 kB / 448.5 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1903, allocations: 2.047 kB / 448.5 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1903, allocations: 5.219 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1903, allocations: 0.75 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.1907, allocations: 348.4 kB / 448.8 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1907, allocations: 1.469 kB / 448.8 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/0.1907, allocations: 11.83 kB / 448.8 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1907, allocations: 1.219 kB / 448.8 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1907, allocations: 7.688 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1907, allocations: 7.75 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1907, allocations: 1.188 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.1909, allocations: 215.6 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.704e-05/0.191, allocations: 11.41 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.191, allocations: 5.719 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.397e-05/0.1911, allocations: 5.25 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.1911, allocations: 7.047 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.1911, allocations: 8.875 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.751e-05/0.1912, allocations: 140.9 kB / 449.2 MB, free: 18.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1912, allocations: 0 / 449.2 MB, free: 18.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1915, allocations: 27.8 kB / 449.3 MB, free: 18.39 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: 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 (9): * Single equations (assignments): 7 * 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.00181/0.1933, allocations: 0.4897 MB / 449.8 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.1935, allocations: 57.12 kB / 449.8 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1935, allocations: 0 / 449.8 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.654e-05/0.1936, allocations: 36.09 kB / 449.9 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.1939, allocations: 32.92 kB / 449.9 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/0.1944, allocations: 227.4 kB / 450.1 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.557e-05/0.1944, allocations: 96.27 kB / 450.2 MB, free: 17.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.887e-05/0.1945, allocations: 12.77 kB / 450.2 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.1945, allocations: 18.27 kB / 450.2 MB, free: 17.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1945, allocations: 0 / 450.2 MB, free: 17.98 MB / 366.1 MB Notification: Performance of Templates: time 0.005495/0.2, allocations: 1.851 MB / 452.1 MB, free: 17.73 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.992205739021301]