Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.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.001799/0.001799, allocations: 75.28 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.002346/0.002346, allocations: 172.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.739/1.739, allocations: 158.6 MB / 185 MB, free: 6.387 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.2382/0.2382, allocations: 32.38 MB / 269.6 MB, free: 4.645 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.CombiTable1D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31") translateModel(ModelicaTest.Tables.CombiTable1D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 407.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.714e-05/4.907e-05, allocations: 2.281 kB / 407.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test31): time 0.00451/0.004559, allocations: 1.547 MB / 408.9 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008896/0.005449, allocations: 331.4 kB / 409.2 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.036e-05/0.005539, allocations: 0 / 409.2 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00044/0.005979, allocations: 123.6 kB / 409.4 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.006288, allocations: 91.62 kB / 409.5 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.006618, allocations: 91.08 kB / 409.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.006831, allocations: 99.66 kB / 409.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.006943, allocations: 4 kB / 409.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.828e-05/0.007041, allocations: 51.88 kB / 409.7 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.007206, allocations: 83.83 kB / 409.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.00723, allocations: 4 kB / 409.8 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.203e-05/0.007322, allocations: 27.98 kB / 409.8 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.413e-05/0.007396, allocations: 27.91 kB / 409.8 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.007434, allocations: 11.94 kB / 409.8 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.007745, allocations: 111.5 kB / 410 MB, free: 412 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.00775, allocations: 4 kB / 410 MB, free: 408 kB / 334.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.007751, allocations: 0 / 410 MB, free: 408 kB / 334.1 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.007757, allocations: 0 / 410 MB, free: 408 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006353/0.008392, allocations: 345.5 kB / 410.3 MB, free: 32 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.008434, allocations: 8.031 kB / 410.3 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.008485, allocations: 12.89 kB / 410.3 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.008734, allocations: 145.4 kB / 410.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.008747, allocations: 384 / 410.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.008773, allocations: 12.27 kB / 410.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.008943, allocations: 50.19 kB / 410.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.008956, allocations: 4.188 kB / 410.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.008972, allocations: 8.125 kB / 410.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.008977, allocations: 0 / 410.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.009078, allocations: 23.97 kB / 410.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.009531, allocations: 236.6 kB / 410.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.009785, allocations: 46.5 kB / 410.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.66e-05/0.009841, allocations: 20.94 kB / 410.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.00987, allocations: 3.938 kB / 410.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.009907, allocations: 34.56 kB / 410.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.009908, allocations: 4 kB / 410.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006401/0.01055, allocations: 157.3 kB / 411 MB, free: 15.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.01061, allocations: 59.39 kB / 411.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.01091, allocations: 258.4 kB / 411.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.01093, allocations: 33.7 kB / 411.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.502e-05/0.01102, allocations: 108.1 kB / 411.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.01105, allocations: 19.84 kB / 411.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.01109, allocations: 21.72 kB / 411.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002959/0.01138, allocations: 322.8 kB / 411.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-05/0.01146, allocations: 19.98 kB / 411.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-05/0.01153, allocations: 23.97 kB / 411.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.0117, allocations: 52.83 kB / 411.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.0117, allocations: 0 / 411.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003257/0.01203, allocations: 97.45 kB / 412 MB, free: 14.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.01204, allocations: 11.94 kB / 412.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01205, allocations: 0 / 412.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.01207, allocations: 0 / 412.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.74e-05/0.01214, allocations: 15.98 kB / 412.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.01214, allocations: 0 / 412.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.01219, allocations: 7.984 kB / 412.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.01219, allocations: 0 / 412.1 MB, free: 14.11 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001333/0.01233, allocations: 133.8 kB / 412.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.01237, allocations: 19.84 kB / 412.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004144/0.01278, allocations: 106.7 kB / 412.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01279, allocations: 4.25 kB / 412.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.01279, allocations: 4.281 kB / 412.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.0128, allocations: 0 / 412.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004831/0.01328, allocations: 314.2 kB / 412.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01328, allocations: 0 / 412.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.01358, allocations: 19.91 kB / 412.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01358, allocations: 0 / 412.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.01359, allocations: 8 kB / 412.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01359, allocations: 0 / 412.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.0136, allocations: 0 / 412.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.01391, allocations: 187.4 kB / 412.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.01393, allocations: 7.953 kB / 412.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.01394, allocations: 0 / 412.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.498e-05/0.01401, allocations: 4 kB / 412.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.01405, allocations: 11.98 kB / 412.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.01406, allocations: 0 / 412.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.01425, allocations: 208.3 kB / 413.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01425, allocations: 0 / 413.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.0145, allocations: 19.94 kB / 413.1 MB, free: 13.01 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001873/0.01637, allocations: 429.1 kB / 413.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.01659, allocations: 55.95 kB / 413.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01659, allocations: 0 / 413.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.044e-05/0.01667, allocations: 23.98 kB / 413.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.01708, allocations: 23.67 kB / 413.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007264/0.01781, allocations: 285.4 kB / 413.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.01792, allocations: 100.8 kB / 414 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.511e-05/0.01798, allocations: 15.97 kB / 414 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.01802, allocations: 16.5 kB / 414 MB, free: 12.11 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.01802, allocations: 0 / 414 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Templates: time 0.004997/0.02301, allocations: 1.16 MB / 415.2 MB, free: 10.96 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.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.369490694254637]