Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.001535/0.001535, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.0016/0.0016, allocations: 215.6 kB / 22.99 MB, free: 4.973 MB / 14.72 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.495/1.495, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 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.2385/0.2385, allocations: 44.28 MB / 330.4 MB, free: 9.289 MB / 270.1 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002947/0.002947, allocations: 70.72 kB / 468.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1825, allocations: 61.05 MB / 0.5167 GB, free: 6.602 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.004947/0.1875, allocations: 1.754 MB / 0.5184 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.1898, allocations: 0.8508 MB / 0.5192 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/0.19, allocations: 0 / 0.5192 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008224/0.1908, allocations: 307.3 kB / 0.5195 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006637/0.1914, allocations: 211.4 kB / 0.5197 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005639/0.192, allocations: 143.7 kB / 0.5199 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006642/0.1927, allocations: 255.2 kB / 0.5201 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1928, allocations: 13.72 kB / 0.5201 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003499/0.1931, allocations: 127.6 kB / 0.5202 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000506/0.1936, allocations: 211.5 kB / 0.5205 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.971e-05/0.1937, allocations: 4 kB / 0.5205 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002534/0.194, allocations: 47.98 kB / 0.5205 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002506/0.1942, allocations: 143.5 kB / 0.5206 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.1944, allocations: 103.1 kB / 0.5207 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006692/0.195, allocations: 378.2 kB / 0.5211 GB, free: 2.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.195, allocations: 0 / 0.5211 GB, free: 2.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.195, allocations: 4 kB / 0.5211 GB, free: 2.062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.1951, allocations: 0 / 0.5211 GB, free: 2.062 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001636/0.1967, allocations: 0.6786 MB / 0.5218 GB, free: 1.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.149e-05/0.1968, allocations: 8.031 kB / 0.5218 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.1969, allocations: 52.61 kB / 0.5218 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008751/0.1978, allocations: 382.5 kB / 0.5222 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.1978, allocations: 4.375 kB / 0.5222 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.1978, allocations: 8.125 kB / 0.5222 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.1981, allocations: 91.34 kB / 0.5223 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1981, allocations: 3.938 kB / 0.5223 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.1981, allocations: 0 / 0.5223 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.1981, allocations: 4 kB / 0.5223 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.1983, allocations: 31.97 kB / 0.5223 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.1988, allocations: 310 kB / 0.5226 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003513/0.1992, allocations: 105.2 kB / 0.5227 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.1993, allocations: 41.7 kB / 0.5228 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.1993, allocations: 0 / 0.5228 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/0.1996, allocations: 120.9 kB / 0.5229 GB, free: 104 kB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.1996, allocations: 0 / 0.5229 GB, free: 104 kB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006978/0.2003, allocations: 205.4 kB / 0.5231 GB, free: 15.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/0.2004, allocations: 81.11 kB / 0.5231 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.202, allocations: 1.046 MB / 0.5242 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.202, allocations: 25.7 kB / 0.5242 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.2023, allocations: 236.1 kB / 0.5244 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.413e-05/0.2023, allocations: 23.86 kB / 0.5244 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/0.2024, allocations: 29.7 kB / 0.5245 GB, free: 14.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002469/0.2026, allocations: 366.8 kB / 0.5248 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.997e-05/0.2027, allocations: 27.98 kB / 0.5248 GB, free: 14.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.2028, allocations: 59.41 kB / 0.5249 GB, free: 13.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.2031, allocations: 99.84 kB / 0.525 GB, free: 13.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2031, allocations: 0 / 0.525 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003858/0.2035, allocations: 181 kB / 0.5252 GB, free: 13.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.2035, allocations: 11.92 kB / 0.5252 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.2035, allocations: 4 kB / 0.5252 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.2035, allocations: 0 / 0.5252 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.2036, allocations: 20 kB / 0.5252 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.2037, allocations: 7.969 kB / 0.5252 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.2038, allocations: 7.938 kB / 0.5252 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.2038, allocations: 11.94 kB / 0.5252 GB, free: 13.59 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002865/0.2041, allocations: 229.6 kB / 0.5254 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.615e-05/0.2041, allocations: 59.55 kB / 0.5255 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000448/0.2046, allocations: 209.6 kB / 0.5257 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2046, allocations: 0 / 0.5257 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2046, allocations: 0 / 0.5257 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2046, allocations: 4 kB / 0.5257 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000346/0.205, allocations: 269.1 kB / 0.526 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.205, allocations: 0 / 0.526 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.789e-05/0.205, allocations: 15.94 kB / 0.526 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.205, allocations: 0 / 0.526 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.205, allocations: 8.25 kB / 0.526 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.205, allocations: 7.984 kB / 0.526 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.205, allocations: 0 / 0.526 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004362/0.2055, allocations: 213.6 kB / 0.5262 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.2056, allocations: 67.59 kB / 0.5263 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/0.2057, allocations: 7.984 kB / 0.5263 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.2058, allocations: 4 kB / 0.5263 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.999e-05/0.2058, allocations: 11.98 kB / 0.5263 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.2059, allocations: 7.938 kB / 0.5263 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001036/0.2069, allocations: 0.78 MB / 0.5271 GB, free: 11.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2069, allocations: 4 kB / 0.5271 GB, free: 11.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000325/0.2072, allocations: 40 kB / 0.5271 GB, free: 11.61 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001841/0.2091, allocations: 436.9 kB / 0.5275 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.2094, allocations: 83.91 kB / 0.5276 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2094, allocations: 0 / 0.5276 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.2095, allocations: 47.91 kB / 0.5276 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005123/0.21, allocations: 71.28 kB / 0.5277 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.2117, allocations: 0.8814 MB / 0.5286 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.212, allocations: 245.7 kB / 0.5288 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001572/0.2122, allocations: 54.95 kB / 0.5289 GB, free: 9.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.56e-05/0.2123, allocations: 35.36 kB / 0.5289 GB, free: 9.77 MB / 414.1 MB Notification: Performance of SimCode: time 6.62e-07/0.2123, allocations: 0 / 0.5289 GB, free: 9.77 MB / 414.1 MB Notification: Performance of Templates: time 0.01111/0.2234, allocations: 4.335 MB / 0.5331 GB, free: 5.449 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.726631470024586]