Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001115/0.001115, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001543/0.001543, allocations: 167.5 kB / 24.99 MB, free: 8.367 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 1.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 179] 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.3175/0.3175, allocations: 34.25 MB / 296 MB, free: 0.6367 MB / 266.7 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 378.1 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.11e-05, allocations: 2.312 kB / 378.1 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.00218/0.002201, allocations: 1.765 MB / 379.9 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.00334, allocations: 1.005 MB / 380.9 MB, free: 80 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.381e-05/0.003414, allocations: 0 / 380.9 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.003701, allocations: 51.7 kB / 380.9 MB, free: 28 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.003993, allocations: 99.53 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.004185, allocations: 83.59 kB / 381.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.004342, allocations: 111.6 kB / 381.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.004443, allocations: 12 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.752e-05/0.004531, allocations: 55.77 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.497e-05/0.004606, allocations: 27.91 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.004622, allocations: 4 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.139e-05/0.004703, allocations: 43.92 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.491e-05/0.004758, allocations: 27.86 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/0.004804, allocations: 27.91 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.004987, allocations: 115.5 kB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.004989, allocations: 0 / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.00499, allocations: 0 / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.004994, allocations: 0 / 381.5 MB, free: 15.43 MB / 362.7 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.0004779/0.005472, allocations: 475.6 kB / 382 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.005507, allocations: 16.02 kB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.005557, allocations: 16.84 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.005743, allocations: 165.2 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.005769, allocations: 384 / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.00579, allocations: 4.375 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.005914, allocations: 70.88 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.005925, allocations: 3.938 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.005932, allocations: 0 / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.005941, allocations: 4 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.451e-05/0.005975, allocations: 11.98 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.006312, allocations: 295.8 kB / 382.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.00642, allocations: 59.09 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/0.00645, allocations: 19.62 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.006464, allocations: 0 / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/0.006566, allocations: 65.05 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.006567, allocations: 3.938 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004068/0.006974, allocations: 169.3 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.007006, allocations: 59.39 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.007181, allocations: 273.6 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.007196, allocations: 25.7 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/0.007266, allocations: 170.9 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.429e-05/0.007341, allocations: 27.78 kB / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.007376, allocations: 27.36 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.007494, allocations: 0.5001 MB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.608e-05/0.00752, allocations: 15.98 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.723e-05/0.007557, allocations: 31.31 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.051e-05/0.007617, allocations: 59.38 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.007618, allocations: 0 / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000113/0.007731, allocations: 93.52 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.007744, allocations: 8 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.007749, allocations: 0 / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.007764, allocations: 3.984 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.007836, allocations: 15.98 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.007841, allocations: 4 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.07e-05/0.007872, allocations: 4 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.00788, allocations: 4 kB / 384.2 MB, free: 12.54 MB / 362.7 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 7.964e-05/0.007959, allocations: 176.5 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.007977, allocations: 15.91 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.008125, allocations: 111 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.008127, allocations: 0 / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.008132, allocations: 384 / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.008137, allocations: 4 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.008439, allocations: 405 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.008441, allocations: 4 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.498e-05/0.008466, allocations: 12 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.008469, allocations: 4.031 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.008476, allocations: 0 / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.00848, allocations: 4 kB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008481, allocations: 0 / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.008706, allocations: 259.4 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.00872, allocations: 19.89 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.008738, allocations: 7.938 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.067e-05/0.008778, allocations: 0 / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.008812, allocations: 11.98 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.008825, allocations: 4 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.277e-05/0.008918, allocations: 196.5 kB / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008918, allocations: 4 kB / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001761/0.009094, allocations: 31.92 kB / 385.4 MB, free: 11.21 MB / 362.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: 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.000929/0.01002, allocations: 442 kB / 385.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.01015, allocations: 51.64 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01016, allocations: 0 / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.371e-05/0.0102, allocations: 35.61 kB / 385.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.01044, allocations: 35.16 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.01083, allocations: 262.6 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.905e-05/0.01088, allocations: 71.33 kB / 386.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.115e-05/0.01092, allocations: 24.91 kB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.01095, allocations: 16.5 kB / 386.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01095, allocations: 0 / 386.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of Templates: time 0.003801/0.01475, allocations: 1.884 MB / 388.2 MB, free: 8.539 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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.3674880377948284]