Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.0008926/0.0008926, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009692/0.0009692, allocations: 170.3 kB / 24.91 MB, free: 8.723 MB / 18.57 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.102 MB / 186.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.2475/0.2475, allocations: 32.81 MB / 294.6 MB, free: 1.191 MB / 266.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.11e-07/9.11e-07, allocations: 0 / 323.4 MB, free: 9.582 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.519e-05/1.61e-05, allocations: 2.969 kB / 323.4 MB, free: 9.578 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002194/0.00221, allocations: 1.797 MB / 325.2 MB, free: 7.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.003439, allocations: 1.005 MB / 326.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.404e-05/0.003493, allocations: 0 / 326.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.00369, allocations: 47.64 kB / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.003902, allocations: 87.55 kB / 326.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.004062, allocations: 75.61 kB / 326.4 MB, free: 6.551 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.004177, allocations: 115.6 kB / 326.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.501e-05/0.004232, allocations: 5.375 kB / 326.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.331e-05/0.004306, allocations: 59.77 kB / 326.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.586e-05/0.004362, allocations: 23.91 kB / 326.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.004375, allocations: 8 kB / 326.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.89e-05/0.004444, allocations: 43.92 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.456e-05/0.004478, allocations: 23.91 kB / 326.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.004502, allocations: 15.94 kB / 326.7 MB, free: 6.262 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.004629, allocations: 95.66 kB / 326.8 MB, free: 6.168 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.004631, allocations: 0 / 326.8 MB, free: 6.168 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004632, allocations: 0 / 326.8 MB, free: 6.168 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.004635, allocations: 4 kB / 326.8 MB, free: 6.164 MB / 298.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.0003058/0.004941, allocations: 325.3 kB / 327.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.004969, allocations: 8.031 kB / 327.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.004996, allocations: 12.92 kB / 327.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.005131, allocations: 146.3 kB / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.005145, allocations: 384 / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.005159, allocations: 4.375 kB / 327.2 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.651e-05/0.005256, allocations: 65.77 kB / 327.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.005264, allocations: 3.938 kB / 327.3 MB, free: 5.555 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.00527, allocations: 0 / 327.3 MB, free: 5.555 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.005275, allocations: 0 / 327.3 MB, free: 5.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.472e-05/0.005299, allocations: 15.92 kB / 327.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.005499, allocations: 161.9 kB / 327.5 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.528e-05/0.005585, allocations: 93.34 kB / 327.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.005605, allocations: 12.86 kB / 327.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.005614, allocations: 0 / 327.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.624e-05/0.0057, allocations: 66.09 kB / 327.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.005701, allocations: 0 / 327.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002553/0.005957, allocations: 121.5 kB / 327.8 MB, free: 5.043 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.005983, allocations: 51.41 kB / 327.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.795e-05/0.006081, allocations: 170.1 kB / 328 MB, free: 4.801 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.006098, allocations: 33.7 kB / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.006128, allocations: 96.11 kB / 328.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.006155, allocations: 31.72 kB / 328.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.006184, allocations: 21.72 kB / 328.2 MB, free: 4.605 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.769e-05/0.006272, allocations: 322.8 kB / 328.5 MB, free: 4.281 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/0.006288, allocations: 14.77 kB / 328.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.219e-05/0.00631, allocations: 21.7 kB / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.787e-05/0.006358, allocations: 48.45 kB / 328.6 MB, free: 4.184 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.006359, allocations: 0 / 328.6 MB, free: 4.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.171e-05/0.006431, allocations: 68.47 kB / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.00644, allocations: 8 kB / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.006444, allocations: 7.938 kB / 328.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.006454, allocations: 0 / 328.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.391e-05/0.006508, allocations: 15.98 kB / 328.7 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.00651, allocations: 0 / 328.7 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.447e-05/0.006535, allocations: 12 kB / 328.7 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.00654, allocations: 0 / 328.7 MB, free: 4.066 MB / 298.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 5.558e-05/0.006595, allocations: 116.7 kB / 328.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.006608, allocations: 15.94 kB / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.166e-05/0.006699, allocations: 79.06 kB / 328.9 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.006701, allocations: 0 / 328.9 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.006703, allocations: 384 / 328.9 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.006706, allocations: 0 / 328.9 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.006909, allocations: 295.4 kB / 329.2 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.006911, allocations: 4 kB / 329.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.006935, allocations: 11.98 kB / 329.2 MB, free: 3.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.006939, allocations: 7.984 kB / 329.2 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.006945, allocations: 0 / 329.2 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.006946, allocations: 0 / 329.2 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.006948, allocations: 3.938 kB / 329.2 MB, free: 3.496 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.433e-05/0.007042, allocations: 219.1 kB / 329.4 MB, free: 3.262 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.297e-06/0.007052, allocations: 7.906 kB / 329.4 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.007065, allocations: 7.984 kB / 329.4 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.587e-05/0.0071, allocations: 0 / 329.4 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.007123, allocations: 15.92 kB / 329.4 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.007133, allocations: 4 kB / 329.4 MB, free: 3.227 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.593e-05/0.007169, allocations: 44.34 kB / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007169, allocations: 0 / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001404/0.007309, allocations: 23.94 kB / 329.5 MB, free: 3.156 MB / 298.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.001218/0.008528, allocations: 0.5853 MB / 330.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.736e-05/0.008615, allocations: 36.78 kB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.008621, allocations: 8 kB / 330.1 MB, free: 2.832 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.585e-05/0.008647, allocations: 24.91 kB / 330.2 MB, free: 2.805 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.008809, allocations: 35.16 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002595/0.009069, allocations: 223.9 kB / 330.4 MB, free: 2.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.507e-05/0.009104, allocations: 67.33 kB / 330.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.349e-05/0.009137, allocations: 21.27 kB / 330.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.0092, allocations: 67.38 kB / 330.6 MB, free: 2.348 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.009201, allocations: 64 / 330.6 MB, free: 2.348 MB / 298.7 MB Notification: Performance of Templates: time 0.003337/0.01254, allocations: 2.007 MB / 332.6 MB, free: 376 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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: 2.8584189359098673]