Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.0009989/0.0009989, 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.000978/0.000978, allocations: 165 kB / 23.8 MB, free: 0.7734 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.8637/0.8637, 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.1724/0.1724, allocations: 32.37 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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.184e-05, allocations: 8.219 kB / 347.8 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.001883/0.001905, allocations: 1.874 MB / 349.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009461/0.002851, allocations: 0.8894 MB / 350.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.697e-05/0.002928, allocations: 0 / 350.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003614/0.00329, allocations: 263.2 kB / 350.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.003526, allocations: 183.3 kB / 351 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.003763, allocations: 147.5 kB / 351.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.003943, allocations: 251.2 kB / 351.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.186e-05/0.004015, allocations: 13.8 kB / 351.4 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.004119, allocations: 147.6 kB / 351.5 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.004255, allocations: 191.6 kB / 351.7 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.004276, allocations: 8 kB / 351.7 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.076e-05/0.004346, allocations: 51.91 kB / 351.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.538e-05/0.004412, allocations: 59.78 kB / 351.8 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.448e-05/0.004466, allocations: 43.78 kB / 351.8 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.004687, allocations: 175.3 kB / 352 MB, free: 5.074 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.004689, allocations: 0 / 352 MB, free: 5.074 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004689, allocations: 4 kB / 352 MB, free: 5.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.004694, allocations: 0 / 352 MB, free: 5.07 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.0004842/0.005178, allocations: 0.6002 MB / 352.6 MB, free: 4.434 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.005208, allocations: 8.031 kB / 352.6 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.005264, allocations: 32.75 kB / 352.7 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.005447, allocations: 224.5 kB / 352.9 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.005463, allocations: 4.375 kB / 352.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.005482, allocations: 4.375 kB / 352.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.005626, allocations: 110.2 kB / 353 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.005636, allocations: 7.938 kB / 353 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.005646, allocations: 0 / 353 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.005653, allocations: 8 kB / 353 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.242e-05/0.005706, allocations: 23.92 kB / 353 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.00602, allocations: 0.4986 MB / 353.5 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.006161, allocations: 106.2 kB / 353.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.391e-05/0.006204, allocations: 35.36 kB / 353.7 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.006215, allocations: 4 kB / 353.7 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/0.006329, allocations: 124.2 kB / 353.8 MB, free: 3.117 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 8.62e-07/0.00633, allocations: 0 / 353.8 MB, free: 3.117 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005065/0.006837, allocations: 341 kB / 354.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/0.006857, allocations: 81.11 kB / 354.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.007098, allocations: 422.8 kB / 354.6 MB, free: 2.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.007116, allocations: 25.7 kB / 354.7 MB, free: 2.219 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.007187, allocations: 215.1 kB / 354.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.007221, allocations: 51.62 kB / 354.9 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.007265, allocations: 47.31 kB / 355 MB, free: 1.898 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.191e-05/0.007327, allocations: 0.5235 MB / 355.5 MB, free: 1.363 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.234e-05/0.007369, allocations: 23.98 kB / 355.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.816e-05/0.007427, allocations: 73.81 kB / 355.6 MB, free: 1.254 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.007531, allocations: 98.81 kB / 355.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.007532, allocations: 0 / 355.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001854/0.007717, allocations: 165.3 kB / 355.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.007728, allocations: 4 kB / 355.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.007733, allocations: 3.984 kB / 355.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.007744, allocations: 8.062 kB / 355.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.882e-05/0.007843, allocations: 27.98 kB / 355.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.007848, allocations: 4 kB / 355.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.546e-05/0.007904, allocations: 11.94 kB / 355.9 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.007913, allocations: 4 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 6.436e-05/0.007977, allocations: 180.4 kB / 356.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.00801, allocations: 39.77 kB / 356.1 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.008304, allocations: 184.4 kB / 356.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.008307, allocations: 3.984 kB / 356.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.00831, allocations: 4 kB / 356.3 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.008314, allocations: 4 kB / 356.3 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.008803, allocations: 0.6676 MB / 357 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.008805, allocations: 3.938 kB / 357 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.575e-05/0.008861, allocations: 19.98 kB / 357 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.008865, allocations: 4 kB / 357 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.008876, allocations: 4 kB / 357 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.008879, allocations: 320 / 357 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.008881, allocations: 3.938 kB / 357 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.009187, allocations: 482.2 kB / 357.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/0.009214, allocations: 23.81 kB / 357.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.009242, allocations: 4 kB / 357.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.009352, allocations: 7.984 kB / 357.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.009393, allocations: 19.92 kB / 357.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.009412, allocations: 11.98 kB / 357.5 MB, free: 15.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001979/0.00961, allocations: 283.1 kB / 357.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00961, allocations: 0 / 357.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003205/0.00993, allocations: 43.94 kB / 357.9 MB, free: 14.84 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.001161/0.01109, allocations: 447.4 kB / 358.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.01127, allocations: 95.02 kB / 358.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.01127, allocations: 0 / 358.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.931e-05/0.01135, allocations: 63.52 kB / 358.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.01179, allocations: 61.41 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.0005763/0.01236, allocations: 469.1 kB / 359 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.563e-05/0.01244, allocations: 95.95 kB / 359.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.985e-05/0.01251, allocations: 34.23 kB / 359.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.01256, allocations: 24.48 kB / 359.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01256, allocations: 4 kB / 359.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of Templates: time 0.006017/0.01858, allocations: 3.168 MB / 362.3 MB, free: 10.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.398210246115923]