Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.0009794/0.0009794, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001074/0.001074, allocations: 169.8 kB / 24.84 MB, free: 8.859 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.9401/0.9401, allocations: 158.6 MB / 186.7 MB, free: 2.812 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.1271/0.1271, allocations: 32.37 MB / 271.5 MB, free: 2.531 MB / 250.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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 348.9 MB, free: 4.887 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.176e-05/3.327e-05, allocations: 2.312 kB / 348.9 MB, free: 4.883 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003946/0.00398, allocations: 1.639 MB / 350.6 MB, free: 3.227 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.005588, allocations: 1.079 MB / 351.6 MB, free: 2.141 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.005717, allocations: 4 kB / 351.6 MB, free: 2.137 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003799/0.006097, allocations: 23.8 kB / 351.7 MB, free: 2.113 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.006441, allocations: 47.7 kB / 351.7 MB, free: 2.066 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.006881, allocations: 151.6 kB / 351.9 MB, free: 1.918 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.007064, allocations: 71.72 kB / 351.9 MB, free: 1.848 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.007178, allocations: 15.97 kB / 352 MB, free: 1.832 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.524e-05/0.007273, allocations: 31.92 kB / 352 MB, free: 1.801 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.007411, allocations: 27.89 kB / 352 MB, free: 1.773 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.007433, allocations: 4 kB / 352 MB, free: 1.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.007584, allocations: 47.92 kB / 352.1 MB, free: 1.723 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.26e-05/0.007646, allocations: 19.97 kB / 352.1 MB, free: 1.703 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.007674, allocations: 11.94 kB / 352.1 MB, free: 1.691 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.00791, allocations: 99.64 kB / 352.2 MB, free: 1.594 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.007915, allocations: 0 / 352.2 MB, free: 1.594 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.007916, allocations: 0 / 352.2 MB, free: 1.594 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.007921, allocations: 0 / 352.2 MB, free: 1.594 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005041/0.008425, allocations: 416.1 kB / 352.6 MB, free: 1.152 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.008467, allocations: 8.031 kB / 352.6 MB, free: 1.145 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.008522, allocations: 12.89 kB / 352.6 MB, free: 1.133 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.008719, allocations: 128.5 kB / 352.7 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.008736, allocations: 8.312 kB / 352.8 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.008762, allocations: 8.375 kB / 352.8 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.00896, allocations: 108 kB / 352.9 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.008974, allocations: 192 / 352.9 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.008985, allocations: 8.125 kB / 352.9 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.008992, allocations: 0 / 352.9 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.08e-05/0.009032, allocations: 7.984 kB / 352.9 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.009422, allocations: 272.3 kB / 353.1 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.044e-05/0.009512, allocations: 35.05 kB / 353.2 MB, free: 492 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/0.009537, allocations: 15.69 kB / 353.2 MB, free: 472 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.009559, allocations: 0 / 353.2 MB, free: 472 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.009598, allocations: 45.41 kB / 353.2 MB, free: 416 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.0096, allocations: 0 / 353.2 MB, free: 416 kB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004911/0.01009, allocations: 113.5 kB / 353.4 MB, free: 296 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.01014, allocations: 77.11 kB / 353.4 MB, free: 200 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1814/0.1915, allocations: 187.8 kB / 353.6 MB, free: 65.01 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.1916, allocations: 25.7 kB / 353.6 MB, free: 64.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.1916, allocations: 140 kB / 353.8 MB, free: 64.85 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.1917, allocations: 24.67 kB / 353.8 MB, free: 64.85 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/0.1917, allocations: 32.89 kB / 353.8 MB, free: 64.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.109e-05/0.1918, allocations: 0.4907 MB / 354.3 MB, free: 64.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.494e-05/0.1918, allocations: 6.094 kB / 354.3 MB, free: 64.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.481e-05/0.1919, allocations: 53.11 kB / 354.4 MB, free: 64.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.884e-05/0.1919, allocations: 31.88 kB / 354.4 MB, free: 64.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1919, allocations: 0 / 354.4 MB, free: 64.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001198/0.192, allocations: 61.7 kB / 354.5 MB, free: 64.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1921, allocations: 6.344 kB / 354.5 MB, free: 64.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1921, allocations: 2.906 kB / 354.5 MB, free: 64.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1921, allocations: 0 / 354.5 MB, free: 64.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1922, allocations: 21.55 kB / 354.5 MB, free: 64.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-06/0.1922, allocations: 1.312 kB / 354.5 MB, free: 64.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.024e-05/0.1922, allocations: 6.641 kB / 354.5 MB, free: 64.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1922, allocations: 5.594 kB / 354.5 MB, free: 64.23 MB / 330.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 (7): * Single equations (assignments): 7 * 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 5.794e-05/0.1923, allocations: 162.5 kB / 354.7 MB, free: 64.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.1923, allocations: 11.86 kB / 354.7 MB, free: 64.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.1924, allocations: 78.38 kB / 354.8 MB, free: 64.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1924, allocations: 0.9688 kB / 354.8 MB, free: 64.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.1924, allocations: 0 / 354.8 MB, free: 64.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1924, allocations: 1.062 kB / 354.8 MB, free: 64.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.1927, allocations: 307.2 kB / 355.1 MB, free: 63.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1927, allocations: 0 / 355.1 MB, free: 63.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.848e-05/0.1928, allocations: 15.81 kB / 355.1 MB, free: 63.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.1928, allocations: 6.5 kB / 355.1 MB, free: 63.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1928, allocations: 3.938 kB / 355.1 MB, free: 63.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1928, allocations: 0 / 355.1 MB, free: 63.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1928, allocations: 1.188 kB / 355.1 MB, free: 63.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.193, allocations: 214 kB / 355.3 MB, free: 63.58 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/0.193, allocations: 8.578 kB / 355.3 MB, free: 63.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.193, allocations: 4.688 kB / 355.3 MB, free: 63.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.832e-05/0.1931, allocations: 11.75 kB / 355.3 MB, free: 63.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.1931, allocations: 7.75 kB / 355.3 MB, free: 63.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.1931, allocations: 2.188 kB / 355.3 MB, free: 63.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.048e-05/0.1932, allocations: 144.1 kB / 355.5 MB, free: 63.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1932, allocations: 0 / 355.5 MB, free: 63.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002096/0.1934, allocations: 26.89 kB / 355.5 MB, free: 63.46 MB / 330.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 (7): * Single equations (assignments): 7 * 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.0009867/0.1944, allocations: 436.2 kB / 355.9 MB, free: 63.33 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.1945, allocations: 40.88 kB / 356 MB, free: 63.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1945, allocations: 1.125 kB / 356 MB, free: 63.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.149e-05/0.1946, allocations: 22.03 kB / 356 MB, free: 63.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.1948, allocations: 17.95 kB / 356 MB, free: 63.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.1952, allocations: 197.1 kB / 356.2 MB, free: 63.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.386e-05/0.1952, allocations: 68.91 kB / 356.3 MB, free: 63.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.901e-05/0.1953, allocations: 10.8 kB / 356.3 MB, free: 63.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.733e-05/0.1953, allocations: 90.64 kB / 356.4 MB, free: 63.02 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1953, allocations: 0 / 356.4 MB, free: 63.02 MB / 330.7 MB Notification: Performance of Templates: time 0.004711/0.2, allocations: 1.782 MB / 358.1 MB, free: 62.84 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2603684864006937]