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.001252/0.001252, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001467/0.001467, allocations: 165 kB / 23.79 MB, free: 0.7773 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 0.8687/0.8687, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] 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.1288/0.1288, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|startTime.y.[0-9,]+.",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.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 347.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.167e-05, allocations: 4.281 kB / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002048/0.002069, allocations: 1.82 MB / 349.6 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.003079, allocations: 0.8622 MB / 350.4 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.991e-05/0.003159, allocations: 3.938 kB / 350.4 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000423/0.003582, allocations: 303.2 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.003869, allocations: 219.1 kB / 350.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.004124, allocations: 139.6 kB / 351.1 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.00433, allocations: 247.2 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.004368, allocations: 5.812 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.004506, allocations: 147.7 kB / 351.5 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.004654, allocations: 200 kB / 351.7 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.004673, allocations: 4 kB / 351.7 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.593e-05/0.004749, allocations: 51.91 kB / 351.7 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.312e-05/0.004832, allocations: 140.5 kB / 351.9 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.471e-05/0.004887, allocations: 71.66 kB / 351.9 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.005114, allocations: 271 kB / 352.2 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.005115, allocations: 0 / 352.2 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005116, allocations: 0 / 352.2 MB, free: 4.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.005121, allocations: 0 / 352.2 MB, free: 4.91 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.0005374/0.005658, allocations: 0.7747 MB / 353 MB, free: 4.098 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.005688, allocations: 8.031 kB / 353 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.005741, allocations: 56.59 kB / 353 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.005983, allocations: 320.7 kB / 353.3 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.006001, allocations: 8.359 kB / 353.3 MB, free: 3.688 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.006012, allocations: 384 / 353.3 MB, free: 3.688 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.006143, allocations: 98.23 kB / 353.4 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.006152, allocations: 3.938 kB / 353.4 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.006161, allocations: 0 / 353.4 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.006169, allocations: 7.984 kB / 353.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.127e-05/0.00621, allocations: 11.98 kB / 353.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.006426, allocations: 304.3 kB / 353.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.006559, allocations: 106.1 kB / 353.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.791e-05/0.006597, allocations: 31.36 kB / 353.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.006615, allocations: 4 kB / 353.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/0.00673, allocations: 108.3 kB / 354 MB, free: 2.914 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 8.52e-07/0.006731, allocations: 3.938 kB / 354 MB, free: 2.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002266/0.006958, allocations: 181.2 kB / 354.2 MB, free: 2.727 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/0.006977, allocations: 77.11 kB / 354.3 MB, free: 2.633 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/0.007402, allocations: 0.6862 MB / 355 MB, free: 1.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.007414, allocations: 29.69 kB / 355 MB, free: 1.895 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.007517, allocations: 294.8 kB / 355.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.00755, allocations: 31.78 kB / 355.3 MB, free: 1.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.007582, allocations: 31.38 kB / 355.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.007673, allocations: 0.5547 MB / 355.9 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.078e-05/0.007704, allocations: 15.98 kB / 355.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.025e-05/0.007744, allocations: 58.73 kB / 356 MB, free: 0.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.828e-05/0.007812, allocations: 79.17 kB / 356 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.007814, allocations: 4 kB / 356 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001416/0.007956, allocations: 153.2 kB / 356.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.007968, allocations: 8 kB / 356.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.007973, allocations: 3.938 kB / 356.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.007988, allocations: 0 / 356.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.482e-05/0.008063, allocations: 23.98 kB / 356.2 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.008069, allocations: 0 / 356.2 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.099e-05/0.00812, allocations: 11.89 kB / 356.2 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.008127, allocations: 4 kB / 356.2 MB, free: 0.5703 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 6.73e-05/0.008194, allocations: 176.4 kB / 356.4 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.008224, allocations: 55.67 kB / 356.5 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.008398, allocations: 165.5 kB / 356.6 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.008399, allocations: 4 kB / 356.6 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.008403, allocations: 0 / 356.6 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.008407, allocations: 0 / 356.6 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.008619, allocations: 308.4 kB / 356.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.008621, allocations: 256 / 356.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.264e-05/0.008654, allocations: 15.98 kB / 356.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.008657, allocations: 4 kB / 357 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.008665, allocations: 4 kB / 357 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.008668, allocations: 7.938 kB / 357 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.008669, allocations: 0 / 357 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.008854, allocations: 211.6 kB / 357.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.008915, allocations: 59.66 kB / 357.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.008941, allocations: 4 kB / 357.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.083e-05/0.008982, allocations: 7.922 kB / 357.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.009021, allocations: 11.98 kB / 357.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.009034, allocations: 8 kB / 357.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003643/0.009398, allocations: 466.8 kB / 357.7 MB, free: 15.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.009398, allocations: 4 kB / 357.7 MB, free: 15.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001795/0.009578, allocations: 43.94 kB / 357.8 MB, free: 14.96 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.0007491/0.01033, allocations: 399.7 kB / 358.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.01046, allocations: 75.52 kB / 358.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01046, allocations: 4 kB / 358.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.435e-05/0.0105, allocations: 35.67 kB / 358.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.01076, allocations: 78.58 kB / 358.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006855/0.01144, allocations: 0.6395 MB / 359 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.848e-05/0.01152, allocations: 124.2 kB / 359.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.823e-05/0.01159, allocations: 43.44 kB / 359.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.01164, allocations: 32.5 kB / 359.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01164, allocations: 0 / 359.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of Templates: time 0.006006/0.01765, allocations: 3.963 MB / 363.1 MB, free: 9.637 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1156583139672875]