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.000959/0.000959, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001212/0.001212, allocations: 169 kB / 24.24 MB, free: 312 kB / 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 1.251/1.251, allocations: 158.6 MB / 186 MB, free: 2.906 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.1507/0.1507, allocations: 32.38 MB / 270.7 MB, free: 14.77 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 1.563e-06/1.563e-06, allocations: 0 / 347.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.175e-05, allocations: 6.25 kB / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002094/0.002116, allocations: 1.74 MB / 349.5 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.003364, allocations: 1.509 MB / 351 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.956e-05/0.003443, allocations: 3.938 kB / 351 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.003757, allocations: 35.83 kB / 351 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.003981, allocations: 59.64 kB / 351.1 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.004176, allocations: 95.69 kB / 351.2 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.004327, allocations: 95.69 kB / 351.3 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.004433, allocations: 8.219 kB / 351.3 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.163e-05/0.004515, allocations: 55.78 kB / 351.3 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.004618, allocations: 31.89 kB / 351.4 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.004636, allocations: 4 kB / 351.4 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.657e-05/0.004733, allocations: 55.92 kB / 351.4 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.144e-05/0.004784, allocations: 23.91 kB / 351.5 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.004825, allocations: 15.94 kB / 351.5 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.00501, allocations: 115.5 kB / 351.6 MB, free: 5.844 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.005012, allocations: 7.938 kB / 351.6 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005013, allocations: 0 / 351.6 MB, free: 5.836 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.005018, allocations: 0 / 351.6 MB, free: 5.836 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.0004335/0.005452, allocations: 436 kB / 352 MB, free: 5.375 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.005488, allocations: 8.031 kB / 352 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.005543, allocations: 8.891 kB / 352 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.005701, allocations: 144.5 kB / 352.2 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.00572, allocations: 4.375 kB / 352.2 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.005744, allocations: 4.375 kB / 352.2 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.005897, allocations: 111.9 kB / 352.3 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.005908, allocations: 7.938 kB / 352.3 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.005918, allocations: 4 kB / 352.3 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.005927, allocations: 0 / 352.3 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.488e-05/0.005962, allocations: 12 kB / 352.3 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002709/0.006233, allocations: 271.8 kB / 352.6 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.006333, allocations: 55.11 kB / 352.6 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.777e-05/0.006361, allocations: 19.61 kB / 352.7 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.006373, allocations: 8 kB / 352.7 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.429e-05/0.006468, allocations: 65.05 kB / 352.7 MB, free: 4.551 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.006469, allocations: 4 kB / 352.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004/0.006869, allocations: 149.5 kB / 352.9 MB, free: 4.395 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.006903, allocations: 85.05 kB / 353 MB, free: 4.293 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.687e-05/0.007, allocations: 205.2 kB / 353.2 MB, free: 4.078 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.007009, allocations: 25.7 kB / 353.2 MB, free: 4.047 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.007043, allocations: 146.9 kB / 353.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.007067, allocations: 27.78 kB / 353.4 MB, free: 3.871 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.007102, allocations: 31.36 kB / 353.4 MB, free: 3.832 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.366e-05/0.007155, allocations: 0.4923 MB / 353.9 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.007178, allocations: 19.92 kB / 353.9 MB, free: 3.309 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.815e-05/0.007216, allocations: 76.73 kB / 354 MB, free: 3.215 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.957e-05/0.007265, allocations: 47.31 kB / 354 MB, free: 3.16 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.007267, allocations: 0 / 354 MB, free: 3.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001013/0.007368, allocations: 97.52 kB / 354.1 MB, free: 3.059 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.007381, allocations: 8 kB / 354.1 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.007386, allocations: 0 / 354.1 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.007401, allocations: 0 / 354.1 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.98e-05/0.007471, allocations: 12 kB / 354.1 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.007478, allocations: 0 / 354.1 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.879e-05/0.007516, allocations: 15.98 kB / 354.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-06/0.007523, allocations: 8 kB / 354.2 MB, free: 3.016 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.258e-05/0.007576, allocations: 160.5 kB / 354.3 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.007592, allocations: 11.95 kB / 354.3 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.007727, allocations: 106.5 kB / 354.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.007728, allocations: 0 / 354.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.007732, allocations: 0 / 354.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.007736, allocations: 0 / 354.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.007966, allocations: 385 kB / 354.8 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.007969, allocations: 8.031 kB / 354.8 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/0.007993, allocations: 8 kB / 354.8 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.007994, allocations: 0 / 354.8 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.00801, allocations: 3.984 kB / 354.8 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.008013, allocations: 4 kB / 354.8 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008014, allocations: 0 / 354.8 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.008127, allocations: 263.4 kB / 355.1 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.008137, allocations: 7.953 kB / 355.1 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.008155, allocations: 0 / 355.1 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.258e-05/0.008197, allocations: 8 kB / 355.1 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.008233, allocations: 7.922 kB / 355.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.008246, allocations: 8 kB / 355.1 MB, free: 1.969 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.802e-05/0.008294, allocations: 162.4 kB / 355.3 MB, free: 1.812 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008294, allocations: 0 / 355.3 MB, free: 1.812 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000184/0.008478, allocations: 35.92 kB / 355.3 MB, free: 1.777 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.0009432/0.009421, allocations: 487.9 kB / 355.8 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.009546, allocations: 59.59 kB / 355.8 MB, free: 1.328 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.009548, allocations: 0 / 355.8 MB, free: 1.328 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.562e-05/0.009583, allocations: 27.67 kB / 355.9 MB, free: 1.297 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.009803, allocations: 31.84 kB / 355.9 MB, free: 1.266 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.0101, allocations: 197 kB / 356.1 MB, free: 1.043 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.936e-05/0.01013, allocations: 71.25 kB / 356.2 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.139e-05/0.01017, allocations: 16.61 kB / 356.2 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.01021, allocations: 24.48 kB / 356.2 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of SimCode: time 1.001e-06/0.01021, allocations: 0 / 356.2 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of Templates: time 0.003958/0.01417, allocations: 2.134 MB / 358.3 MB, free: 14.79 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.5732931001111865]