Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.0008003/0.0008003, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007887/0.0007887, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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.8395/0.8395, 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.1289/0.1289, allocations: 32.37 MB / 270.4 MB, free: 14.95 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 408.2 MB, free: 1.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.621e-05, allocations: 6.078 kB / 408.2 MB, free: 1.656 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002225/0.002251, allocations: 1.68 MB / 409.9 MB, free: 15.96 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009158/0.003167, allocations: 0.7765 MB / 410.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.119e-05/0.003238, allocations: 3.938 kB / 410.6 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.003546, allocations: 55.81 kB / 410.7 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.003756, allocations: 59.69 kB / 410.8 MB, free: 15.06 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.003984, allocations: 95.62 kB / 410.8 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.004133, allocations: 95.64 kB / 410.9 MB, free: 14.87 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.058e-05/0.004223, allocations: 16.22 kB / 411 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.85e-05/0.004302, allocations: 51.83 kB / 411 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.49e-05/0.004367, allocations: 19.92 kB / 411 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.004386, allocations: 4 kB / 411 MB, free: 14.78 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.839e-05/0.004475, allocations: 47.91 kB / 411.1 MB, free: 14.73 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.598e-05/0.004531, allocations: 31.86 kB / 411.1 MB, free: 14.7 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.004567, allocations: 19.92 kB / 411.1 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.004743, allocations: 127.5 kB / 411.3 MB, free: 14.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004746, allocations: 0 / 411.3 MB, free: 14.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.004747, allocations: 3.938 kB / 411.3 MB, free: 14.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.004751, allocations: 0 / 411.3 MB, free: 14.55 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.0004168/0.005168, allocations: 369.4 kB / 411.6 MB, free: 14.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.0052, allocations: 8.031 kB / 411.6 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.005238, allocations: 16.84 kB / 411.6 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.005433, allocations: 161.2 kB / 411.8 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.005446, allocations: 8.375 kB / 411.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.005465, allocations: 384 / 411.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.005588, allocations: 62.23 kB / 411.9 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.005598, allocations: 3.938 kB / 411.9 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.005608, allocations: 0 / 411.9 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.005612, allocations: 0 / 411.9 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.154e-05/0.005664, allocations: 31.91 kB / 411.9 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/0.005936, allocations: 236.5 kB / 412.1 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.00605, allocations: 58.67 kB / 412.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.525e-05/0.006085, allocations: 20.8 kB / 412.2 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.006098, allocations: 0 / 412.2 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/0.006207, allocations: 75.31 kB / 412.3 MB, free: 13.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.006208, allocations: 0 / 412.3 MB, free: 13.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003988/0.006607, allocations: 193.3 kB / 412.5 MB, free: 13.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.006639, allocations: 55.41 kB / 412.5 MB, free: 13.15 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.006805, allocations: 267.4 kB / 412.8 MB, free: 12.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.006818, allocations: 29.7 kB / 412.8 MB, free: 12.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.006865, allocations: 108.1 kB / 412.9 MB, free: 12.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.006889, allocations: 27.83 kB / 413 MB, free: 12.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.00692, allocations: 21.72 kB / 413 MB, free: 12.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.901e-05/0.006999, allocations: 326.8 kB / 413.3 MB, free: 12.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.824e-05/0.007037, allocations: 19.98 kB / 413.3 MB, free: 12.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.023e-05/0.007077, allocations: 37.7 kB / 413.3 MB, free: 12.29 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.235e-05/0.00715, allocations: 69.64 kB / 413.4 MB, free: 12.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.007151, allocations: 0 / 413.4 MB, free: 12.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000125/0.007276, allocations: 109.5 kB / 413.5 MB, free: 12.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.007288, allocations: 4 kB / 413.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.007293, allocations: 0 / 413.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.007305, allocations: 4 kB / 413.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.297e-05/0.007368, allocations: 15.94 kB / 413.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.007374, allocations: 4.328 kB / 413.6 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.175e-05/0.007406, allocations: 7.984 kB / 413.6 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.007411, allocations: 7.969 kB / 413.6 MB, free: 12.05 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 7.794e-05/0.007489, allocations: 141.7 kB / 413.7 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.007504, allocations: 15.91 kB / 413.7 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.007668, allocations: 131 kB / 413.8 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.00767, allocations: 0 / 413.8 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.007676, allocations: 4.359 kB / 413.9 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.007678, allocations: 0 / 413.9 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.007959, allocations: 354.9 kB / 414.2 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.007961, allocations: 4 kB / 414.2 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-05/0.007985, allocations: 16.02 kB / 414.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.007988, allocations: 7.938 kB / 414.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.007997, allocations: 4 kB / 414.2 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.007998, allocations: 0 / 414.2 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.008, allocations: 4 kB / 414.2 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.008135, allocations: 216.2 kB / 414.4 MB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.299e-05/0.008148, allocations: 15.89 kB / 414.5 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.008162, allocations: 0 / 414.5 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.363e-05/0.008206, allocations: 8 kB / 414.5 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.008235, allocations: 7.984 kB / 414.5 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.008246, allocations: 4 kB / 414.5 MB, free: 11.06 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.008353, allocations: 211.2 kB / 414.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008353, allocations: 0 / 414.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000176/0.008529, allocations: 23.98 kB / 414.7 MB, free: 10.83 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.0006989/0.009228, allocations: 493 kB / 415.2 MB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.009362, allocations: 63.91 kB / 415.3 MB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009364, allocations: 3.938 kB / 415.3 MB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-05/0.009405, allocations: 23.98 kB / 415.3 MB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.009625, allocations: 27.77 kB / 415.3 MB, free: 10.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.01001, allocations: 324.5 kB / 415.6 MB, free: 9.906 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.186e-05/0.01008, allocations: 105.9 kB / 415.7 MB, free: 9.781 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.01011, allocations: 16.5 kB / 415.7 MB, free: 9.766 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.01011, allocations: 0 / 415.7 MB, free: 9.766 MB / 394.7 MB Notification: Performance of Templates: time 0.002711/0.01282, allocations: 2.132 MB / 417.9 MB, free: 7.633 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.484697417356074]