Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.001175/0.001175, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.001396/0.001396, allocations: 173 kB / 24.05 MB, free: 456 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.057/1.057, allocations: 158.6 MB / 185.9 MB, free: 2.805 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.1482/0.1482, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 348.2 MB, free: 9.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.099e-05/4.334e-05, allocations: 6.25 kB / 348.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002682/0.002726, allocations: 1.718 MB / 349.9 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.003882, allocations: 0.7881 MB / 350.7 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.003983, allocations: 4 kB / 350.7 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.004342, allocations: 31.8 kB / 350.8 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.004616, allocations: 55.69 kB / 350.8 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.004831, allocations: 91.64 kB / 350.9 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.004983, allocations: 99.67 kB / 351 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.005083, allocations: 4.234 kB / 351 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.681e-05/0.00517, allocations: 51.84 kB / 351 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.649e-05/0.005256, allocations: 31.89 kB / 351.1 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.005274, allocations: 4 kB / 351.1 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.842e-05/0.005352, allocations: 39.92 kB / 351.1 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.915e-05/0.005401, allocations: 23.86 kB / 351.1 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.00544, allocations: 15.98 kB / 351.2 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.005611, allocations: 95.59 kB / 351.3 MB, free: 6.035 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.005615, allocations: 4 kB / 351.3 MB, free: 6.031 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.005617, allocations: 3.938 kB / 351.3 MB, free: 6.027 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.005622, allocations: 0 / 351.3 MB, free: 6.027 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.0003875/0.006009, allocations: 424 kB / 351.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.006049, allocations: 12.02 kB / 351.7 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.006086, allocations: 12.89 kB / 351.7 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.006209, allocations: 149 kB / 351.8 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.006226, allocations: 4.375 kB / 351.8 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.006245, allocations: 384 / 351.8 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.006362, allocations: 66.31 kB / 351.9 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.006373, allocations: 4 kB / 351.9 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.006381, allocations: 0 / 351.9 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.006389, allocations: 3.938 kB / 351.9 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.006414, allocations: 11.98 kB / 351.9 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002522/0.006666, allocations: 252.4 kB / 352.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.1e-05/0.006757, allocations: 59.09 kB / 352.2 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.302e-05/0.00678, allocations: 15.62 kB / 352.3 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.006802, allocations: 4 kB / 352.3 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/0.006917, allocations: 65.03 kB / 352.3 MB, free: 4.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.512e-06/0.006919, allocations: 8 kB / 352.3 MB, free: 4.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003337/0.007253, allocations: 133.4 kB / 352.5 MB, free: 4.695 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.007273, allocations: 59.34 kB / 352.5 MB, free: 4.625 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.538e-05/0.007348, allocations: 209.8 kB / 352.7 MB, free: 4.402 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.926e-06/0.007357, allocations: 25.7 kB / 352.7 MB, free: 4.371 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.007396, allocations: 142.9 kB / 352.9 MB, free: 4.227 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.007421, allocations: 35.77 kB / 352.9 MB, free: 4.191 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.007451, allocations: 27.38 kB / 352.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.007502, allocations: 0.4961 MB / 353.4 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.00752, allocations: 11.98 kB / 353.5 MB, free: 3.637 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.633e-05/0.007546, allocations: 39.28 kB / 353.5 MB, free: 3.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.028e-05/0.007587, allocations: 43.36 kB / 353.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.007588, allocations: 0 / 353.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.255e-05/0.00768, allocations: 81.66 kB / 353.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.007693, allocations: 4 kB / 353.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.007698, allocations: 80 / 353.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.007712, allocations: 4 kB / 353.6 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.536e-05/0.007777, allocations: 15.98 kB / 353.6 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.00778, allocations: 3.984 kB / 353.6 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.007808, allocations: 12.03 kB / 353.7 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.007814, allocations: 0 / 353.7 MB, free: 3.414 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.593e-05/0.00787, allocations: 168.4 kB / 353.8 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.007884, allocations: 19.91 kB / 353.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.008007, allocations: 90.45 kB / 353.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.008009, allocations: 0 / 353.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.008012, allocations: 3.984 kB / 353.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.008015, allocations: 3.938 kB / 353.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.008234, allocations: 353.7 kB / 354.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.008237, allocations: 4.031 kB / 354.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.008265, allocations: 11.94 kB / 354.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.008269, allocations: 4 kB / 354.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.008275, allocations: 384 / 354.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.008277, allocations: 3.984 kB / 354.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.00828, allocations: 4 kB / 354.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.008388, allocations: 255.4 kB / 354.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.008399, allocations: 7.953 kB / 354.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.008414, allocations: 4 kB / 354.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.369e-05/0.008458, allocations: 4 kB / 354.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.008484, allocations: 15.86 kB / 354.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.008499, allocations: 4 kB / 354.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.704e-05/0.008536, allocations: 155.1 kB / 354.7 MB, free: 2.246 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008536, allocations: 0 / 354.7 MB, free: 2.246 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001691/0.008705, allocations: 23.94 kB / 354.8 MB, free: 2.223 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.0008958/0.009601, allocations: 437.4 kB / 355.2 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.009722, allocations: 47.55 kB / 355.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.009724, allocations: 0 / 355.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.293e-05/0.009757, allocations: 35.81 kB / 355.3 MB, free: 1.801 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.01, allocations: 39.97 kB / 355.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.01032, allocations: 205 kB / 355.5 MB, free: 1.531 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.095e-05/0.01036, allocations: 63.34 kB / 355.6 MB, free: 1.449 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.951e-05/0.0104, allocations: 8.5 kB / 355.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.959e-05/0.01046, allocations: 90.19 kB / 355.7 MB, free: 1.352 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01047, allocations: 64 / 355.7 MB, free: 1.352 MB / 282.7 MB Notification: Performance of Templates: time 0.003798/0.01426, allocations: 2.01 MB / 357.7 MB, free: 15.36 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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.192710364703089]