Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.002696/0.002696, allocations: 84.98 kB / 20.21 MB, free: 4.191 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.003158/0.003158, allocations: 173.2 kB / 23.53 MB, free: 0.8711 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.867/1.867, allocations: 158.6 MB / 185.3 MB, free: 2.879 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.2548/0.2548, allocations: 32.37 MB / 270 MB, free: 14.78 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.454e-05/4.706e-05, allocations: 2.312 kB / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003578/0.003625, allocations: 1.79 MB / 348.8 MB, free: 7.934 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.00511, allocations: 0.8544 MB / 349.7 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.496e-05/0.005205, allocations: 0 / 349.7 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005591/0.005764, allocations: 307.1 kB / 350 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003724/0.006136, allocations: 203.3 kB / 350.2 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.006481, allocations: 139.5 kB / 350.3 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002828/0.006764, allocations: 255.2 kB / 350.5 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.47e-05/0.006819, allocations: 5.812 kB / 350.5 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.007002, allocations: 147.6 kB / 350.7 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.007213, allocations: 196.1 kB / 350.9 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/0.007253, allocations: 8 kB / 350.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.007382, allocations: 51.97 kB / 350.9 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.007528, allocations: 136.5 kB / 351.1 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.833e-05/0.007627, allocations: 75.66 kB / 351.1 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.00803, allocations: 338.8 kB / 351.5 MB, free: 5.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.008036, allocations: 0 / 351.5 MB, free: 5.246 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.008037, allocations: 0 / 351.5 MB, free: 5.246 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.008045, allocations: 0 / 351.5 MB, free: 5.246 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001095/0.00914, allocations: 0.79 MB / 352.3 MB, free: 4.418 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/0.0092, allocations: 12.03 kB / 352.3 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.009327, allocations: 52.61 kB / 352.3 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004943/0.009821, allocations: 332.6 kB / 352.7 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.009842, allocations: 8.359 kB / 352.7 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.009857, allocations: 4.375 kB / 352.7 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.01005, allocations: 89.58 kB / 352.8 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.01007, allocations: 3.938 kB / 352.8 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.01008, allocations: 0 / 352.8 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.01009, allocations: 0 / 352.8 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.0102, allocations: 35.91 kB / 352.8 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.01057, allocations: 340.3 kB / 353.1 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.01082, allocations: 106.2 kB / 353.2 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.174e-05/0.0109, allocations: 51.3 kB / 353.3 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.01093, allocations: 3.984 kB / 353.3 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.01113, allocations: 120.4 kB / 353.4 MB, free: 3.148 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.01113, allocations: 0 / 353.4 MB, free: 3.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004518/0.01158, allocations: 197.2 kB / 353.6 MB, free: 2.949 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.01163, allocations: 81.11 kB / 353.7 MB, free: 2.852 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006816/0.01231, allocations: 0.7447 MB / 354.4 MB, free: 2.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.01232, allocations: 25.7 kB / 354.4 MB, free: 2.059 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.01252, allocations: 318.8 kB / 354.8 MB, free: 1.742 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.01257, allocations: 27.8 kB / 354.8 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.01262, allocations: 47.3 kB / 354.8 MB, free: 1.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.01285, allocations: 0.5743 MB / 355.4 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.956e-05/0.01292, allocations: 27.98 kB / 355.4 MB, free: 1.047 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.462e-05/0.013, allocations: 65.48 kB / 355.5 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.01315, allocations: 90.67 kB / 355.6 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.01316, allocations: 0.5 kB / 355.6 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002395/0.0134, allocations: 169.3 kB / 355.7 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.01342, allocations: 12.06 kB / 355.8 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.01343, allocations: 3.938 kB / 355.8 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-05/0.01346, allocations: 3.984 kB / 355.8 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.01358, allocations: 23.94 kB / 355.8 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.01359, allocations: 0 / 355.8 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.797e-05/0.01368, allocations: 15.94 kB / 355.8 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.01369, allocations: 4 kB / 355.8 MB, free: 0.6289 MB / 282.7 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.0001164/0.01381, allocations: 172.4 kB / 356 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.01386, allocations: 51.67 kB / 356 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003348/0.0142, allocations: 185.5 kB / 356.2 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.0142, allocations: 4 kB / 356.2 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.01421, allocations: 0 / 356.2 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01421, allocations: 0 / 356.2 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.01463, allocations: 352.4 kB / 356.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01463, allocations: 0 / 356.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-05/0.01469, allocations: 15.92 kB / 356.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.01469, allocations: 0 / 356.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.01471, allocations: 8 kB / 356.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.01471, allocations: 3.938 kB / 356.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01471, allocations: 0 / 356.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004322/0.01515, allocations: 227.7 kB / 356.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.0153, allocations: 59.91 kB / 356.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.01535, allocations: 3.984 kB / 356.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.01543, allocations: 15.94 kB / 356.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/0.0155, allocations: 11.92 kB / 356.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.01553, allocations: 4 kB / 356.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007238/0.01625, allocations: 494.8 kB / 357.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01625, allocations: 0 / 357.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003133/0.01656, allocations: 43.94 kB / 357.4 MB, free: 14.93 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: 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.003192/0.01976, allocations: 434.7 kB / 357.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003764/0.02013, allocations: 91.53 kB / 357.9 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.02013, allocations: 0 / 357.9 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.02027, allocations: 55.95 kB / 358 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/0.02085, allocations: 83.11 kB / 358.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.02231, allocations: 0.6513 MB / 358.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.02262, allocations: 225.8 kB / 358.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.02276, allocations: 34.95 kB / 359 MB, free: 13.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.02287, allocations: 32.48 kB / 359 MB, free: 13.39 MB / 298.7 MB Notification: Performance of SimCode: time 1.894e-06/0.02287, allocations: 0 / 359 MB, free: 13.39 MB / 298.7 MB Notification: Performance of Templates: time 0.01141/0.03428, allocations: 3.916 MB / 362.9 MB, free: 9.488 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.8229516569990665]