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.001469/0.001469, allocations: 74.97 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.001538/0.001538, allocations: 171.5 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.621/1.621, allocations: 158.6 MB / 185 MB, free: 6.391 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.2543/0.2543, allocations: 32.37 MB / 269.6 MB, free: 4.648 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.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: Performance of FrontEnd - loaded program: time 3.286e-06/3.286e-06, allocations: 0 / 407.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.551e-05/3.879e-05, allocations: 9.234 kB / 407.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00382/0.003859, allocations: 1.75 MB / 409.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.005681, allocations: 0.8581 MB / 410 MB, free: 300 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.005806, allocations: 0 / 410 MB, free: 300 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006896/0.006496, allocations: 311.2 kB / 410.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004851/0.006981, allocations: 215.1 kB / 410.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000451/0.007432, allocations: 147.5 kB / 410.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004153/0.007847, allocations: 247.2 kB / 410.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.889e-05/0.007916, allocations: 13.81 kB / 411 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.008146, allocations: 147.6 kB / 411.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002965/0.008443, allocations: 199.6 kB / 411.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.008479, allocations: 8 kB / 411.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.008602, allocations: 51.84 kB / 411.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.008781, allocations: 135.6 kB / 411.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.008902, allocations: 75.66 kB / 411.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004891/0.009391, allocations: 346.8 kB / 411.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.009395, allocations: 0 / 411.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.009396, allocations: 4 kB / 411.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.009408, allocations: 0 / 411.9 MB, free: 14.43 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.001134/0.01054, allocations: 0.6669 MB / 412.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.01059, allocations: 12.03 kB / 412.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.01069, allocations: 48.61 kB / 412.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006615/0.01135, allocations: 381.8 kB / 413 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.01136, allocations: 384 / 413 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.01138, allocations: 8.375 kB / 413 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.01162, allocations: 87.92 kB / 413.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.01164, allocations: 7.938 kB / 413.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.01165, allocations: 3.938 kB / 413.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.01166, allocations: 3.984 kB / 413.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.01178, allocations: 31.98 kB / 413.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.01221, allocations: 306 kB / 413.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.01256, allocations: 105.2 kB / 413.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.01267, allocations: 41.7 kB / 413.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.01269, allocations: 3.984 kB / 413.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002437/0.01293, allocations: 109 kB / 413.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.01293, allocations: 0 / 413.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005794/0.01351, allocations: 217.2 kB / 413.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.01359, allocations: 81.11 kB / 414 MB, free: 12.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.01484, allocations: 1.042 MB / 415 MB, free: 11.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.01486, allocations: 25.7 kB / 415.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.01507, allocations: 232.1 kB / 415.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/0.01512, allocations: 43.72 kB / 415.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.01518, allocations: 25.72 kB / 415.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.01538, allocations: 366.8 kB / 415.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.723e-05/0.01547, allocations: 31.97 kB / 415.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.01558, allocations: 59.05 kB / 415.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.01579, allocations: 91.34 kB / 415.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.0158, allocations: 4 kB / 415.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003298/0.01613, allocations: 181.2 kB / 416.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.01615, allocations: 4 kB / 416.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.01616, allocations: 7.875 kB / 416.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.01618, allocations: 4 kB / 416.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.01631, allocations: 23.92 kB / 416.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.01632, allocations: 4 kB / 416.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.712e-05/0.01642, allocations: 8.578 kB / 416.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.01643, allocations: 8 kB / 416.1 MB, free: 9.977 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.0002608/0.0167, allocations: 233.6 kB / 416.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.929e-05/0.01676, allocations: 47.67 kB / 416.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004474/0.01721, allocations: 209.7 kB / 416.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/0.01723, allocations: 4 kB / 416.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.01724, allocations: 3.984 kB / 416.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.01725, allocations: 0 / 416.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/0.01761, allocations: 269.1 kB / 416.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.01762, allocations: 4 kB / 416.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.01767, allocations: 12 kB / 416.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.01768, allocations: 3.984 kB / 416.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.01769, allocations: 8 kB / 416.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.0177, allocations: 3.938 kB / 416.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.0177, allocations: 0 / 416.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.0181, allocations: 213.5 kB / 417.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.01822, allocations: 63.66 kB / 417.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.094e-05/0.01827, allocations: 11.94 kB / 417.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.314e-05/0.01835, allocations: 3.938 kB / 417.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.01841, allocations: 7.984 kB / 417.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.01843, allocations: 15.98 kB / 417.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00094/0.01937, allocations: 0.7682 MB / 418 MB, free: 8.043 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01937, allocations: 4 kB / 418 MB, free: 8.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002906/0.01967, allocations: 51.92 kB / 418 MB, free: 7.988 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.001777/0.02144, allocations: 438.5 kB / 418.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.02174, allocations: 83.89 kB / 418.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.02174, allocations: 0 / 418.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.02186, allocations: 43.92 kB / 418.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.02232, allocations: 79.08 kB / 418.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.0238, allocations: 0.8808 MB / 419.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.02406, allocations: 237.8 kB / 419.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.02418, allocations: 59.42 kB / 419.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.751e-05/0.02426, allocations: 28.5 kB / 419.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.02426, allocations: 0 / 419.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of Templates: time 0.00967/0.03393, allocations: 3.976 MB / 423.8 MB, free: 2.234 MB / 350.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.272605508565903]