Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.001254/0.001254, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.00159/0.00159, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8454/0.8454, allocations: 158.6 MB / 185.7 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1373/0.1373, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test78,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 7.938 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.111e-05, allocations: 8.219 kB / 347.8 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002414/0.002445, allocations: 1.874 MB / 349.6 MB, free: 7.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.003604, allocations: 0.8855 MB / 350.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.724e-05/0.003701, allocations: 0 / 350.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004538/0.004155, allocations: 267.2 kB / 350.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003112/0.004466, allocations: 183.3 kB / 351 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.004784, allocations: 151.5 kB / 351.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.005072, allocations: 247.2 kB / 351.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.005188, allocations: 13.81 kB / 351.4 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.005337, allocations: 151.6 kB / 351.5 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.005494, allocations: 187.6 kB / 351.7 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.005517, allocations: 8 kB / 351.7 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.005617, allocations: 47.92 kB / 351.7 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.429e-05/0.005692, allocations: 59.77 kB / 351.8 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.005749, allocations: 43.78 kB / 351.8 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.005979, allocations: 175.3 kB / 352 MB, free: 5.082 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.005984, allocations: 4 kB / 352 MB, free: 5.078 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005985, allocations: 0 / 352 MB, free: 5.078 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.005992, allocations: 4 kB / 352 MB, free: 5.074 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005397/0.006532, allocations: 0.5963 MB / 352.6 MB, free: 4.441 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.006573, allocations: 8.031 kB / 352.6 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.892e-05/0.006632, allocations: 36.73 kB / 352.7 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.006848, allocations: 220.6 kB / 352.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.006869, allocations: 12.31 kB / 352.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.006896, allocations: 4.375 kB / 352.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.007052, allocations: 102.3 kB / 353 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.007063, allocations: 3.938 kB / 353 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.007074, allocations: 4 kB / 353 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.007082, allocations: 8 kB / 353 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.206e-05/0.007134, allocations: 19.97 kB / 353 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.007533, allocations: 0.4986 MB / 353.5 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.007676, allocations: 118.2 kB / 353.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.877e-05/0.007725, allocations: 35.36 kB / 353.7 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.007742, allocations: 7.938 kB / 353.7 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/0.007863, allocations: 112.3 kB / 353.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.007864, allocations: 0 / 353.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005354/0.008399, allocations: 345.1 kB / 354.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.008426, allocations: 85.05 kB / 354.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.008635, allocations: 414.8 kB / 354.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.008648, allocations: 29.7 kB / 354.7 MB, free: 2.223 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.008721, allocations: 215.1 kB / 354.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.008757, allocations: 51.62 kB / 354.9 MB, free: 1.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.008797, allocations: 43.31 kB / 355 MB, free: 1.906 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.203e-05/0.008859, allocations: 0.5274 MB / 355.5 MB, free: 1.367 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.763e-05/0.008897, allocations: 27.98 kB / 355.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-05/0.008946, allocations: 69.83 kB / 355.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.778e-05/0.009034, allocations: 98.81 kB / 355.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.009036, allocations: 0 / 355.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000168/0.009204, allocations: 165.4 kB / 355.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.00922, allocations: 4 kB / 355.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.009225, allocations: 0 / 355.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.009242, allocations: 8.062 kB / 355.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.00935, allocations: 31.92 kB / 355.9 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.009358, allocations: 4 kB / 355.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.89e-05/0.009406, allocations: 11.94 kB / 355.9 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.009415, allocations: 7.984 kB / 355.9 MB, free: 0.9102 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.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 (20): * Single equations (assignments): 20 * 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.359e-05/0.009488, allocations: 172.5 kB / 356.1 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.009517, allocations: 39.77 kB / 356.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.009743, allocations: 184.4 kB / 356.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.009747, allocations: 0 / 356.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.00975, allocations: 8 kB / 356.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.009755, allocations: 0 / 356.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004664/0.01022, allocations: 0.6755 MB / 357 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01022, allocations: 0 / 357 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.423e-05/0.01028, allocations: 23.98 kB / 357 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.01028, allocations: 4 kB / 357 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.0103, allocations: 4 kB / 357 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.0103, allocations: 0 / 357 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.0103, allocations: 3.938 kB / 357 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.01062, allocations: 474.2 kB / 357.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.01065, allocations: 27.81 kB / 357.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.01068, allocations: 3.984 kB / 357.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-05/0.01076, allocations: 8 kB / 357.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.01081, allocations: 19.91 kB / 357.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.01083, allocations: 12 kB / 357.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001822/0.01101, allocations: 283.1 kB / 357.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01101, allocations: 0 / 357.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002406/0.01125, allocations: 43.92 kB / 357.9 MB, free: 14.85 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 14 * 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.0009485/0.0122, allocations: 443 kB / 358.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.01238, allocations: 95.58 kB / 358.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01238, allocations: 0 / 358.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.706e-05/0.01245, allocations: 59.53 kB / 358.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.0128, allocations: 73.08 kB / 358.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005669/0.01337, allocations: 473.1 kB / 359 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.469e-05/0.01343, allocations: 95.95 kB / 359.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.089e-05/0.01349, allocations: 33.61 kB / 359.1 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.01354, allocations: 24.48 kB / 359.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01354, allocations: 4 kB / 359.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of Templates: time 0.005105/0.01864, allocations: 2.945 MB / 362.1 MB, free: 10.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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.3031797488220036]