Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0008956/0.0008956, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001312/0.002208, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001002/0.001002, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001207/0.00221, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.086/1.086, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09704/1.183, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2985/0.2985, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02579/0.3243, allocations: 12.53 MB / 289.3 MB, free: 8.688 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.175e-06/2.175e-06, allocations: 0 / 290.7 MB, free: 7.605 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.207e-05, allocations: 4.203 kB / 290.7 MB, free: 7.602 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002262/0.002285, allocations: 1.893 MB / 292.6 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.004261, allocations: 1.835 MB / 294.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.686e-05/0.004347, allocations: 0 / 294.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.004546, allocations: 47.64 kB / 294.5 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.004837, allocations: 152 kB / 294.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.005031, allocations: 103.6 kB / 294.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.005266, allocations: 207.3 kB / 294.9 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.005312, allocations: 10.47 kB / 294.9 MB, free: 3.988 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.005493, allocations: 160.2 kB / 295.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.005628, allocations: 67.73 kB / 295.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.005648, allocations: 12 kB / 295.2 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.005846, allocations: 111.8 kB / 295.3 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.204e-05/0.005898, allocations: 23.88 kB / 295.3 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.005934, allocations: 31.88 kB / 295.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.006154, allocations: 187.3 kB / 295.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.376e-05/0.006168, allocations: 4 kB / 295.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.006169, allocations: 0 / 295.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.006188, allocations: 0 / 295.5 MB, free: 3.402 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.0005098/0.006697, allocations: 431.9 kB / 295.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.006727, allocations: 8.625 kB / 295.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.017e-05/0.006767, allocations: 16.92 kB / 296 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.006963, allocations: 177.4 kB / 296.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.006983, allocations: 8.312 kB / 296.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.006995, allocations: 4.375 kB / 296.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.007148, allocations: 160.5 kB / 296.3 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.007157, allocations: 3.938 kB / 296.3 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.007166, allocations: 4 kB / 296.3 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.007171, allocations: 0 / 296.3 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.522e-05/0.007206, allocations: 21.64 kB / 296.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001005/0.007307, allocations: 86.31 kB / 296.4 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.007421, allocations: 78.86 kB / 296.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.007458, allocations: 29.7 kB / 296.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.007472, allocations: 0 / 296.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.0076, allocations: 103.8 kB / 296.6 MB, free: 2.141 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 7.21e-07/0.007601, allocations: 0 / 296.6 MB, free: 2.141 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001604/0.007761, allocations: 91.25 kB / 296.7 MB, free: 2.043 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.007802, allocations: 89.03 kB / 296.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.007938, allocations: 214.6 kB / 297 MB, free: 1.715 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.007953, allocations: 29.7 kB / 297 MB, free: 1.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/0.007986, allocations: 100.6 kB / 297.1 MB, free: 1.578 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.008024, allocations: 39.77 kB / 297.2 MB, free: 1.539 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.008058, allocations: 25.7 kB / 297.2 MB, free: 1.508 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.824e-05/0.008147, allocations: 330.8 kB / 297.5 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.008166, allocations: 10.83 kB / 297.5 MB, free: 1.164 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.67e-05/0.008222, allocations: 114.7 kB / 297.6 MB, free: 1.023 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.498e-05/0.008277, allocations: 63.89 kB / 297.7 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.008279, allocations: 3.938 kB / 297.7 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.436e-05/0.008364, allocations: 95.31 kB / 297.8 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.008374, allocations: 4 kB / 297.8 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.008379, allocations: 0 / 297.8 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.156e-06/0.008387, allocations: 4 kB / 297.8 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.313e-05/0.00846, allocations: 27.92 kB / 297.8 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.008463, allocations: 3.938 kB / 297.8 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.008509, allocations: 19.88 kB / 297.9 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.008516, allocations: 4 kB / 297.9 MB, free: 0.7773 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.99e-05/0.008586, allocations: 121.2 kB / 298 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.008603, allocations: 11.98 kB / 298 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.008711, allocations: 106.7 kB / 298.1 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.008715, allocations: 7.938 kB / 298.1 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.008717, allocations: 3.938 kB / 298.1 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.008721, allocations: 256 / 298.1 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.407e-05/0.008805, allocations: 97.84 kB / 298.2 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.008807, allocations: 4 kB / 298.2 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.857e-05/0.008835, allocations: 15.98 kB / 298.2 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.008855, allocations: 19.86 kB / 298.2 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.008856, allocations: 0 / 298.2 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.008862, allocations: 4 kB / 298.2 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.008864, allocations: 7.984 kB / 298.2 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.008866, allocations: 7.875 kB / 298.3 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.94e-05/0.008955, allocations: 118.4 kB / 298.4 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.008975, allocations: 4 kB / 298.4 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.129e-05/0.009006, allocations: 11.98 kB / 298.4 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.009036, allocations: 7.984 kB / 298.4 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.009052, allocations: 7.938 kB / 298.4 MB, free: 172 kB / 282.7 MB Notification: Performance of sorting global known variables: time 6.142e-05/0.009113, allocations: 78.61 kB / 298.5 MB, free: 92 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009113, allocations: 0 / 298.5 MB, free: 92 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001673/0.009281, allocations: 55.86 kB / 298.5 MB, free: 36 kB / 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.001478/0.01076, allocations: 0.7128 MB / 299.2 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.01088, allocations: 56.77 kB / 299.3 MB, free: 15.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/0.01088, allocations: 4 kB / 299.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.01092, allocations: 32.78 kB / 299.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.0111, allocations: 67.94 kB / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.01158, allocations: 280.9 kB / 299.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.187e-05/0.01162, allocations: 79.98 kB / 299.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.552e-05/0.01168, allocations: 25.47 kB / 299.8 MB, free: 15.1 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.01179, allocations: 99.33 kB / 299.9 MB, free: 15 MB / 298.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01179, allocations: 0 / 299.9 MB, free: 15 MB / 298.7 MB Notification: Performance of Templates: time 0.005236/0.01702, allocations: 3.81 MB / 303.7 MB, free: 11.25 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.2046976732090116]