Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.001507/0.001507, allocations: 88.2 kB / 20.94 MB, free: 3.602 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.001693/0.001693, allocations: 173 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.059/1.059, allocations: 158.6 MB / 186 MB, free: 2.922 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.1379/0.1379, allocations: 32.37 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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 3.938 kB / 347.7 MB, free: 9.695 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.404e-05, allocations: 2.312 kB / 347.8 MB, free: 9.691 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002887/0.002911, allocations: 1.874 MB / 349.6 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008219/0.003733, allocations: 0.8816 MB / 350.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.77e-05/0.003801, allocations: 0 / 350.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.0041, allocations: 227.2 kB / 350.7 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.004306, allocations: 171.3 kB / 350.9 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.004513, allocations: 151.6 kB / 351 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.004671, allocations: 231.3 kB / 351.3 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.358e-05/0.004755, allocations: 17.78 kB / 351.3 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.583e-05/0.004851, allocations: 127.7 kB / 351.4 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.004965, allocations: 159.6 kB / 351.6 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.004983, allocations: 8 kB / 351.6 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.465e-05/0.005048, allocations: 47.91 kB / 351.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.005102, allocations: 55.78 kB / 351.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.005144, allocations: 39.8 kB / 351.7 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.005308, allocations: 167.3 kB / 351.9 MB, free: 5.539 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.005311, allocations: 0 / 351.9 MB, free: 5.539 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005312, allocations: 3.938 kB / 351.9 MB, free: 5.535 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.005316, allocations: 4 kB / 351.9 MB, free: 5.531 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.0003648/0.00568, allocations: 0.5731 MB / 352.5 MB, free: 4.922 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.00571, allocations: 12.03 kB / 352.5 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.005754, allocations: 32.75 kB / 352.5 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.005915, allocations: 216.6 kB / 352.7 MB, free: 4.641 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.00593, allocations: 4.375 kB / 352.7 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.00595, allocations: 8.375 kB / 352.7 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.006072, allocations: 106.3 kB / 352.8 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.006081, allocations: 3.938 kB / 352.8 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.006089, allocations: 4 kB / 352.8 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.006095, allocations: 0 / 352.8 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.501e-05/0.00614, allocations: 31.86 kB / 352.9 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.006419, allocations: 498.6 kB / 353.4 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.006535, allocations: 114.2 kB / 353.5 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/0.006571, allocations: 35.36 kB / 353.5 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.006582, allocations: 0 / 353.5 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.901e-05/0.006681, allocations: 116.3 kB / 353.6 MB, free: 3.625 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 6.31e-07/0.006682, allocations: 0 / 353.6 MB, free: 3.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004501/0.007132, allocations: 337.2 kB / 353.9 MB, free: 3.289 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.007154, allocations: 81.11 kB / 354 MB, free: 3.191 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.007328, allocations: 382.3 kB / 354.4 MB, free: 2.801 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.007338, allocations: 37.69 kB / 354.4 MB, free: 2.758 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.007392, allocations: 199.1 kB / 354.6 MB, free: 2.559 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.00742, allocations: 55.61 kB / 354.7 MB, free: 2.504 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.007453, allocations: 39.38 kB / 354.7 MB, free: 2.457 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.775e-05/0.007501, allocations: 0.5235 MB / 355.2 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.458e-05/0.007535, allocations: 28.05 kB / 355.3 MB, free: 1.895 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.483e-05/0.00758, allocations: 73.78 kB / 355.3 MB, free: 1.809 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.941e-05/0.00766, allocations: 102.8 kB / 355.4 MB, free: 1.691 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.007661, allocations: 0 / 355.4 MB, free: 1.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001346/0.007795, allocations: 165.3 kB / 355.6 MB, free: 1.523 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.007809, allocations: 4 kB / 355.6 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.007813, allocations: 4 kB / 355.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.007823, allocations: 4.062 kB / 355.6 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.007906, allocations: 31.98 kB / 355.7 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.007911, allocations: 0 / 355.7 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.966e-05/0.007951, allocations: 8 kB / 355.7 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.007958, allocations: 7.984 kB / 355.7 MB, free: 1.465 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 5.43e-05/0.008012, allocations: 172.5 kB / 355.8 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.008036, allocations: 35.81 kB / 355.9 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.008217, allocations: 188.1 kB / 356.1 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.008219, allocations: 0 / 356.1 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.008223, allocations: 8 kB / 356.1 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.008227, allocations: 0 / 356.1 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.008558, allocations: 0.6639 MB / 356.7 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.008561, allocations: 0 / 356.7 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.008599, allocations: 16 kB / 356.7 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.008602, allocations: 7.984 kB / 356.7 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.008612, allocations: 8 kB / 356.8 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.008613, allocations: 0 / 356.8 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.008615, allocations: 3.938 kB / 356.8 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.008835, allocations: 476.6 kB / 357.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.008856, allocations: 23.81 kB / 357.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.008879, allocations: 8 kB / 357.3 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/0.008947, allocations: 7.984 kB / 357.3 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.008984, allocations: 15.92 kB / 357.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.008997, allocations: 8 kB / 357.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001474/0.009144, allocations: 267 kB / 357.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009144, allocations: 0 / 357.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000214/0.009358, allocations: 39.98 kB / 357.6 MB, free: 15.45 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.0008553/0.01021, allocations: 444.6 kB / 358 MB, free: 15.1 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001522/0.01037, allocations: 99.02 kB / 358.1 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.01037, allocations: 0 / 358.1 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.008e-05/0.01043, allocations: 59.53 kB / 358.2 MB, free: 14.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.01076, allocations: 65.09 kB / 358.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004845/0.01125, allocations: 433.3 kB / 358.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.761e-05/0.0113, allocations: 99.95 kB / 358.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.882e-05/0.01136, allocations: 34.22 kB / 358.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.01141, allocations: 24.44 kB / 358.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01141, allocations: 4 kB / 358.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of Templates: time 0.004344/0.01575, allocations: 2.937 MB / 361.8 MB, free: 11.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.236621039919555]