Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.002058/0.002058, allocations: 82.36 kB / 20.68 MB, free: 1.027 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.002158/0.002158, allocations: 167.9 kB / 23.96 MB, free: 4.148 MB / 14.72 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 1.524/1.524, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.2654/0.2654, allocations: 34.28 MB / 294.9 MB, free: 14.56 MB / 286.1 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 442.7 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.718e-05, allocations: 6.281 kB / 442.7 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003019/0.003046, allocations: 1.674 MB / 444.4 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.004223, allocations: 0.5686 MB / 444.9 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.004281, allocations: 7.938 kB / 444.9 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006077/0.004889, allocations: 451 kB / 445.4 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004993/0.005388, allocations: 299.2 kB / 445.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004691/0.005857, allocations: 178.1 kB / 445.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.006115, allocations: 183.6 kB / 446 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/0.006214, allocations: 16.22 kB / 446.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.006369, allocations: 123.8 kB / 446.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/0.006641, allocations: 239.6 kB / 446.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.006667, allocations: 4 kB / 446.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.006787, allocations: 59.83 kB / 446.5 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.00689, allocations: 87.66 kB / 446.6 MB, free: 1.484 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.435e-05/0.006944, allocations: 35.75 kB / 446.6 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.007285, allocations: 263 kB / 446.8 MB, free: 1.191 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.007289, allocations: 4 kB / 446.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.00729, allocations: 0 / 446.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.007299, allocations: 0 / 446.8 MB, free: 1.188 MB / 366.1 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.0008524/0.008152, allocations: 0.5776 MB / 447.4 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.008189, allocations: 8.031 kB / 447.4 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.445e-05/0.008253, allocations: 44.66 kB / 447.5 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.008544, allocations: 250 kB / 447.7 MB, free: 264 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.008555, allocations: 4.375 kB / 447.7 MB, free: 260 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.00858, allocations: 4.375 kB / 447.7 MB, free: 256 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.008741, allocations: 62.23 kB / 447.8 MB, free: 188 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.008753, allocations: 4.188 kB / 447.8 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.008763, allocations: 4.125 kB / 447.8 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.008768, allocations: 0 / 447.8 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.008882, allocations: 39.91 kB / 447.8 MB, free: 140 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2113/0.2202, allocations: 335.7 kB / 448.2 MB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.2205, allocations: 47.52 kB / 448.2 MB, free: 19.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.039e-05/0.2206, allocations: 18.34 kB / 448.2 MB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.757e-05/0.2206, allocations: 1.969 kB / 448.2 MB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.2206, allocations: 34.12 kB / 448.3 MB, free: 19.22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 4.358e-06/0.2206, allocations: 2.531 kB / 448.3 MB, free: 19.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001186/0.2218, allocations: 332.3 kB / 448.6 MB, free: 19.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.2219, allocations: 53.86 kB / 448.6 MB, free: 19.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.2229, allocations: 0.8623 MB / 449.5 MB, free: 18.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.2229, allocations: 30.38 kB / 449.5 MB, free: 18.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.2231, allocations: 219.8 kB / 449.8 MB, free: 18.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.2231, allocations: 23.58 kB / 449.8 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/0.2232, allocations: 32.67 kB / 449.8 MB, free: 18.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2233, allocations: 358.8 kB / 450.2 MB, free: 18.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.2234, allocations: 30.38 kB / 450.2 MB, free: 18.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.2235, allocations: 34.16 kB / 450.2 MB, free: 18.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.2237, allocations: 74.06 kB / 450.3 MB, free: 18.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2237, allocations: 1.375 kB / 450.3 MB, free: 18.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000283/0.224, allocations: 154.8 kB / 450.4 MB, free: 18.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.224, allocations: 4.406 kB / 450.4 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.224, allocations: 6.344 kB / 450.5 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.224, allocations: 0 / 450.5 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.2242, allocations: 22.28 kB / 450.5 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2242, allocations: 1.25 kB / 450.5 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.559e-05/0.2242, allocations: 5.75 kB / 450.5 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.2242, allocations: 2.047 kB / 450.5 MB, free: 18.11 MB / 366.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 (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 0.0002077/0.2245, allocations: 215.5 kB / 450.7 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-05/0.2245, allocations: 49.31 kB / 450.7 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003964/0.2249, allocations: 178.5 kB / 450.9 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2249, allocations: 3.969 kB / 450.9 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2249, allocations: 0.9844 kB / 450.9 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2249, allocations: 1.219 kB / 450.9 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006974/0.2256, allocations: 474.1 kB / 451.4 MB, free: 17.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2256, allocations: 1.375 kB / 451.4 MB, free: 17.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.571e-05/0.2257, allocations: 19.7 kB / 451.4 MB, free: 17.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2257, allocations: 1.375 kB / 451.4 MB, free: 17.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.2257, allocations: 5.375 kB / 451.4 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2257, allocations: 0.9844 kB / 451.4 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2257, allocations: 1.375 kB / 451.4 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.226, allocations: 245.4 kB / 451.7 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.2261, allocations: 44.62 kB / 451.7 MB, free: 17.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.2261, allocations: 0 / 451.7 MB, free: 17.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.279e-05/0.2262, allocations: 7.266 kB / 451.7 MB, free: 17.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/0.2263, allocations: 9.547 kB / 451.7 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.2263, allocations: 2.75 kB / 451.7 MB, free: 17.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007892/0.2271, allocations: 0.654 MB / 452.4 MB, free: 17.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2271, allocations: 0 / 452.4 MB, free: 17.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.2274, allocations: 30.91 kB / 452.4 MB, free: 17.09 MB / 366.1 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.002/0.2294, allocations: 497.3 kB / 452.9 MB, free: 16.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002974/0.2297, allocations: 79.48 kB / 453 MB, free: 16.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2297, allocations: 0 / 453 MB, free: 16.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.2298, allocations: 37.52 kB / 453 MB, free: 16.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.2302, allocations: 29.16 kB / 453 MB, free: 16.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.2315, allocations: 0.8427 MB / 453.9 MB, free: 16.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.2318, allocations: 225.2 kB / 454.1 MB, free: 16.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.798e-05/0.2319, allocations: 22.88 kB / 454.1 MB, free: 16.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.2319, allocations: 16.06 kB / 454.1 MB, free: 16.4 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2319, allocations: 4 kB / 454.1 MB, free: 16.4 MB / 366.1 MB Notification: Performance of Templates: time 0.00667/0.2386, allocations: 1.607 MB / 455.7 MB, free: 16.16 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.109664332121611]