Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.001339/0.001339, allocations: 76.58 kB / 19.93 MB, free: 1.781 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.001631/0.001631, allocations: 166.4 kB / 23.21 MB, free: 4.906 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.577/1.577, allocations: 158.6 MB / 185 MB, free: 6.398 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.2466/0.2466, allocations: 32.38 MB / 269.6 MB, free: 2.73 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 407.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.878e-05/4.11e-05, allocations: 2.281 kB / 407.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003581/0.003623, allocations: 1.738 MB / 409.2 MB, free: 15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.005294, allocations: 0.8542 MB / 410 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.308e-05/0.005377, allocations: 0 / 410 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000604/0.005981, allocations: 299.1 kB / 410.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004303/0.006411, allocations: 211.3 kB / 410.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.006809, allocations: 155.5 kB / 410.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003896/0.007199, allocations: 247.2 kB / 410.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.413e-05/0.007263, allocations: 9.797 kB / 410.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.00751, allocations: 147.6 kB / 411.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.00781, allocations: 196.1 kB / 411.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.663e-05/0.007847, allocations: 8 kB / 411.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.007972, allocations: 39.98 kB / 411.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.008167, allocations: 136.5 kB / 411.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.008295, allocations: 67.67 kB / 411.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005042/0.008799, allocations: 342.8 kB / 411.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.008804, allocations: 0 / 411.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.008805, allocations: 4 kB / 411.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.008812, allocations: 4 kB / 411.9 MB, free: 12.3 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.001324/0.01014, allocations: 0.6552 MB / 412.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.589e-05/0.01021, allocations: 19.95 kB / 412.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.01034, allocations: 48.61 kB / 412.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007897/0.01113, allocations: 377.8 kB / 413 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.01115, allocations: 384 / 413 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.01118, allocations: 8.375 kB / 413 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.0115, allocations: 87.92 kB / 413 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.01152, allocations: 11.88 kB / 413.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.01154, allocations: 3.938 kB / 413.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.01155, allocations: 0 / 413.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.0117, allocations: 35.97 kB / 413.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.01223, allocations: 294.1 kB / 413.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.01259, allocations: 105.2 kB / 413.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.01273, allocations: 41.69 kB / 413.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.01276, allocations: 4 kB / 413.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003052/0.01307, allocations: 117 kB / 413.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.864e-06/0.01307, allocations: 0 / 413.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000641/0.01371, allocations: 209.2 kB / 413.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.069e-05/0.0138, allocations: 81.11 kB / 413.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.01501, allocations: 1.015 MB / 414.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.01503, allocations: 25.7 kB / 415 MB, free: 9.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.01525, allocations: 232.1 kB / 415.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.254e-05/0.0153, allocations: 35.77 kB / 415.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.01536, allocations: 25.72 kB / 415.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.01556, allocations: 366.8 kB / 415.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.01566, allocations: 31.97 kB / 415.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.01578, allocations: 59.42 kB / 415.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.01599, allocations: 95.34 kB / 415.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01599, allocations: 0 / 415.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003456/0.01633, allocations: 185.2 kB / 416 MB, free: 7.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.01635, allocations: 6.656 kB / 416 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.01636, allocations: 3.938 kB / 416 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.01638, allocations: 4 kB / 416 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.01653, allocations: 19.98 kB / 416 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.01654, allocations: 4 kB / 416 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.575e-05/0.01664, allocations: 8.625 kB / 416 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.01665, allocations: 4 kB / 416 MB, free: 7.906 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.0002506/0.0169, allocations: 225.5 kB / 416.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.372e-05/0.01698, allocations: 55.73 kB / 416.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004476/0.01742, allocations: 213.5 kB / 416.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01743, allocations: 0 / 416.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.01743, allocations: 3.938 kB / 416.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.01744, allocations: 11.97 kB / 416.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.01779, allocations: 257.1 kB / 416.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.01779, allocations: 3.938 kB / 416.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.674e-05/0.01784, allocations: 12 kB / 416.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01784, allocations: 0 / 416.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.01786, allocations: 4 kB / 416.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.186e-06/0.01787, allocations: 11.94 kB / 416.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.01787, allocations: 3.984 kB / 416.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.01826, allocations: 209.6 kB / 417 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.01838, allocations: 63.66 kB / 417.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.117e-05/0.01843, allocations: 0 / 417.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.303e-05/0.01852, allocations: 15.92 kB / 417.1 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.01859, allocations: 7.984 kB / 417.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.01861, allocations: 4 kB / 417.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009377/0.01955, allocations: 0.7604 MB / 417.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01955, allocations: 4 kB / 417.9 MB, free: 5.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.01983, allocations: 47.92 kB / 417.9 MB, free: 5.941 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.001714/0.02154, allocations: 437 kB / 418.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.02183, allocations: 83.89 kB / 418.4 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.02183, allocations: 4 kB / 418.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.02196, allocations: 43.92 kB / 418.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.02241, allocations: 66.33 kB / 418.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.02379, allocations: 0.8613 MB / 419.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.02409, allocations: 237.7 kB / 419.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.02421, allocations: 55.44 kB / 419.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.789e-05/0.02431, allocations: 28.5 kB / 419.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.02431, allocations: 7.938 kB / 419.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of Templates: time 0.009622/0.03393, allocations: 3.916 MB / 423.6 MB, free: 248 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.197859451174736]