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.001463/0.001463, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.001474/0.001474, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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 1.523/1.523, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 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.2419/0.2419, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 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.683e-06/1.683e-06, allocations: 0 / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.125e-05/3.293e-05, allocations: 2.312 kB / 346.9 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test31): time 0.002452/0.002485, allocations: 1.558 MB / 348.5 MB, free: 8.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000608/0.003093, allocations: 331.3 kB / 348.8 MB, free: 7.902 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.863e-05/0.003151, allocations: 7.938 kB / 348.8 MB, free: 7.895 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.003523, allocations: 115.7 kB / 348.9 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.003718, allocations: 83.7 kB / 349 MB, free: 7.699 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.00398, allocations: 103.6 kB / 349.1 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.004138, allocations: 79.81 kB / 349.2 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.004245, allocations: 15.97 kB / 349.2 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.942e-05/0.004324, allocations: 47.89 kB / 349.3 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.004449, allocations: 79.89 kB / 349.3 MB, free: 7.379 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.00447, allocations: 4 kB / 349.3 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.004548, allocations: 27.97 kB / 349.4 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.634e-05/0.004604, allocations: 27.86 kB / 349.4 MB, free: 7.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.004642, allocations: 15.94 kB / 349.4 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.004824, allocations: 107.5 kB / 349.5 MB, free: 7.199 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.004827, allocations: 0 / 349.5 MB, free: 7.199 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.004827, allocations: 4 kB / 349.5 MB, free: 7.195 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.004833, allocations: 0 / 349.5 MB, free: 7.195 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004345/0.005268, allocations: 345.6 kB / 349.9 MB, free: 6.828 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.005302, allocations: 8.031 kB / 349.9 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.005353, allocations: 16.84 kB / 349.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.005494, allocations: 145.4 kB / 350 MB, free: 6.637 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.005507, allocations: 4.375 kB / 350 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.00553, allocations: 4.312 kB / 350 MB, free: 6.629 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.005669, allocations: 54.23 kB / 350.1 MB, free: 6.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.005682, allocations: 192 / 350.1 MB, free: 6.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.005692, allocations: 8.125 kB / 350.1 MB, free: 6.562 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.005697, allocations: 0 / 350.1 MB, free: 6.562 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.645e-05/0.005783, allocations: 23.98 kB / 350.1 MB, free: 6.539 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.006076, allocations: 232.6 kB / 350.3 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.006278, allocations: 54.48 kB / 350.4 MB, free: 6.219 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.006327, allocations: 12.86 kB / 350.4 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.006351, allocations: 7.938 kB / 350.4 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.006365, allocations: 34.56 kB / 350.5 MB, free: 6.152 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.006366, allocations: 4 kB / 350.5 MB, free: 6.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005737/0.00694, allocations: 161.3 kB / 350.6 MB, free: 5.984 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.006971, allocations: 55.34 kB / 350.7 MB, free: 5.918 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.007196, allocations: 270.3 kB / 350.9 MB, free: 5.645 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.007209, allocations: 25.7 kB / 351 MB, free: 5.613 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/0.007267, allocations: 112.1 kB / 351.1 MB, free: 5.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.00729, allocations: 15.8 kB / 351.1 MB, free: 5.484 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.007322, allocations: 21.7 kB / 351.1 MB, free: 5.457 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.825e-05/0.00739, allocations: 330.8 kB / 351.4 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.619e-05/0.007456, allocations: 19.98 kB / 351.4 MB, free: 5.105 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.426e-05/0.00751, allocations: 19.98 kB / 351.5 MB, free: 5.086 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.007646, allocations: 52.77 kB / 351.5 MB, free: 5.031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.007647, allocations: 0 / 351.5 MB, free: 5.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001649/0.007812, allocations: 101.5 kB / 351.6 MB, free: 4.926 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.007825, allocations: 4 kB / 351.6 MB, free: 4.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.00783, allocations: 4 kB / 351.6 MB, free: 4.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.007851, allocations: 256 / 351.6 MB, free: 4.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.588e-05/0.007907, allocations: 15.98 kB / 351.6 MB, free: 4.902 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.007912, allocations: 4 kB / 351.6 MB, free: 4.898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.685e-05/0.007949, allocations: 0 / 351.6 MB, free: 4.898 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.007957, allocations: 8 kB / 351.7 MB, free: 4.891 MB / 282.7 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 6.87e-05/0.008025, allocations: 133.8 kB / 351.8 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.008057, allocations: 12.17 kB / 351.8 MB, free: 4.738 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.008269, allocations: 114.8 kB / 351.9 MB, free: 4.617 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.008271, allocations: 3.984 kB / 351.9 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.008276, allocations: 0 / 351.9 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.008279, allocations: 4 kB / 351.9 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.008619, allocations: 318.1 kB / 352.2 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.008621, allocations: 0 / 352.2 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.611e-05/0.008667, allocations: 8 kB / 352.2 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.008668, allocations: 0 / 352.2 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.008676, allocations: 4 kB / 352.2 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.008677, allocations: 4 kB / 352.2 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008678, allocations: 0 / 352.2 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.008866, allocations: 195.4 kB / 352.4 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.201e-05/0.008878, allocations: 7.891 kB / 352.4 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.008896, allocations: 7.984 kB / 352.4 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.504e-05/0.008961, allocations: 3.938 kB / 352.5 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.009014, allocations: 8.172 kB / 352.5 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.00902, allocations: 8 kB / 352.5 MB, free: 4.004 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001289/0.009149, allocations: 200.3 kB / 352.7 MB, free: 3.809 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009149, allocations: 8 kB / 352.7 MB, free: 3.801 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000242/0.009391, allocations: 12 kB / 352.7 MB, free: 3.789 MB / 282.7 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.001803/0.01119, allocations: 427.2 kB / 353.1 MB, free: 3.477 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.01139, allocations: 47.97 kB / 353.1 MB, free: 3.43 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.01139, allocations: 4 kB / 353.2 MB, free: 3.426 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.071e-05/0.01146, allocations: 31.91 kB / 353.2 MB, free: 3.395 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.01184, allocations: 28.83 kB / 353.2 MB, free: 3.371 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.01229, allocations: 277 kB / 353.5 MB, free: 3.074 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.884e-05/0.01238, allocations: 104.7 kB / 353.6 MB, free: 2.949 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.423e-05/0.01243, allocations: 16.22 kB / 353.6 MB, free: 2.934 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.01246, allocations: 20.5 kB / 353.6 MB, free: 2.914 MB / 282.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01246, allocations: 0 / 353.6 MB, free: 2.914 MB / 282.7 MB Notification: Performance of Templates: time 0.003803/0.01626, allocations: 1.16 MB / 354.8 MB, free: 1.754 MB / 282.7 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: 4.958965628989972]