Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.001046/0.001046, 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.0009879/0.0009879, allocations: 169 kB / 23.8 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.9265/0.9265, 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.1387/0.1387, allocations: 32.38 MB / 270.4 MB, free: 14.71 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 4 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.201e-05, allocations: 8.219 kB / 347.7 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002583/0.002615, allocations: 1.738 MB / 349.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.004204, allocations: 1.517 MB / 351 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.13e-05/0.004275, allocations: 7.938 kB / 351 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003205/0.004596, allocations: 35.83 kB / 351 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.004844, allocations: 63.62 kB / 351.1 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.00506, allocations: 87.7 kB / 351.2 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.005201, allocations: 99.69 kB / 351.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.446e-05/0.005285, allocations: 4.234 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.225e-05/0.005367, allocations: 63.75 kB / 351.4 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.903e-05/0.005467, allocations: 27.91 kB / 351.4 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.005486, allocations: 4 kB / 351.4 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.005592, allocations: 59.91 kB / 351.4 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.005639, allocations: 15.92 kB / 351.5 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.005677, allocations: 19.92 kB / 351.5 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.005865, allocations: 115.5 kB / 351.6 MB, free: 5.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.005867, allocations: 0 / 351.6 MB, free: 5.492 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.005869, allocations: 4 kB / 351.6 MB, free: 5.488 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.005873, allocations: 7.938 kB / 351.6 MB, free: 5.48 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003738/0.006247, allocations: 432 kB / 352 MB, free: 5.023 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.006284, allocations: 12.03 kB / 352 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.216e-05/0.006336, allocations: 8.891 kB / 352 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.006489, allocations: 140.5 kB / 352.2 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.006508, allocations: 4.375 kB / 352.2 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.006536, allocations: 4.375 kB / 352.2 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.006676, allocations: 108 kB / 352.3 MB, free: 4.703 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.006686, allocations: 7.938 kB / 352.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.006696, allocations: 3.984 kB / 352.3 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.006703, allocations: 0 / 352.3 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.582e-05/0.006739, allocations: 12 kB / 352.3 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002525/0.006992, allocations: 279.8 kB / 352.6 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.923e-05/0.007091, allocations: 51.11 kB / 352.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.294e-05/0.007124, allocations: 27.59 kB / 352.7 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.00714, allocations: 0 / 352.7 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.707e-05/0.007237, allocations: 73.05 kB / 352.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.007238, allocations: 8 kB / 352.8 MB, free: 4.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003906/0.007629, allocations: 153.5 kB / 352.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.007655, allocations: 77.11 kB / 353 MB, free: 3.934 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.007755, allocations: 209 kB / 353.2 MB, free: 3.715 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.007765, allocations: 29.64 kB / 353.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.115e-05/0.007796, allocations: 142.9 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.007819, allocations: 23.78 kB / 353.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.007855, allocations: 31.38 kB / 353.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.283e-05/0.007897, allocations: 0.4923 MB / 353.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.507e-05/0.007923, allocations: 11.98 kB / 353.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.18e-05/0.007964, allocations: 76.69 kB / 354 MB, free: 2.863 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.819e-05/0.008023, allocations: 47.31 kB / 354 MB, free: 2.809 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.008024, allocations: 0 / 354 MB, free: 2.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000121/0.008145, allocations: 101.5 kB / 354.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.008159, allocations: 4 kB / 354.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.008163, allocations: 0 / 354.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.008179, allocations: 4 kB / 354.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.821e-05/0.008267, allocations: 12 kB / 354.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.008272, allocations: 0 / 354.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.47e-05/0.008307, allocations: 12.05 kB / 354.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.008314, allocations: 4 kB / 354.2 MB, free: 2.668 MB / 282.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 5.409e-05/0.008368, allocations: 166.7 kB / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.008389, allocations: 15.95 kB / 354.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.008546, allocations: 102.5 kB / 354.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.008549, allocations: 4 kB / 354.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.008552, allocations: 0 / 354.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.008556, allocations: 0 / 354.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.008801, allocations: 385 kB / 354.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.008803, allocations: 4.031 kB / 354.8 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.008834, allocations: 8 kB / 354.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.008838, allocations: 4 kB / 354.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.008845, allocations: 3.984 kB / 354.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.008847, allocations: 0 / 354.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.008848, allocations: 0 / 354.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.00897, allocations: 263.4 kB / 355.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-06/0.00898, allocations: 7.953 kB / 355.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.008999, allocations: 4 kB / 355.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.93e-05/0.009058, allocations: 0 / 355.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.009093, allocations: 11.98 kB / 355.1 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.009107, allocations: 8 kB / 355.1 MB, free: 1.617 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.574e-05/0.009173, allocations: 162.1 kB / 355.3 MB, free: 1.461 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009173, allocations: 0 / 355.3 MB, free: 1.461 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002591/0.009432, allocations: 39.92 kB / 355.3 MB, free: 1.422 MB / 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: 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.001063/0.0105, allocations: 480.6 kB / 355.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.01062, allocations: 63.59 kB / 355.9 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01063, allocations: 0 / 355.9 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.953e-05/0.01067, allocations: 27.67 kB / 355.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.01096, allocations: 31.84 kB / 355.9 MB, free: 0.918 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.01129, allocations: 197 kB / 356.1 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.124e-05/0.01132, allocations: 71.23 kB / 356.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.483e-05/0.01136, allocations: 20.61 kB / 356.2 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.0114, allocations: 20.5 kB / 356.2 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.0114, allocations: 0 / 356.2 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of Templates: time 0.004412/0.01581, allocations: 2.138 MB / 358.4 MB, free: 14.44 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.2335817040875554]