Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.0008547/0.0008547, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001004/0.001858, allocations: 447.8 kB / 10.35 MB, free: 348 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.00072/0.00072, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008515/0.001571, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.002/1.002, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2038/1.206, allocations: 49.5 MB / 220.5 MB, free: 5.277 MB / 218.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.148/0.148, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02554/0.1735, allocations: 12.3 MB / 265.9 MB, free: 7.832 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.685e-05, allocations: 10.25 kB / 267.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003555/0.003582, allocations: 1.766 MB / 269.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.004925, allocations: 0.8115 MB / 269.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.811e-05/0.005013, allocations: 0 / 269.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.005275, allocations: 51.69 kB / 269.9 MB, free: 3.793 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.005473, allocations: 51.64 kB / 270 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.005745, allocations: 91.7 kB / 270.1 MB, free: 3.652 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.005972, allocations: 95.69 kB / 270.2 MB, free: 3.559 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.00621, allocations: 4.234 kB / 270.2 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.006365, allocations: 79.77 kB / 270.2 MB, free: 3.477 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.171e-05/0.006457, allocations: 23.91 kB / 270.3 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.006478, allocations: 4 kB / 270.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.006586, allocations: 43.92 kB / 270.3 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/0.006638, allocations: 19.94 kB / 270.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.00668, allocations: 11.94 kB / 270.3 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.006892, allocations: 103.5 kB / 270.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.998e-05/0.006912, allocations: 8 kB / 270.4 MB, free: 3.266 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.006913, allocations: 0 / 270.4 MB, free: 3.266 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.006931, allocations: 0 / 270.4 MB, free: 3.266 MB / 266.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.0005696/0.007501, allocations: 327.9 kB / 270.8 MB, free: 2.922 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.007548, allocations: 8.031 kB / 270.8 MB, free: 2.914 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.007596, allocations: 12.92 kB / 270.8 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.007828, allocations: 142.3 kB / 270.9 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.007846, allocations: 384 / 270.9 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.007867, allocations: 4.375 kB / 270.9 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.008018, allocations: 65.7 kB / 271 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.008029, allocations: 7.938 kB / 271 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.008038, allocations: 0 / 271 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.008043, allocations: 4 kB / 271 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.68e-05/0.00808, allocations: 7.984 kB / 271 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002947/0.008375, allocations: 173.9 kB / 271.2 MB, free: 2.453 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.008502, allocations: 89.28 kB / 271.3 MB, free: 2.355 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/0.008527, allocations: 12.8 kB / 271.3 MB, free: 2.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.008541, allocations: 7.938 kB / 271.3 MB, free: 2.332 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.008688, allocations: 70.16 kB / 271.4 MB, free: 2.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.184e-06/0.00869, allocations: 0 / 271.4 MB, free: 2.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004263/0.009116, allocations: 113.5 kB / 271.5 MB, free: 2.133 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.009164, allocations: 55.41 kB / 271.5 MB, free: 2.066 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.009304, allocations: 177 kB / 271.7 MB, free: 1.879 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.009324, allocations: 25.7 kB / 271.7 MB, free: 1.848 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.009366, allocations: 92.11 kB / 271.8 MB, free: 1.754 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.009409, allocations: 31.77 kB / 271.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.009455, allocations: 21.72 kB / 271.9 MB, free: 1.695 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.009575, allocations: 326.8 kB / 272.2 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.334e-05/0.009608, allocations: 10.83 kB / 272.2 MB, free: 1.355 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.416e-05/0.009642, allocations: 25.7 kB / 272.2 MB, free: 1.324 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.286e-05/0.009705, allocations: 44.45 kB / 272.3 MB, free: 1.273 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.009706, allocations: 0 / 272.3 MB, free: 1.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001167/0.009823, allocations: 76.38 kB / 272.3 MB, free: 1.191 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.009839, allocations: 4 kB / 272.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.009847, allocations: 3.984 kB / 272.3 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.00986, allocations: 3.984 kB / 272.4 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.022e-05/0.00995, allocations: 16 kB / 272.4 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.009953, allocations: 4.031 kB / 272.4 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.769e-05/0.009991, allocations: 4 kB / 272.4 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.01, allocations: 3.984 kB / 272.4 MB, free: 1.152 MB / 266.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 9.451e-05/0.01009, allocations: 120.6 kB / 272.5 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.01011, allocations: 15.92 kB / 272.5 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.01026, allocations: 71.14 kB / 272.6 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01026, allocations: 0 / 272.6 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.01026, allocations: 0 / 272.6 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.01027, allocations: 0 / 272.6 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.0106, allocations: 303.4 kB / 272.9 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.0106, allocations: 0 / 272.9 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.431e-05/0.01065, allocations: 19.92 kB / 272.9 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.01066, allocations: 3.953 kB / 272.9 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.01066, allocations: 4 kB / 272.9 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.01067, allocations: 0 / 272.9 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.01067, allocations: 3.938 kB / 272.9 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.01068, allocations: 4 kB / 272.9 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.01082, allocations: 215 kB / 273.1 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.01084, allocations: 4.375 kB / 273.1 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.314e-05/0.0109, allocations: 4 kB / 273.1 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.01093, allocations: 12.02 kB / 273.1 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.01095, allocations: 4 kB / 273.1 MB, free: 332 kB / 266.7 MB Notification: Performance of sorting global known variables: time 6.032e-05/0.01101, allocations: 56.33 kB / 273.2 MB, free: 272 kB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01101, allocations: 0 / 273.2 MB, free: 272 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002146/0.01122, allocations: 23.94 kB / 273.2 MB, free: 248 kB / 266.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.002267/0.01349, allocations: 0.644 MB / 273.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.01362, allocations: 40.78 kB / 273.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/0.01363, allocations: 4 kB / 273.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.956e-05/0.01367, allocations: 24.8 kB / 273.9 MB, free: 15.51 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.01396, allocations: 47.7 kB / 274 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006393/0.0146, allocations: 222.4 kB / 274.2 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.656e-05/0.01465, allocations: 75.33 kB / 274.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.048e-05/0.0147, allocations: 12.8 kB / 274.3 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.622e-05/0.01479, allocations: 63.38 kB / 274.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of SimCode: time 1.523e-06/0.01479, allocations: 0 / 274.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of Templates: time 0.004822/0.01961, allocations: 2.037 MB / 276.4 MB, free: 13.01 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.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.0690395422279835]