Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.0009919/0.0009919, 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.001123/0.001123, allocations: 169 kB / 24.25 MB, free: 308 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.094/1.094, allocations: 158.6 MB / 186 MB, free: 2.902 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.1639/0.1639, allocations: 32.37 MB / 270.7 MB, free: 14.76 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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 347.7 MB, free: 9.695 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.498e-05, allocations: 6.25 kB / 347.7 MB, free: 9.688 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002052/0.002077, allocations: 1.747 MB / 349.5 MB, free: 7.934 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.003613, allocations: 1.509 MB / 351 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.971e-05/0.003693, allocations: 4 kB / 351 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.003949, allocations: 39.77 kB / 351 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.004154, allocations: 67.67 kB / 351.1 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.004342, allocations: 79.66 kB / 351.2 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.004456, allocations: 103.7 kB / 351.3 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.928e-05/0.004525, allocations: 4.234 kB / 351.3 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.279e-05/0.004588, allocations: 55.77 kB / 351.3 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.004672, allocations: 27.91 kB / 351.4 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.004687, allocations: 8 kB / 351.4 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.163e-05/0.004779, allocations: 63.89 kB / 351.4 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.004818, allocations: 15.92 kB / 351.5 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.00485, allocations: 23.94 kB / 351.5 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.005008, allocations: 111.6 kB / 351.6 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.005011, allocations: 0 / 351.6 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005011, allocations: 0 / 351.6 MB, free: 5.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.005017, allocations: 3.938 kB / 351.6 MB, free: 5.816 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.000348/0.005365, allocations: 439.9 kB / 352 MB, free: 5.352 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.005396, allocations: 8.031 kB / 352 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.005436, allocations: 12.89 kB / 352 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.005562, allocations: 140.5 kB / 352.2 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.005578, allocations: 4.375 kB / 352.2 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.005596, allocations: 4.375 kB / 352.2 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.005721, allocations: 108 kB / 352.3 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.005729, allocations: 7.875 kB / 352.3 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.00574, allocations: 4 kB / 352.3 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.005745, allocations: 0 / 352.3 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.993e-05/0.005775, allocations: 11.98 kB / 352.3 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.006003, allocations: 275.8 kB / 352.6 MB, free: 4.703 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.531e-05/0.006098, allocations: 47.17 kB / 352.6 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.006125, allocations: 27.56 kB / 352.7 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.006135, allocations: 4 kB / 352.7 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.11e-05/0.006216, allocations: 65.05 kB / 352.7 MB, free: 4.531 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.41e-07/0.006217, allocations: 0 / 352.7 MB, free: 4.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003631/0.00658, allocations: 161.5 kB / 352.9 MB, free: 4.367 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.006611, allocations: 77.11 kB / 353 MB, free: 4.273 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.006712, allocations: 205.2 kB / 353.2 MB, free: 4.059 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.006725, allocations: 37.64 kB / 353.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.126e-05/0.006757, allocations: 138.9 kB / 353.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.006779, allocations: 27.78 kB / 353.4 MB, free: 3.848 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.006807, allocations: 23.38 kB / 353.4 MB, free: 3.816 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.025e-05/0.006867, allocations: 0.5001 MB / 353.9 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.006888, allocations: 19.98 kB / 353.9 MB, free: 3.285 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.489e-05/0.006922, allocations: 64.7 kB / 354 MB, free: 3.203 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.86e-05/0.006981, allocations: 59.3 kB / 354 MB, free: 3.137 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.006982, allocations: 0 / 354 MB, free: 3.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.846e-05/0.007071, allocations: 89.52 kB / 354.1 MB, free: 3.043 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.007082, allocations: 8 kB / 354.1 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.007086, allocations: 0 / 354.1 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.007097, allocations: 64 / 354.1 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.199e-05/0.007159, allocations: 23.97 kB / 354.1 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.007164, allocations: 4 kB / 354.2 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.593e-05/0.007189, allocations: 4 kB / 354.2 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.007195, allocations: 4 kB / 354.2 MB, free: 3 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.023e-05/0.007245, allocations: 172.4 kB / 354.3 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.007258, allocations: 11.95 kB / 354.3 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.007383, allocations: 102.5 kB / 354.4 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.007384, allocations: 0 / 354.4 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.007387, allocations: 0 / 354.4 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.007392, allocations: 11.98 kB / 354.5 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.007599, allocations: 377 kB / 354.8 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.007602, allocations: 0 / 354.8 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.219e-05/0.007624, allocations: 8 kB / 354.8 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.007626, allocations: 0 / 354.8 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.007634, allocations: 8 kB / 354.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.007635, allocations: 0 / 354.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007636, allocations: 0 / 354.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.007741, allocations: 259.4 kB / 355.1 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-06/0.00775, allocations: 11.94 kB / 355.1 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.007765, allocations: 4.031 kB / 355.1 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.812e-05/0.007804, allocations: 8 kB / 355.1 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.007828, allocations: 7.984 kB / 355.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.007838, allocations: 4 kB / 355.1 MB, free: 1.949 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.093e-05/0.007889, allocations: 166.3 kB / 355.3 MB, free: 1.789 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007889, allocations: 0 / 355.3 MB, free: 1.789 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001737/0.008062, allocations: 27.94 kB / 355.3 MB, free: 1.762 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.0008624/0.008925, allocations: 495.6 kB / 355.8 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.009031, allocations: 43.67 kB / 355.8 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.009033, allocations: 4 kB / 355.8 MB, free: 1.316 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/0.009068, allocations: 35.61 kB / 355.9 MB, free: 1.277 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.009272, allocations: 35.81 kB / 355.9 MB, free: 1.242 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002532/0.009525, allocations: 197.1 kB / 356.1 MB, free: 1.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.699e-05/0.009552, allocations: 71.38 kB / 356.2 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.364e-05/0.009586, allocations: 16.42 kB / 356.2 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.009615, allocations: 16.5 kB / 356.2 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009616, allocations: 0 / 356.2 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of Templates: time 0.003818/0.01343, allocations: 2.142 MB / 358.3 MB, free: 14.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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.3469972640741616]