Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.001069/0.001069, 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.001155/0.001155, 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.128/1.128, allocations: 158.6 MB / 186 MB, free: 2.465 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.155/0.155, allocations: 32.37 MB / 270.7 MB, free: 14.75 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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.908e-05/3.111e-05, allocations: 6.25 kB / 347.8 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.00238/0.002411, allocations: 1.737 MB / 349.5 MB, free: 7.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.003924, allocations: 1.513 MB / 351 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.004071, allocations: 3.938 kB / 351 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00053/0.004601, allocations: 35.83 kB / 351 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.004982, allocations: 59.64 kB / 351.1 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.005236, allocations: 91.69 kB / 351.2 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.005409, allocations: 95.7 kB / 351.3 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.005515, allocations: 8.219 kB / 351.3 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.18e-05/0.005597, allocations: 55.77 kB / 351.3 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.005706, allocations: 27.91 kB / 351.4 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.005725, allocations: 4 kB / 351.4 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.005835, allocations: 63.91 kB / 351.4 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.005886, allocations: 15.92 kB / 351.5 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.005938, allocations: 27.91 kB / 351.5 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.006147, allocations: 107.5 kB / 351.6 MB, free: 5.84 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.006152, allocations: 7.984 kB / 351.6 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.006153, allocations: 0 / 351.6 MB, free: 5.832 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.006159, allocations: 3.938 kB / 351.6 MB, free: 5.828 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.0004625/0.006621, allocations: 432 kB / 352 MB, free: 5.371 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.006662, allocations: 8.031 kB / 352 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.981e-05/0.006722, allocations: 12.89 kB / 352 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.006895, allocations: 140.5 kB / 352.2 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.006915, allocations: 384 / 352.2 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.006937, allocations: 4.375 kB / 352.2 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.007099, allocations: 111.9 kB / 352.3 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.007111, allocations: 11.94 kB / 352.3 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.007122, allocations: 4 kB / 352.3 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.007129, allocations: 0 / 352.3 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.582e-05/0.007165, allocations: 11.98 kB / 352.3 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/0.00744, allocations: 271.8 kB / 352.6 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.007544, allocations: 55.11 kB / 352.6 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.007575, allocations: 23.61 kB / 352.7 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.007588, allocations: 4 kB / 352.7 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.982e-05/0.007687, allocations: 65.05 kB / 352.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.007689, allocations: 4 kB / 352.7 MB, free: 4.543 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004049/0.008094, allocations: 149.5 kB / 352.9 MB, free: 4.391 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.008127, allocations: 81.11 kB / 353 MB, free: 4.293 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.008229, allocations: 205.2 kB / 353.2 MB, free: 4.078 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.008239, allocations: 37.64 kB / 353.2 MB, free: 4.035 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/0.008275, allocations: 142.9 kB / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.008299, allocations: 19.8 kB / 353.4 MB, free: 3.871 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.008336, allocations: 31.36 kB / 353.4 MB, free: 3.832 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.189e-05/0.008388, allocations: 0.4962 MB / 353.9 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.726e-05/0.008415, allocations: 16 kB / 353.9 MB, free: 3.309 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-05/0.008454, allocations: 76.69 kB / 354 MB, free: 3.215 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.609e-05/0.00851, allocations: 51.3 kB / 354 MB, free: 3.156 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.008511, allocations: 4 kB / 354 MB, free: 3.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001078/0.008619, allocations: 89.52 kB / 354.1 MB, free: 3.059 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.008635, allocations: 8 kB / 354.1 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.008641, allocations: 0 / 354.1 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.008657, allocations: 0 / 354.1 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.736e-05/0.008755, allocations: 15.98 kB / 354.1 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.008767, allocations: 4 kB / 354.1 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.546e-05/0.008803, allocations: 8.062 kB / 354.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.00881, allocations: 4 kB / 354.1 MB, free: 3.02 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 6.825e-05/0.008879, allocations: 168.5 kB / 354.3 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.008894, allocations: 7.953 kB / 354.3 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.009053, allocations: 110.5 kB / 354.4 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.009056, allocations: 0 / 354.4 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.009061, allocations: 0 / 354.4 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.009066, allocations: 0 / 354.4 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.009309, allocations: 381 kB / 354.8 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.009311, allocations: 8.031 kB / 354.8 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.009338, allocations: 11.98 kB / 354.8 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.009342, allocations: 3.984 kB / 354.8 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.009351, allocations: 8 kB / 354.8 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.009353, allocations: 0 / 354.8 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.009355, allocations: 0 / 354.8 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.009469, allocations: 259.4 kB / 355.1 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.009478, allocations: 7.953 kB / 355.1 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.009498, allocations: 4 kB / 355.1 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.527e-05/0.009543, allocations: 7.984 kB / 355.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.009578, allocations: 8 kB / 355.1 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.009592, allocations: 0 / 355.1 MB, free: 1.969 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.9e-05/0.009641, allocations: 170.3 kB / 355.3 MB, free: 1.805 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009641, allocations: 0 / 355.3 MB, free: 1.805 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001967/0.009838, allocations: 31.92 kB / 355.3 MB, free: 1.773 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.0009913/0.01083, allocations: 492.8 kB / 355.8 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001517/0.01098, allocations: 51.59 kB / 355.8 MB, free: 1.332 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01098, allocations: 0 / 355.8 MB, free: 1.332 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.065e-05/0.01102, allocations: 35.66 kB / 355.9 MB, free: 1.293 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.01126, allocations: 27.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.0003478/0.01161, allocations: 205 kB / 356.1 MB, free: 1.035 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.039e-05/0.01164, allocations: 67.25 kB / 356.2 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.602e-05/0.01168, allocations: 16.61 kB / 356.2 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.01172, allocations: 20.48 kB / 356.2 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01172, allocations: 0 / 356.2 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of Templates: time 0.004364/0.01608, 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.Test84.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.415292549179867]