Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.0007264/0.0007264, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0007593/0.0007593, allocations: 166.3 kB / 23.96 MB, free: 0.6055 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.8187/0.8187, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.1244/0.1244, allocations: 32.38 MB / 270.4 MB, free: 14.96 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 408.2 MB, free: 1.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.625e-05/1.733e-05, allocations: 10.22 kB / 408.2 MB, free: 1.648 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.001848/0.001865, allocations: 1.676 MB / 409.9 MB, free: 15.96 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008315/0.002697, allocations: 0.7804 MB / 410.6 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.761e-05/0.002754, allocations: 0 / 410.6 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.003043, allocations: 87.69 kB / 410.7 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.003229, allocations: 75.61 kB / 410.8 MB, free: 15.01 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.003405, allocations: 91.69 kB / 410.9 MB, free: 14.92 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.003543, allocations: 107.7 kB / 411 MB, free: 14.82 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.407e-05/0.003627, allocations: 8.234 kB / 411 MB, free: 14.81 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.61e-05/0.003703, allocations: 63.77 kB / 411.1 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.479e-05/0.003788, allocations: 55.86 kB / 411.1 MB, free: 14.69 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.003804, allocations: 4 kB / 411.1 MB, free: 14.69 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.084e-05/0.003874, allocations: 47.91 kB / 411.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.946e-05/0.003924, allocations: 23.86 kB / 411.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.003955, allocations: 15.94 kB / 411.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.004113, allocations: 119.6 kB / 411.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.004115, allocations: 0 / 411.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004115, allocations: 3.938 kB / 411.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.00412, allocations: 7.938 kB / 411.3 MB, free: 14.47 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003797/0.0045, allocations: 349.6 kB / 411.7 MB, free: 14.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.004528, allocations: 8.031 kB / 411.7 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.004565, allocations: 12.89 kB / 411.7 MB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.00472, allocations: 153.4 kB / 411.8 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.00473, allocations: 4.375 kB / 411.9 MB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.004746, allocations: 384 / 411.9 MB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.004849, allocations: 62.23 kB / 411.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.004859, allocations: 3.938 kB / 411.9 MB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.004866, allocations: 0 / 411.9 MB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.00487, allocations: 4 kB / 411.9 MB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.714e-05/0.004917, allocations: 23.92 kB / 411.9 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002418/0.005159, allocations: 232.6 kB / 412.2 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.005264, allocations: 58.67 kB / 412.2 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.005297, allocations: 24.78 kB / 412.3 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.005309, allocations: 0 / 412.3 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.437e-05/0.005403, allocations: 75.31 kB / 412.3 MB, free: 13.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.005404, allocations: 0 / 412.3 MB, free: 13.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003665/0.005771, allocations: 181.4 kB / 412.5 MB, free: 13.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.005807, allocations: 55.41 kB / 412.6 MB, free: 13.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.005974, allocations: 214.8 kB / 412.8 MB, free: 12.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.005989, allocations: 29.7 kB / 412.8 MB, free: 12.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.006041, allocations: 108.1 kB / 412.9 MB, free: 12.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.006071, allocations: 23.8 kB / 412.9 MB, free: 12.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.006108, allocations: 25.7 kB / 412.9 MB, free: 12.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.006204, allocations: 326.8 kB / 413.3 MB, free: 12.37 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.896e-05/0.006253, allocations: 20 kB / 413.3 MB, free: 12.35 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-05/0.006307, allocations: 37.69 kB / 413.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.274e-05/0.0064, allocations: 65.59 kB / 413.4 MB, free: 12.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.006401, allocations: 0 / 413.4 MB, free: 12.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001837/0.006585, allocations: 109.6 kB / 413.5 MB, free: 12.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.006599, allocations: 11.94 kB / 413.5 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.006603, allocations: 0 / 413.5 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.006613, allocations: 0 / 413.5 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.006672, allocations: 15.98 kB / 413.5 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.006678, allocations: 4.328 kB / 413.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.633e-05/0.006704, allocations: 8.031 kB / 413.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.006711, allocations: 11.94 kB / 413.5 MB, free: 12.07 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.817e-05/0.00678, allocations: 129.8 kB / 413.7 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.006792, allocations: 11.89 kB / 413.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.00695, allocations: 123.1 kB / 413.8 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.006952, allocations: 4 kB / 413.8 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.006956, allocations: 384 / 413.8 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.006959, allocations: 0 / 413.8 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.007218, allocations: 358.9 kB / 414.2 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007219, allocations: 4.031 kB / 414.2 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.007238, allocations: 8 kB / 414.2 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.007241, allocations: 3.984 kB / 414.2 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.007248, allocations: 7.938 kB / 414.2 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.007249, allocations: 0 / 414.2 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.00725, allocations: 0 / 414.2 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.007386, allocations: 212.2 kB / 414.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.007398, allocations: 11.91 kB / 414.4 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.007414, allocations: 11.97 kB / 414.4 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.877e-05/0.007453, allocations: 4 kB / 414.4 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.007479, allocations: 11.98 kB / 414.4 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.00749, allocations: 4 kB / 414.4 MB, free: 11.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.545e-05/0.007576, allocations: 167.2 kB / 414.6 MB, free: 10.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007576, allocations: 0 / 414.6 MB, free: 10.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001668/0.007743, allocations: 27.94 kB / 414.6 MB, free: 10.92 MB / 394.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006719/0.008415, allocations: 498.2 kB / 415.1 MB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.008535, allocations: 63.91 kB / 415.2 MB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.008536, allocations: 0 / 415.2 MB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.939e-05/0.008575, allocations: 27.94 kB / 415.2 MB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.008778, allocations: 27.97 kB / 415.2 MB, free: 10.35 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.009097, allocations: 275.6 kB / 415.5 MB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.807e-05/0.009155, allocations: 96.92 kB / 415.6 MB, free: 9.926 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.009181, allocations: 20.5 kB / 415.6 MB, free: 9.906 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.009182, allocations: 0 / 415.6 MB, free: 9.906 MB / 394.7 MB Notification: Performance of Templates: time 0.002388/0.01157, allocations: 2.012 MB / 417.6 MB, free: 7.891 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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: 4.407435247674584]