Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.0009329/0.0009329, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.000882/0.000882, allocations: 165.3 kB / 23.8 MB, free: 0.7773 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.9479/0.9479, allocations: 158.6 MB / 185.7 MB, free: 2.934 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.1409/0.1409, 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.634e-05, allocations: 4.281 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.001882/0.001898, allocations: 1.82 MB / 349.6 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.003185, allocations: 1.591 MB / 351.2 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.038e-05/0.003246, allocations: 0 / 351.2 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.003501, allocations: 55.62 kB / 351.2 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.003743, allocations: 99.47 kB / 351.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.003936, allocations: 139.6 kB / 351.4 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.004098, allocations: 195.3 kB / 351.6 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.365e-05/0.004131, allocations: 5.812 kB / 351.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.173e-05/0.004223, allocations: 103.7 kB / 351.7 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.004335, allocations: 55.81 kB / 351.8 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.004354, allocations: 8 kB / 351.8 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.1e-05/0.004445, allocations: 59.92 kB / 351.9 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.859e-05/0.004494, allocations: 35.83 kB / 351.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.004534, allocations: 35.86 kB / 351.9 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.00472, allocations: 151.4 kB / 352.1 MB, free: 5.012 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.004722, allocations: 0 / 352.1 MB, free: 5.012 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.004723, allocations: 4 kB / 352.1 MB, free: 5.008 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.004726, allocations: 0 / 352.1 MB, free: 5.008 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003869/0.005113, allocations: 499.5 kB / 352.6 MB, free: 4.484 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.00515, allocations: 8.031 kB / 352.6 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.005196, allocations: 20.83 kB / 352.6 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.005359, allocations: 176.3 kB / 352.8 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.005371, allocations: 384 / 352.8 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.005383, allocations: 4.375 kB / 352.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.005511, allocations: 173 kB / 352.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.949e-06/0.005516, allocations: 3.938 kB / 353 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.005527, allocations: 8 kB / 353 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.005533, allocations: 3.938 kB / 353 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.425e-05/0.005578, allocations: 23.97 kB / 353 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.005702, allocations: 156.3 kB / 353.1 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.005827, allocations: 98.16 kB / 353.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/0.005866, allocations: 35.36 kB / 353.3 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.005877, allocations: 0 / 353.3 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001031/0.00598, allocations: 112.3 kB / 353.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.005981, allocations: 4 kB / 353.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002311/0.006212, allocations: 145.4 kB / 353.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.006244, allocations: 132.5 kB / 353.7 MB, free: 3.207 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.006368, allocations: 258.8 kB / 353.9 MB, free: 2.934 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.006377, allocations: 29.7 kB / 353.9 MB, free: 2.898 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.006413, allocations: 158.9 kB / 354.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.006445, allocations: 31.78 kB / 354.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.006473, allocations: 31.38 kB / 354.2 MB, free: 2.668 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.817e-05/0.006532, allocations: 0.504 MB / 354.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.576e-05/0.006557, allocations: 12.5 kB / 354.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.243e-05/0.00661, allocations: 125.5 kB / 354.8 MB, free: 1.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.578e-05/0.006676, allocations: 82.69 kB / 354.9 MB, free: 1.883 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.006677, allocations: 0 / 354.9 MB, free: 1.883 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001015/0.006778, allocations: 117.4 kB / 355 MB, free: 1.762 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.006788, allocations: 8 kB / 355 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.006794, allocations: 8.031 kB / 355 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.006808, allocations: 0 / 355 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.829e-05/0.006876, allocations: 27.98 kB / 355 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.006881, allocations: 0 / 355 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.768e-05/0.006919, allocations: 4 kB / 355 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.006925, allocations: 4 kB / 355 MB, free: 1.711 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.736e-05/0.006992, allocations: 180.5 kB / 355.2 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.007013, allocations: 19.91 kB / 355.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.007158, allocations: 142.6 kB / 355.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.007159, allocations: 0 / 355.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.007163, allocations: 8.25 kB / 355.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.007167, allocations: 0 / 355.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.389e-05/0.00725, allocations: 168.5 kB / 355.5 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.007252, allocations: 0 / 355.5 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/0.007277, allocations: 15.92 kB / 355.6 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.007279, allocations: 0 / 355.6 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.007287, allocations: 4 kB / 355.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.007289, allocations: 3.938 kB / 355.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.007289, allocations: 0 / 355.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.007415, allocations: 175.9 kB / 355.7 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.251e-05/0.007428, allocations: 19.91 kB / 355.8 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.007449, allocations: 7.984 kB / 355.8 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.346e-05/0.007483, allocations: 7.938 kB / 355.8 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.007514, allocations: 7.984 kB / 355.8 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.007526, allocations: 12 kB / 355.8 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.649e-05/0.007603, allocations: 189.4 kB / 356 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007603, allocations: 0 / 356 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001929/0.007796, allocations: 35.94 kB / 356 MB, free: 0.6523 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.0007982/0.008594, allocations: 447.1 kB / 356.5 MB, free: 316 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.008719, allocations: 79.53 kB / 356.5 MB, free: 232 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.008721, allocations: 0 / 356.5 MB, free: 232 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.249e-05/0.008763, allocations: 36.05 kB / 356.6 MB, free: 192 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.008959, allocations: 63.89 kB / 356.6 MB, free: 128 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.009323, allocations: 269.5 kB / 356.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.311e-05/0.009366, allocations: 71.98 kB / 357 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.401e-05/0.00943, allocations: 29.59 kB / 357 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.009476, allocations: 28.48 kB / 357 MB, free: 15.68 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009477, allocations: 0 / 357 MB, free: 15.68 MB / 298.7 MB Notification: Performance of Templates: time 0.004854/0.01433, allocations: 3.194 MB / 360.2 MB, free: 12.52 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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.277283363044262]