Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.00251/0.00251, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002676/0.002676, allocations: 169.2 kB / 23.52 MB, free: 0.8984 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.736/1.736, allocations: 158.6 MB / 185.3 MB, free: 2.887 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.77 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.038e-06/4.038e-06, allocations: 0 / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.445e-05/4.849e-05, allocations: 10.25 kB / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.005189/0.005238, allocations: 1.892 MB / 348.9 MB, free: 7.824 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.007088, allocations: 0.8271 MB / 349.7 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.007264, allocations: 7.938 kB / 349.7 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004976/0.007762, allocations: 43.7 kB / 349.8 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.008068, allocations: 63.56 kB / 349.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.00843, allocations: 103.7 kB / 349.9 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.008672, allocations: 135.5 kB / 350.1 MB, free: 6.641 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.00882, allocations: 25.66 kB / 350.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.008954, allocations: 75.77 kB / 350.2 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.009082, allocations: 39.81 kB / 350.2 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.009116, allocations: 8 kB / 350.2 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.009233, allocations: 43.94 kB / 350.3 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.214e-05/0.009315, allocations: 31.83 kB / 350.3 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.912e-05/0.009384, allocations: 23.94 kB / 350.3 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.0097, allocations: 155.4 kB / 350.5 MB, free: 6.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.009706, allocations: 0 / 350.5 MB, free: 6.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.009709, allocations: 0 / 350.5 MB, free: 6.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.009716, allocations: 4 kB / 350.5 MB, free: 6.238 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007938/0.01051, allocations: 0.501 MB / 351 MB, free: 5.695 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.01056, allocations: 8.031 kB / 351 MB, free: 5.688 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.849e-05/0.01065, allocations: 28.83 kB / 351 MB, free: 5.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.01094, allocations: 168.3 kB / 351.2 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.01096, allocations: 384 / 351.2 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.01101, allocations: 16.36 kB / 351.2 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.01127, allocations: 139.9 kB / 351.3 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.01129, allocations: 3.938 kB / 351.3 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.01131, allocations: 4 kB / 351.3 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.01132, allocations: 4 kB / 351.3 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.01147, allocations: 43.91 kB / 351.4 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007202/0.01219, allocations: 0.5951 MB / 352 MB, free: 4.598 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/0.01255, allocations: 91.14 kB / 352.1 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.193e-05/0.01263, allocations: 31.67 kB / 352.1 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.01265, allocations: 3.984 kB / 352.1 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002379/0.01289, allocations: 114.7 kB / 352.2 MB, free: 4.324 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.01289, allocations: 4 kB / 352.2 MB, free: 4.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004493/0.01334, allocations: 137.5 kB / 352.4 MB, free: 4.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.01339, allocations: 51.41 kB / 352.4 MB, free: 4.117 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.01361, allocations: 250.7 kB / 352.7 MB, free: 3.855 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.01363, allocations: 29.7 kB / 352.7 MB, free: 3.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.01374, allocations: 170.7 kB / 352.8 MB, free: 3.648 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.01377, allocations: 31.73 kB / 352.9 MB, free: 3.617 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/0.01383, allocations: 35.38 kB / 352.9 MB, free: 3.574 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.01406, allocations: 0.5117 MB / 353.4 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.476e-05/0.01413, allocations: 19.98 kB / 353.4 MB, free: 3.031 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.01423, allocations: 85.17 kB / 353.5 MB, free: 2.93 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.0144, allocations: 102.3 kB / 353.6 MB, free: 2.809 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.01441, allocations: 0 / 353.6 MB, free: 2.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002592/0.01466, allocations: 141.8 kB / 353.8 MB, free: 2.664 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.01469, allocations: 8.125 kB / 353.8 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.0147, allocations: 4 kB / 353.8 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.01472, allocations: 3.984 kB / 353.8 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.01484, allocations: 23.94 kB / 353.8 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.01485, allocations: 3.938 kB / 353.8 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.01491, allocations: 7.984 kB / 353.8 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.01492, allocations: 8 kB / 353.8 MB, free: 2.605 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 0.0001187/0.01504, allocations: 172.5 kB / 354 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.01507, allocations: 15.91 kB / 354 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.01535, allocations: 127 kB / 354.1 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.01535, allocations: 4 kB / 354.1 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.01536, allocations: 0 / 354.1 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.01536, allocations: 0 / 354.1 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.01552, allocations: 176.5 kB / 354.3 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01553, allocations: 0 / 354.3 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.783e-05/0.0156, allocations: 12 kB / 354.3 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01561, allocations: 0 / 354.3 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.01562, allocations: 4 kB / 354.3 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.01562, allocations: 7.938 kB / 354.3 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01563, allocations: 0 / 354.3 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.01601, allocations: 200.2 kB / 354.5 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/0.01604, allocations: 11.95 kB / 354.5 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.01607, allocations: 0 / 354.5 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.633e-05/0.01613, allocations: 11.98 kB / 354.5 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.688e-05/0.01619, allocations: 7.984 kB / 354.6 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.01621, allocations: 4 kB / 354.6 MB, free: 1.785 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001016/0.01631, allocations: 181.1 kB / 354.7 MB, free: 1.609 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01631, allocations: 0 / 354.7 MB, free: 1.609 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002503/0.01657, allocations: 35.88 kB / 354.8 MB, free: 1.574 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.003031/0.0196, allocations: 437.7 kB / 355.2 MB, free: 1.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002805/0.01988, allocations: 79.53 kB / 355.3 MB, free: 1.168 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.01988, allocations: 4 kB / 355.3 MB, free: 1.164 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.612e-05/0.01998, allocations: 43.66 kB / 355.3 MB, free: 1.117 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.02035, allocations: 53.45 kB / 355.4 MB, free: 1.066 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000677/0.02103, allocations: 268.1 kB / 355.6 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.02113, allocations: 107 kB / 355.7 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.963e-05/0.0212, allocations: 13.14 kB / 355.8 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.02125, allocations: 16.5 kB / 355.8 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/0.02125, allocations: 4 kB / 355.8 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of Templates: time 0.007681/0.02893, allocations: 2.043 MB / 357.8 MB, free: 14.59 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.6824569089803845]