Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004858/0.005903, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009002/0.0009002, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002703/0.003603, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9702/0.9702, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1661/1.136, allocations: 52.48 MB / 238.5 MB, free: 7.645 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1436/0.1436, allocations: 32.8 MB / 272 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02212/0.1657, allocations: 12.54 MB / 284.5 MB, free: 9.73 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 285.9 MB, free: 8.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003e-05/1.137e-05, allocations: 2.312 kB / 285.9 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.001913/0.001925, allocations: 1.722 MB / 287.6 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.002935, allocations: 1.185 MB / 288.8 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.002975, allocations: 0 / 288.8 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.161e-05/0.003067, allocations: 19.84 kB / 288.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.003192, allocations: 47.66 kB / 288.8 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.003405, allocations: 135.5 kB / 289 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.003508, allocations: 55.84 kB / 289 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.48e-05/0.003583, allocations: 16.17 kB / 289 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.534e-05/0.003668, allocations: 51.84 kB / 289.1 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.431e-05/0.003742, allocations: 19.97 kB / 289.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.003756, allocations: 4 kB / 289.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.003864, allocations: 63.78 kB / 289.2 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.023e-05/0.003904, allocations: 15.92 kB / 289.2 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.659e-05/0.003921, allocations: 15.94 kB / 289.2 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.004048, allocations: 71.75 kB / 289.3 MB, free: 4.973 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.004057, allocations: 3.938 kB / 289.3 MB, free: 4.969 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004058, allocations: 0 / 289.3 MB, free: 4.969 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.004066, allocations: 0 / 289.3 MB, free: 4.969 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003362/0.004403, allocations: 292.2 kB / 289.6 MB, free: 4.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.723e-05/0.00443, allocations: 8.031 kB / 289.6 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.004458, allocations: 8.922 kB / 289.6 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.004589, allocations: 133.6 kB / 289.7 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.004599, allocations: 4.375 kB / 289.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.004619, allocations: 8.328 kB / 289.7 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.004727, allocations: 110.3 kB / 289.8 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.004736, allocations: 192 / 289.8 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.004743, allocations: 7.922 kB / 289.8 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.004749, allocations: 4 kB / 289.9 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.948e-05/0.004768, allocations: 4 kB / 289.9 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.004939, allocations: 160.3 kB / 290 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.288e-05/0.004991, allocations: 38.58 kB / 290.1 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.317e-05/0.005005, allocations: 8.859 kB / 290.1 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.00502, allocations: 4 kB / 290.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.00504, allocations: 38.58 kB / 290.1 MB, free: 4.051 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.005041, allocations: 0 / 290.1 MB, free: 4.051 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002676/0.005308, allocations: 101.5 kB / 290.2 MB, free: 3.945 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.005331, allocations: 55.41 kB / 290.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.237e-05/0.005403, allocations: 130.2 kB / 290.4 MB, free: 3.742 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.005412, allocations: 25.7 kB / 290.4 MB, free: 3.711 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.00545, allocations: 92.11 kB / 290.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.005472, allocations: 27.75 kB / 290.5 MB, free: 3.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/0.005496, allocations: 17.72 kB / 290.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.955e-05/0.005566, allocations: 326.8 kB / 290.9 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/0.005577, allocations: 4 kB / 290.9 MB, free: 3.234 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.855e-05/0.005606, allocations: 55.45 kB / 290.9 MB, free: 3.168 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.628e-05/0.005632, allocations: 24.78 kB / 290.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.005633, allocations: 4 kB / 290.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.375e-05/0.005686, allocations: 49.62 kB / 291 MB, free: 3.082 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.005698, allocations: 8 kB / 291 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.005701, allocations: 0 / 291 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.005711, allocations: 0 / 291 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.916e-05/0.00577, allocations: 15.98 kB / 291 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.005772, allocations: 4.031 kB / 291 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.27e-05/0.005795, allocations: 11.98 kB / 291 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.005799, allocations: 4 kB / 291 MB, free: 3.039 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 (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 4.808e-05/0.005847, allocations: 116.6 kB / 291.2 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.005863, allocations: 7.938 kB / 291.2 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.523e-05/0.005939, allocations: 70.05 kB / 291.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.00594, allocations: 0 / 291.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.005943, allocations: 3.984 kB / 291.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.005946, allocations: 0 / 291.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.006119, allocations: 222.7 kB / 291.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.006119, allocations: 4 kB / 291.5 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.006156, allocations: 19.98 kB / 291.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.006162, allocations: 7.953 kB / 291.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.006164, allocations: 4 kB / 291.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-06/0.006167, allocations: 0 / 291.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.006168, allocations: 0 / 291.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006169, allocations: 0 / 291.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.4e-05/0.006243, allocations: 155.8 kB / 291.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.006254, allocations: 8 kB / 291.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.817e-05/0.006292, allocations: 8 kB / 291.7 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.006317, allocations: 7.984 kB / 291.7 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-06/0.00632, allocations: 0 / 291.7 MB, free: 2.363 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.562e-05/0.006346, allocations: 24.83 kB / 291.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006346, allocations: 0 / 291.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000143/0.006489, allocations: 27.94 kB / 291.7 MB, free: 2.309 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 (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.001306/0.007795, allocations: 0.6115 MB / 292.3 MB, free: 1.992 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.977e-05/0.007875, allocations: 32.8 kB / 292.4 MB, free: 1.957 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.007882, allocations: 3.984 kB / 292.4 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.828e-05/0.00791, allocations: 28.78 kB / 292.4 MB, free: 1.922 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.008077, allocations: 87.31 kB / 292.5 MB, free: 1.824 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.008451, allocations: 186.3 kB / 292.7 MB, free: 1.613 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.046e-05/0.008481, allocations: 63.34 kB / 292.7 MB, free: 1.531 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.872e-05/0.00852, allocations: 20.39 kB / 292.7 MB, free: 1.512 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/0.008575, allocations: 63.36 kB / 292.8 MB, free: 1.449 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.008575, allocations: 0 / 292.8 MB, free: 1.449 MB / 282.7 MB Notification: Performance of Templates: time 0.002859/0.01143, allocations: 1.674 MB / 294.5 MB, free: 15.8 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7347630159929395]