Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.001429/0.001429, allocations: 96.2 kB / 20.21 MB, free: 4.195 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.001491/0.001491, allocations: 157.3 kB / 23.51 MB, free: 0.8906 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 1.56/1.56, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.243/0.243, allocations: 32.37 MB / 270 MB, free: 14.86 MB / 266.7 MB " [Timeout remaining time 179] 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 347 MB, free: 9.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.134e-05, allocations: 2.312 kB / 347 MB, free: 9.719 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002493/0.002524, allocations: 1.685 MB / 348.7 MB, free: 8.023 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.003679, allocations: 0.7766 MB / 349.5 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.841e-05/0.003747, allocations: 0 / 349.5 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.004063, allocations: 43.7 kB / 349.5 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.004323, allocations: 55.7 kB / 349.6 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.004565, allocations: 91.69 kB / 349.7 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.004723, allocations: 99.62 kB / 349.8 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.004827, allocations: 8.219 kB / 349.8 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.498e-05/0.004922, allocations: 51.84 kB / 349.8 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.64e-05/0.004998, allocations: 23.91 kB / 349.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.00502, allocations: 4 kB / 349.8 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.561e-05/0.005105, allocations: 43.92 kB / 349.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.005162, allocations: 19.92 kB / 349.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/0.005218, allocations: 15.92 kB / 349.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.005393, allocations: 111.6 kB / 350 MB, free: 6.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.005397, allocations: 0 / 350 MB, free: 6.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005398, allocations: 4 kB / 350 MB, free: 6.676 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.005402, allocations: 0 / 350 MB, free: 6.676 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.0004882/0.00589, allocations: 337.6 kB / 350.4 MB, free: 6.316 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.005929, allocations: 12.03 kB / 350.4 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.422e-05/0.005993, allocations: 16.84 kB / 350.4 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.006224, allocations: 143.2 kB / 350.5 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.006242, allocations: 384 / 350.5 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.006273, allocations: 8.312 kB / 350.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.006428, allocations: 58.22 kB / 350.6 MB, free: 6.055 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.006442, allocations: 7.938 kB / 350.6 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.006455, allocations: 4 kB / 350.6 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.006461, allocations: 4 kB / 350.6 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.451e-05/0.006546, allocations: 15.98 kB / 350.6 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.006856, allocations: 228.5 kB / 350.9 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.007026, allocations: 58.62 kB / 350.9 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.346e-05/0.007099, allocations: 24.78 kB / 350.9 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.007118, allocations: 0 / 350.9 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.007256, allocations: 67.39 kB / 351 MB, free: 5.598 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.007258, allocations: 4 kB / 351 MB, free: 5.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005476/0.007805, allocations: 181.4 kB / 351.2 MB, free: 5.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.00783, allocations: 55.39 kB / 351.2 MB, free: 5.344 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.007956, allocations: 178.2 kB / 351.4 MB, free: 5.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.007968, allocations: 29.7 kB / 351.4 MB, free: 5.125 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.008008, allocations: 100.1 kB / 351.5 MB, free: 5.023 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.008048, allocations: 23.8 kB / 351.6 MB, free: 5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.008083, allocations: 29.7 kB / 351.6 MB, free: 4.965 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.176e-05/0.008135, allocations: 326.8 kB / 351.9 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.54e-05/0.008191, allocations: 20 kB / 351.9 MB, free: 4.617 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.571e-05/0.008246, allocations: 37.7 kB / 352 MB, free: 4.574 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.008347, allocations: 61.64 kB / 352 MB, free: 4.508 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.008347, allocations: 0 / 352 MB, free: 4.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000158/0.008505, allocations: 109.5 kB / 352.1 MB, free: 4.395 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.008518, allocations: 4 kB / 352.1 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.008523, allocations: 8.312 kB / 352.1 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.008545, allocations: 0 / 352.1 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.008638, allocations: 19.98 kB / 352.2 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.008645, allocations: 11.97 kB / 352.2 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.543e-05/0.00869, allocations: 4 kB / 352.2 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.008699, allocations: 4 kB / 352.2 MB, free: 4.344 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 7.184e-05/0.00877, allocations: 129.8 kB / 352.3 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.008793, allocations: 11.91 kB / 352.3 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.009031, allocations: 126.5 kB / 352.4 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.009034, allocations: 0 / 352.4 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.009038, allocations: 0 / 352.4 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.009042, allocations: 0 / 352.4 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.00938, allocations: 343 kB / 352.8 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.009381, allocations: 0 / 352.8 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.665e-05/0.009418, allocations: 11.98 kB / 352.8 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.009421, allocations: 4 kB / 352.8 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.009431, allocations: 0 / 352.8 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.009432, allocations: 0 / 352.8 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.009433, allocations: 4 kB / 352.8 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.009643, allocations: 220.2 kB / 353 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.00966, allocations: 11.95 kB / 353 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.009683, allocations: 3.984 kB / 353 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.009755, allocations: 8.031 kB / 353 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.009807, allocations: 3.984 kB / 353 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.009824, allocations: 8 kB / 353 MB, free: 3.402 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000106/0.00993, allocations: 139.2 kB / 353.2 MB, free: 3.266 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.00993, allocations: 3.938 kB / 353.2 MB, free: 3.262 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000264/0.01019, allocations: 23.94 kB / 353.2 MB, free: 3.238 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.002174/0.01237, allocations: 0.4938 MB / 353.7 MB, free: 2.855 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.01255, allocations: 59.89 kB / 353.8 MB, free: 2.797 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01256, allocations: 0 / 353.8 MB, free: 2.797 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.983e-05/0.01263, allocations: 31.98 kB / 353.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.01303, allocations: 35.88 kB / 353.8 MB, free: 2.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.01347, allocations: 221.1 kB / 354 MB, free: 2.484 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.993e-05/0.01353, allocations: 89.44 kB / 354.1 MB, free: 2.375 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.58e-05/0.01357, allocations: 20.78 kB / 354.2 MB, free: 2.355 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.01361, allocations: 16.5 kB / 354.2 MB, free: 2.34 MB / 282.7 MB Notification: Performance of SimCode: time 3.7e-07/0.01361, allocations: 0 / 354.2 MB, free: 2.34 MB / 282.7 MB Notification: Performance of Templates: time 0.004848/0.01846, allocations: 1.828 MB / 356 MB, free: 0.5273 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.055780987022445]