Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.001436/0.001436, allocations: 75.36 kB / 19.93 MB, free: 1.77 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.001581/0.001581, allocations: 173.2 kB / 23.22 MB, free: 4.887 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.654/1.654, allocations: 158.6 MB / 185 MB, free: 6.414 MB / 174.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.2625/0.2625, allocations: 32.37 MB / 269.6 MB, free: 4.664 MB / 254.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 407.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.573e-05/3.822e-05, allocations: 2.281 kB / 407.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003778/0.003816, allocations: 1.761 MB / 409.2 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.005659, allocations: 0.8542 MB / 410 MB, free: 312 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.607e-05/0.005745, allocations: 0 / 410 MB, free: 312 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006779/0.006423, allocations: 307.1 kB / 410.3 MB, free: 4 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004911/0.006914, allocations: 215.2 kB / 410.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.007317, allocations: 146.9 kB / 410.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003889/0.007706, allocations: 255.2 kB / 410.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.44e-05/0.007771, allocations: 5.812 kB / 411 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.008009, allocations: 151.6 kB / 411.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.008299, allocations: 199.6 kB / 411.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.008333, allocations: 4 kB / 411.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.008481, allocations: 55.84 kB / 411.4 MB, free: 15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.008661, allocations: 139.6 kB / 411.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.008782, allocations: 67.66 kB / 411.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004763/0.009258, allocations: 346.8 kB / 411.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.009265, allocations: 4 kB / 411.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.009266, allocations: 4 kB / 411.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.009279, allocations: 0 / 411.9 MB, free: 14.45 MB / 350.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.001163/0.01044, allocations: 0.6669 MB / 412.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.01049, allocations: 12.03 kB / 412.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.01059, allocations: 48.61 kB / 412.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006905/0.01128, allocations: 389.8 kB / 413 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.01129, allocations: 384 / 413 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.01132, allocations: 4.375 kB / 413 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.01157, allocations: 87.92 kB / 413.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.01159, allocations: 7.938 kB / 413.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.0116, allocations: 3.938 kB / 413.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.0116, allocations: 0 / 413.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.01173, allocations: 39.95 kB / 413.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.01217, allocations: 298.1 kB / 413.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.01248, allocations: 113.2 kB / 413.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.847e-05/0.01258, allocations: 37.69 kB / 413.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.01259, allocations: 8 kB / 413.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/0.01284, allocations: 105 kB / 413.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.01284, allocations: 0 / 413.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005519/0.01339, allocations: 217.2 kB / 413.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/0.01348, allocations: 81.11 kB / 414 MB, free: 12.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.01482, allocations: 1.042 MB / 415 MB, free: 11.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.01486, allocations: 33.7 kB / 415.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.01509, allocations: 224.1 kB / 415.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.117e-05/0.01515, allocations: 35.72 kB / 415.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.433e-05/0.01521, allocations: 37.7 kB / 415.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.01542, allocations: 366.8 kB / 415.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.441e-05/0.01551, allocations: 27.98 kB / 415.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.01562, allocations: 63.41 kB / 415.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.01582, allocations: 87.36 kB / 415.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.01582, allocations: 0 / 415.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003948/0.01621, allocations: 177.2 kB / 416.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.01624, allocations: 8 kB / 416.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.01625, allocations: 7.875 kB / 416.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.01628, allocations: 4 kB / 416.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.01642, allocations: 19.98 kB / 416.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.01643, allocations: 3.938 kB / 416.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.01653, allocations: 20.56 kB / 416.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.01655, allocations: 4 kB / 416.1 MB, free: 9.984 MB / 350.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.0002712/0.01682, allocations: 221.6 kB / 416.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.749e-05/0.0169, allocations: 59.72 kB / 416.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004906/0.01739, allocations: 209.7 kB / 416.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.01739, allocations: 4 kB / 416.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.0174, allocations: 0 / 416.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.0174, allocations: 0 / 416.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.01772, allocations: 265.1 kB / 416.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.01773, allocations: 3.984 kB / 416.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.684e-05/0.01777, allocations: 12 kB / 416.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.01778, allocations: 0 / 416.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.01779, allocations: 0 / 416.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.0178, allocations: 11.94 kB / 416.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.0178, allocations: 0 / 416.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/0.0182, allocations: 213.6 kB / 417.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.01831, allocations: 67.59 kB / 417.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.01835, allocations: 3.938 kB / 417.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-05/0.01844, allocations: 11.92 kB / 417.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.01849, allocations: 11.98 kB / 417.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.01851, allocations: 8 kB / 417.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009718/0.01948, allocations: 0.776 MB / 418 MB, free: 8.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01948, allocations: 0 / 418 MB, free: 8.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.01976, allocations: 51.94 kB / 418 MB, free: 8.004 MB / 350.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.00174/0.0215, allocations: 441.6 kB / 418.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.02182, allocations: 83.83 kB / 418.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.02182, allocations: 0 / 418.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.02196, allocations: 51.91 kB / 418.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.02243, allocations: 59.03 kB / 418.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.02401, allocations: 0.8848 MB / 419.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.02431, allocations: 241.8 kB / 419.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.02444, allocations: 59.44 kB / 419.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.095e-05/0.02452, allocations: 32.5 kB / 419.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.02452, allocations: 0 / 419.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of Templates: time 0.01046/0.03499, allocations: 3.978 MB / 423.8 MB, free: 2.238 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.398851882666349]