Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.0008927/0.0008927, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001352/0.002244, 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.0008027/0.0008027, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.001809, 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.053/1.053, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09964/1.152, 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.2602/0.2602, allocations: 32.79 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02485/0.285, allocations: 12.54 MB / 289.3 MB, free: 8.676 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 290.7 MB, free: 7.594 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.467e-06/1.058e-05, allocations: 4.531 kB / 290.7 MB, free: 7.59 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.001967/0.001978, allocations: 1.889 MB / 292.6 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.00379, allocations: 1.831 MB / 294.4 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.003e-05/0.00386, allocations: 0 / 294.4 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.004034, allocations: 59.61 kB / 294.5 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.004283, allocations: 144 kB / 294.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.004434, allocations: 103.6 kB / 294.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.004634, allocations: 215.3 kB / 294.9 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.00468, allocations: 6.469 kB / 294.9 MB, free: 3.988 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.004858, allocations: 160.2 kB / 295.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.004991, allocations: 67.73 kB / 295.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.005012, allocations: 8 kB / 295.2 MB, free: 3.758 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.005171, allocations: 111.8 kB / 295.3 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.005226, allocations: 31.86 kB / 295.3 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.005266, allocations: 31.94 kB / 295.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.005502, allocations: 187.3 kB / 295.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.657e-05/0.005518, allocations: 4 kB / 295.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005519, allocations: 0 / 295.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.005534, allocations: 0 / 295.5 MB, free: 3.398 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005484/0.006082, allocations: 427.9 kB / 295.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.006117, allocations: 8.625 kB / 295.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.006159, allocations: 12.92 kB / 295.9 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.006377, allocations: 177.4 kB / 296.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.006393, allocations: 8.312 kB / 296.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.006409, allocations: 12.34 kB / 296.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.006578, allocations: 156.5 kB / 296.3 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.006588, allocations: 3.938 kB / 296.3 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.006596, allocations: 4 kB / 296.3 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.006603, allocations: 4 kB / 296.3 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.83e-05/0.006641, allocations: 17.64 kB / 296.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000102/0.006743, allocations: 90.3 kB / 296.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.006859, allocations: 78.88 kB / 296.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.755e-05/0.006886, allocations: 17.72 kB / 296.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.006899, allocations: 4 kB / 296.5 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/0.007028, allocations: 103.8 kB / 296.6 MB, free: 2.145 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.00703, allocations: 0 / 296.6 MB, free: 2.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001578/0.007188, allocations: 95.25 kB / 296.7 MB, free: 2.043 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.007229, allocations: 85.05 kB / 296.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.007385, allocations: 223.1 kB / 297 MB, free: 1.711 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.0074, allocations: 29.7 kB / 297 MB, free: 1.676 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.007439, allocations: 104.6 kB / 297.1 MB, free: 1.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.007475, allocations: 27.78 kB / 297.2 MB, free: 1.543 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.007516, allocations: 29.7 kB / 297.2 MB, free: 1.508 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.19e-05/0.007608, allocations: 330.8 kB / 297.5 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.31e-05/0.007631, allocations: 14.81 kB / 297.5 MB, free: 1.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.054e-05/0.007691, allocations: 108.5 kB / 297.6 MB, free: 1.023 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.82e-05/0.00776, allocations: 67.88 kB / 297.7 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.007763, allocations: 32 / 297.7 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001008/0.007863, allocations: 95.19 kB / 297.8 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.007878, allocations: 8 kB / 297.8 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.007883, allocations: 0 / 297.8 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.007893, allocations: 4 kB / 297.8 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.309e-05/0.007976, allocations: 23.92 kB / 297.8 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.007983, allocations: 7.938 kB / 297.8 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.64e-05/0.00803, allocations: 15.89 kB / 297.9 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.008038, allocations: 4 kB / 297.9 MB, free: 0.7773 MB / 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 7.924e-05/0.008117, allocations: 125.2 kB / 298 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.008136, allocations: 15.98 kB / 298 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.00826, allocations: 91 kB / 298.1 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.008264, allocations: 7.938 kB / 298.1 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.008268, allocations: 7.938 kB / 298.1 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.008274, allocations: 0 / 298.1 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.008376, allocations: 105.8 kB / 298.2 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.008378, allocations: 3.984 kB / 298.2 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.008411, allocations: 16 kB / 298.2 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.008434, allocations: 19.84 kB / 298.2 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.008435, allocations: 4 kB / 298.2 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.008443, allocations: 4 kB / 298.2 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.008444, allocations: 0 / 298.2 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.008449, allocations: 7.875 kB / 298.3 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.008551, allocations: 118.4 kB / 298.4 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.008574, allocations: 7.984 kB / 298.4 MB, free: 196 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.236e-05/0.008607, allocations: 8 kB / 298.4 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.00864, allocations: 3.984 kB / 298.4 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.008651, allocations: 7.938 kB / 298.4 MB, free: 176 kB / 282.7 MB Notification: Performance of sorting global known variables: time 6.031e-05/0.008712, allocations: 74.62 kB / 298.5 MB, free: 100 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008712, allocations: 0 / 298.5 MB, free: 100 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000149/0.008861, allocations: 63.86 kB / 298.5 MB, free: 36 kB / 282.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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (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.00163/0.01049, allocations: 0.7131 MB / 299.2 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.0106, allocations: 56.77 kB / 299.3 MB, free: 15.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.01061, allocations: 4 kB / 299.3 MB, free: 15.63 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.487e-05/0.01064, allocations: 28.78 kB / 299.3 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.01082, allocations: 75.98 kB / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.01139, allocations: 284.9 kB / 299.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.112e-05/0.01144, allocations: 75.98 kB / 299.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.994e-05/0.0115, allocations: 29.95 kB / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.01162, allocations: 91.34 kB / 299.9 MB, free: 15 MB / 298.7 MB Notification: Performance of SimCode: time 1.723e-06/0.01162, allocations: 0 / 299.9 MB, free: 15 MB / 298.7 MB Notification: Performance of Templates: time 0.005508/0.01713, allocations: 3.821 MB / 303.7 MB, free: 11.25 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.096170417033136]