Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.0008762/0.0008762, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001371/0.002247, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008042/0.0008042, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.001842, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.073/1.073, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1194/1.192, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.3263/0.3263, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04859/0.3749, allocations: 12.53 MB / 289.3 MB, free: 8.672 MB / 282.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 290.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.578e-06/1.108e-05, allocations: 2.312 kB / 290.7 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002216/0.002227, allocations: 1.969 MB / 292.7 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.003678, allocations: 1.126 MB / 293.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.38e-05/0.003751, allocations: 7.938 kB / 293.8 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.004011, allocations: 227.2 kB / 294 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.004264, allocations: 215.1 kB / 294.2 MB, free: 4.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.00442, allocations: 119.5 kB / 294.4 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.004635, allocations: 259.2 kB / 294.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.175e-05/0.004716, allocations: 22.59 kB / 294.6 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.004906, allocations: 204.8 kB / 294.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.005032, allocations: 135.7 kB / 295 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.005048, allocations: 8 kB / 295 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.369e-05/0.005142, allocations: 79.83 kB / 295.1 MB, free: 3.848 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.662e-05/0.005199, allocations: 47.8 kB / 295.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.265e-05/0.005241, allocations: 39.81 kB / 295.1 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.005428, allocations: 187.2 kB / 295.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-05/0.005441, allocations: 0 / 295.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.005441, allocations: 0 / 295.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.005455, allocations: 0 / 295.3 MB, free: 3.578 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005027/0.005958, allocations: 0.5148 MB / 295.8 MB, free: 3.039 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.005988, allocations: 12.03 kB / 295.8 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.006024, allocations: 16.92 kB / 295.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.006205, allocations: 225.7 kB / 296.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.00622, allocations: 4.375 kB / 296.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.006239, allocations: 8.375 kB / 296.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.006363, allocations: 109.9 kB / 296.2 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.006373, allocations: 3.938 kB / 296.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.006382, allocations: 8 kB / 296.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.006387, allocations: 0 / 296.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.363e-05/0.00643, allocations: 33.56 kB / 296.3 MB, free: 2.586 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002542/0.006685, allocations: 292.9 kB / 296.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.00687, allocations: 186.6 kB / 296.7 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.041e-05/0.0069, allocations: 33.89 kB / 296.8 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.006913, allocations: 7.984 kB / 296.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.007028, allocations: 113.3 kB / 296.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 7.62e-07/0.007029, allocations: 0 / 296.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007788/0.007808, allocations: 324.2 kB / 297.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.007841, allocations: 81.11 kB / 297.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.008016, allocations: 328.6 kB / 297.6 MB, free: 1.141 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.008032, allocations: 33.7 kB / 297.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.00807, allocations: 117.6 kB / 297.7 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.00811, allocations: 71.42 kB / 297.8 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.008152, allocations: 49.67 kB / 297.9 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.00823, allocations: 346.7 kB / 298.2 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.7e-05/0.008257, allocations: 26.75 kB / 298.2 MB, free: 496 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-05/0.008299, allocations: 58.03 kB / 298.3 MB, free: 428 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.894e-05/0.008378, allocations: 109.4 kB / 298.4 MB, free: 308 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.008379, allocations: 0 / 298.4 MB, free: 308 kB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001104/0.008489, allocations: 131.2 kB / 298.5 MB, free: 168 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.008498, allocations: 8 kB / 298.5 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/0.008501, allocations: 0 / 298.5 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.009e-06/0.008506, allocations: 0 / 298.5 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.302e-05/0.008589, allocations: 59.84 kB / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.008592, allocations: 4 kB / 298.6 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.602e-05/0.008628, allocations: 12 kB / 298.6 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.008636, allocations: 8 kB / 298.6 MB, free: 76 kB / 282.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.17e-05/0.008717, allocations: 128.6 kB / 298.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.00874, allocations: 23.97 kB / 298.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.008894, allocations: 162.8 kB / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.008896, allocations: 4 kB / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.92e-07/0.008897, allocations: 0 / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.008899, allocations: 0 / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.009246, allocations: 0.5711 MB / 299.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.009248, allocations: 0 / 299.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.163e-05/0.009309, allocations: 39.92 kB / 299.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.009331, allocations: 27.75 kB / 299.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.009333, allocations: 4 kB / 299.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.009342, allocations: 11.98 kB / 299.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.009343, allocations: 0 / 299.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.009345, allocations: 4 kB / 299.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.009511, allocations: 416.7 kB / 300 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.009532, allocations: 12 kB / 300 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.905e-05/0.009602, allocations: 11.98 kB / 300 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.009624, allocations: 15.97 kB / 300 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.009637, allocations: 16 kB / 300 MB, free: 14.56 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.424e-05/0.009731, allocations: 147.4 kB / 300.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009731, allocations: 0 / 300.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00018/0.009912, allocations: 55.88 kB / 300.2 MB, free: 14.36 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001434/0.01135, allocations: 0.7082 MB / 300.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.01146, allocations: 100.7 kB / 301 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.01146, allocations: 4 kB / 301 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.86e-05/0.01152, allocations: 65.84 kB / 301.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.0118, allocations: 94.55 kB / 301.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005812/0.01238, allocations: 0.5016 MB / 301.7 MB, free: 13.24 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.181e-05/0.01244, allocations: 100.3 kB / 301.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.106e-05/0.0125, allocations: 37.92 kB / 301.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.066e-05/0.01259, allocations: 95.34 kB / 301.9 MB, free: 13 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01259, allocations: 0 / 301.9 MB, free: 13 MB / 298.7 MB Notification: Performance of Templates: time 0.005273/0.01786, allocations: 3.701 MB / 305.6 MB, free: 9.359 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.261593148112297]