Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.001334/0.001334, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001684/0.003017, 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.001118/0.001118, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001538/0.002656, 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.038/1.038, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1952/1.234, allocations: 49.51 MB / 220.5 MB, free: 5.27 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.1393/0.1393, allocations: 32.34 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02827/0.1676, allocations: 12.3 MB / 265.9 MB, free: 7.824 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.883e-05, allocations: 2.312 kB / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003444/0.003473, allocations: 1.77 MB / 269.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.005151, allocations: 0.8154 MB / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.005257, allocations: 0 / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.00558, allocations: 59.62 kB / 269.9 MB, free: 3.781 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.005815, allocations: 63.69 kB / 270 MB, free: 3.719 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.006148, allocations: 79.7 kB / 270.1 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.006365, allocations: 99.64 kB / 270.2 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.006479, allocations: 8.219 kB / 270.2 MB, free: 3.535 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.006676, allocations: 75.83 kB / 270.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.006784, allocations: 23.92 kB / 270.3 MB, free: 3.438 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.006808, allocations: 4 kB / 270.3 MB, free: 3.434 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.006936, allocations: 47.86 kB / 270.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.286e-05/0.007009, allocations: 31.86 kB / 270.4 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.358e-05/0.007063, allocations: 15.94 kB / 270.4 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.007345, allocations: 103.6 kB / 270.5 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.249e-05/0.007368, allocations: 4 kB / 270.5 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.00737, allocations: 0 / 270.5 MB, free: 3.234 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.007392, allocations: 0 / 270.5 MB, free: 3.234 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.000641/0.008033, allocations: 359.6 kB / 270.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.00809, allocations: 8.031 kB / 270.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.008141, allocations: 8.938 kB / 270.8 MB, free: 2.844 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.008364, allocations: 157.5 kB / 271 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.008384, allocations: 4.359 kB / 271 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.008406, allocations: 4.375 kB / 271 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.008562, allocations: 61.77 kB / 271.1 MB, free: 2.586 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.008575, allocations: 3.938 kB / 271.1 MB, free: 2.582 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.008583, allocations: 0 / 271.1 MB, free: 2.582 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.00859, allocations: 4 kB / 271.1 MB, free: 2.578 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.068e-05/0.008631, allocations: 8 kB / 271.1 MB, free: 2.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.008949, allocations: 173.8 kB / 271.3 MB, free: 2.383 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.009114, allocations: 93.36 kB / 271.3 MB, free: 2.281 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.971e-05/0.009144, allocations: 20.83 kB / 271.4 MB, free: 2.258 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.009158, allocations: 0 / 271.4 MB, free: 2.258 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.009291, allocations: 70.16 kB / 271.4 MB, free: 2.176 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.784e-06/0.009293, allocations: 0 / 271.4 MB, free: 2.176 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003795/0.009673, allocations: 105.5 kB / 271.5 MB, free: 2.066 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.009716, allocations: 59.34 kB / 271.6 MB, free: 1.996 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.009884, allocations: 211.7 kB / 271.8 MB, free: 1.773 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.009906, allocations: 33.7 kB / 271.8 MB, free: 1.734 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.009958, allocations: 92.11 kB / 271.9 MB, free: 1.641 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.009995, allocations: 31.77 kB / 272 MB, free: 1.609 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.01004, allocations: 25.7 kB / 272 MB, free: 1.578 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.01014, allocations: 326.8 kB / 272.3 MB, free: 1.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.405e-05/0.01017, allocations: 10.81 kB / 272.3 MB, free: 1.238 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.906e-05/0.0102, allocations: 25.72 kB / 272.3 MB, free: 1.207 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.069e-05/0.01026, allocations: 48.56 kB / 272.4 MB, free: 1.152 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01026, allocations: 0 / 272.4 MB, free: 1.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001164/0.01038, allocations: 72.38 kB / 272.5 MB, free: 1.074 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.0104, allocations: 8.031 kB / 272.5 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.0104, allocations: 0 / 272.5 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.01042, allocations: 7.984 kB / 272.5 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.569e-05/0.01051, allocations: 19.92 kB / 272.5 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.01052, allocations: 0 / 272.5 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.01056, allocations: 11.94 kB / 272.5 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.01057, allocations: 0 / 272.5 MB, free: 1.027 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 8.709e-05/0.01066, allocations: 112.7 kB / 272.6 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.01068, allocations: 19.92 kB / 272.6 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005757/0.01126, allocations: 75.06 kB / 272.7 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.01126, allocations: 8 kB / 272.7 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.01127, allocations: 0 / 272.7 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01127, allocations: 0 / 272.7 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003785/0.01165, allocations: 295.4 kB / 273 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.01165, allocations: 0 / 273 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.617e-05/0.01171, allocations: 15.98 kB / 273 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.01173, allocations: 11.91 kB / 273 MB, free: 472 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.01173, allocations: 0 / 273 MB, free: 472 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.01175, allocations: 8 kB / 273 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.01175, allocations: 0 / 273 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.01175, allocations: 4.031 kB / 273 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.01192, allocations: 219 kB / 273.3 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.01195, allocations: 4.375 kB / 273.3 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.132e-05/0.01202, allocations: 4 kB / 273.3 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.01205, allocations: 11.92 kB / 273.3 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.01207, allocations: 8 kB / 273.3 MB, free: 192 kB / 266.7 MB Notification: Performance of sorting global known variables: time 7.917e-05/0.01215, allocations: 64.89 kB / 273.3 MB, free: 124 kB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01215, allocations: 0 / 273.3 MB, free: 124 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.0124, allocations: 27.98 kB / 273.4 MB, free: 96 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.001559/0.01396, allocations: 0.6401 MB / 274 MB, free: 15.44 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.01406, allocations: 40.83 kB / 274 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/0.01407, allocations: 4 kB / 274.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.326e-05/0.0141, allocations: 32.84 kB / 274.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.01432, allocations: 59.7 kB / 274.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005664/0.01489, allocations: 254.8 kB / 274.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.807e-05/0.01494, allocations: 75.27 kB / 274.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.487e-05/0.01497, allocations: 8.5 kB / 274.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.008e-05/0.01504, allocations: 71.36 kB / 274.5 MB, free: 14.85 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01504, allocations: 0 / 274.5 MB, free: 14.85 MB / 282.7 MB Notification: Performance of Templates: time 0.004319/0.01936, allocations: 2.04 MB / 276.6 MB, free: 12.8 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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.0661961175501347]