Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.0008609/0.0008609, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001171/0.002032, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007851/0.0007851, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000923/0.001708, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9731/0.9731, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09543/1.068, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2554/0.2554, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02591/0.2813, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 292.7 MB, free: 6.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.743e-05/1.875e-05, allocations: 2.312 kB / 292.7 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002045/0.002064, allocations: 1.75 MB / 294.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007227/0.002787, allocations: 0.5607 MB / 295 MB, free: 3.941 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.002842, allocations: 0 / 295 MB, free: 3.941 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004527/0.003295, allocations: 499 kB / 295.5 MB, free: 3.453 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.003648, allocations: 307.1 kB / 295.8 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.0039, allocations: 131.6 kB / 295.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.004069, allocations: 179.6 kB / 296.1 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.733e-05/0.004146, allocations: 12 kB / 296.1 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.004296, allocations: 167.7 kB / 296.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.00445, allocations: 195.6 kB / 296.4 MB, free: 2.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.004465, allocations: 4 kB / 296.4 MB, free: 2.477 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.966e-05/0.004554, allocations: 47.92 kB / 296.5 MB, free: 2.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.488e-05/0.004629, allocations: 79.72 kB / 296.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.004663, allocations: 35.75 kB / 296.6 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.004865, allocations: 211 kB / 296.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.425e-05/0.00488, allocations: 0 / 296.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004881, allocations: 0 / 296.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.004894, allocations: 4 kB / 296.8 MB, free: 2.105 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005084/0.005403, allocations: 0.6043 MB / 297.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.005431, allocations: 12.03 kB / 297.4 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.005469, allocations: 24.92 kB / 297.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.005642, allocations: 238.1 kB / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.00565, allocations: 384 / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.00567, allocations: 12.33 kB / 297.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.423e-05/0.005765, allocations: 66.88 kB / 297.7 MB, free: 1.094 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.005773, allocations: 4.125 kB / 297.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.00578, allocations: 4.125 kB / 297.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.005785, allocations: 0 / 297.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.547e-05/0.00581, allocations: 15.98 kB / 297.8 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002021/0.006012, allocations: 168.2 kB / 297.9 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.274e-05/0.006065, allocations: 34.56 kB / 298 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.384e-05/0.006079, allocations: 8.938 kB / 298 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.006099, allocations: 7.938 kB / 298 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.006119, allocations: 30.56 kB / 298 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.006119, allocations: 0 / 298 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004924/0.006612, allocations: 177.4 kB / 298.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.006646, allocations: 51.41 kB / 298.2 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.006971, allocations: 0.5283 MB / 298.8 MB, free: 4 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.00699, allocations: 25.7 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.007048, allocations: 137.3 kB / 298.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.007078, allocations: 35.72 kB / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.00711, allocations: 17.72 kB / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.007202, allocations: 366.6 kB / 299.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.007215, allocations: 4 kB / 299.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.452e-05/0.00723, allocations: 8.062 kB / 299.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.592e-05/0.007266, allocations: 32.81 kB / 299.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.007267, allocations: 4 kB / 299.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.474e-05/0.007342, allocations: 73.59 kB / 299.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.007353, allocations: 4 kB / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.007358, allocations: 0 / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.116e-06/0.007366, allocations: 4 kB / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.564e-05/0.007442, allocations: 15.98 kB / 299.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.007444, allocations: 0 / 299.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.404e-05/0.007468, allocations: 4 kB / 299.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.007473, allocations: 4 kB / 299.5 MB, free: 15.25 MB / 298.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 (8): * Single equations (assignments): 8 * 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.382e-05/0.007537, allocations: 116.6 kB / 299.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.007561, allocations: 27.97 kB / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.00768, allocations: 101.5 kB / 299.7 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.007681, allocations: 0 / 299.7 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.007683, allocations: 0 / 299.7 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.007685, allocations: 3.938 kB / 299.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.007942, allocations: 307.4 kB / 300 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.007943, allocations: 0 / 300 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.007984, allocations: 19.98 kB / 300.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.254e-05/0.008006, allocations: 39.75 kB / 300.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.008008, allocations: 0 / 300.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-06/0.008012, allocations: 0 / 300.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.008013, allocations: 0 / 300.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.008017, allocations: 7.938 kB / 300.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.964e-05/0.008106, allocations: 180.7 kB / 300.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.008122, allocations: 8 kB / 300.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.849e-05/0.00816, allocations: 3.984 kB / 300.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.008183, allocations: 8 kB / 300.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.008187, allocations: 3.984 kB / 300.3 MB, free: 14.37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001707/0.008358, allocations: 287.2 kB / 300.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008358, allocations: 4 kB / 300.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001426/0.008501, allocations: 27.94 kB / 300.6 MB, free: 14.06 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001316/0.009816, allocations: 0.6277 MB / 301.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.9e-05/0.009895, allocations: 36.83 kB / 301.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.009903, allocations: 8 kB / 301.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.207e-05/0.009925, allocations: 24.78 kB / 301.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.01013, allocations: 48.27 kB / 301.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000689/0.01082, allocations: 0.5994 MB / 302 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.839e-05/0.01088, allocations: 123.2 kB / 302.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.826e-05/0.01092, allocations: 17.03 kB / 302.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.01097, allocations: 59.36 kB / 302.1 MB, free: 12.81 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01097, allocations: 0 / 302.1 MB, free: 12.81 MB / 298.7 MB Notification: Performance of Templates: time 0.003958/0.01493, allocations: 1.741 MB / 303.9 MB, free: 11.09 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.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: 2.940808419138193]