Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.00077/0.00077, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001026/0.001796, 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.001141/0.001141, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001048/0.00219, 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.9809/0.9809, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1222/1.103, 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.2992/0.2992, allocations: 34.24 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02553/0.3247, allocations: 13.1 MB / 291.3 MB, free: 7.371 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.019e-05, allocations: 2.312 kB / 292.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002098/0.002118, allocations: 1.74 MB / 294.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007296/0.002848, allocations: 0.5568 MB / 294.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.002899, allocations: 0 / 294.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004615/0.003361, allocations: 495 kB / 295.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.00371, allocations: 311.1 kB / 295.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.004005, allocations: 131.6 kB / 295.9 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.00421, allocations: 167.6 kB / 296 MB, free: 2.891 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.464e-05/0.004285, allocations: 15.94 kB / 296 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.004442, allocations: 155.8 kB / 296.2 MB, free: 2.723 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.004601, allocations: 191.7 kB / 296.4 MB, free: 2.535 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.004615, allocations: 4 kB / 296.4 MB, free: 2.531 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.798e-05/0.004693, allocations: 35.92 kB / 296.4 MB, free: 2.496 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.415e-05/0.004767, allocations: 79.72 kB / 296.5 MB, free: 2.418 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.004804, allocations: 35.75 kB / 296.5 MB, free: 2.383 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.004993, allocations: 187.2 kB / 296.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.569e-05/0.005008, allocations: 4 kB / 296.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005009, allocations: 0 / 296.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.005024, allocations: 8 kB / 296.7 MB, free: 2.188 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.0006261/0.00565, allocations: 0.6004 MB / 297.3 MB, free: 1.562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.005678, allocations: 8.031 kB / 297.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.451e-05/0.005733, allocations: 24.91 kB / 297.4 MB, free: 1.531 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.005952, allocations: 238.1 kB / 297.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.005964, allocations: 4.375 kB / 297.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.005984, allocations: 8.359 kB / 297.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.006095, allocations: 58.94 kB / 297.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.006106, allocations: 192 / 297.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.006115, allocations: 4.125 kB / 297.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.006122, allocations: 4 kB / 297.7 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.453e-05/0.006146, allocations: 11.94 kB / 297.7 MB, free: 1.172 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.006432, allocations: 164.2 kB / 297.8 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.006583, allocations: 30.56 kB / 297.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.006598, allocations: 8.797 kB / 297.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.006614, allocations: 4 kB / 297.9 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.006634, allocations: 38.5 kB / 297.9 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.006635, allocations: 0 / 297.9 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002658/0.006901, allocations: 97.62 kB / 298 MB, free: 0.793 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.006927, allocations: 55.41 kB / 298.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.007217, allocations: 0.5322 MB / 298.6 MB, free: 184 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.007227, allocations: 29.7 kB / 298.6 MB, free: 148 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.007278, allocations: 137.3 kB / 298.8 MB, free: 4 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.007318, allocations: 20.03 kB / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.007346, allocations: 17.72 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.958e-05/0.007425, allocations: 358.7 kB / 299.1 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.007436, allocations: 3.984 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.866e-06/0.007444, allocations: 4 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.007472, allocations: 20.84 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.007473, allocations: 0 / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.138e-05/0.007534, allocations: 65.36 kB / 299.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.007545, allocations: 8 kB / 299.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.00755, allocations: 0 / 299.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.007558, allocations: 3.938 kB / 299.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.049e-05/0.007609, allocations: 19.98 kB / 299.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-06/0.007611, allocations: 0 / 299.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.299e-05/0.007634, allocations: 4 kB / 299.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.007638, allocations: 0 / 299.3 MB, free: 15.46 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 (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.135e-05/0.007699, allocations: 112.7 kB / 299.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.007723, allocations: 23.92 kB / 299.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.007831, allocations: 101.1 kB / 299.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.007832, allocations: 0 / 299.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.007834, allocations: 0 / 299.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.007838, allocations: 4 kB / 299.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.008032, allocations: 270.9 kB / 299.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.008034, allocations: 0 / 299.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-05/0.008069, allocations: 23.98 kB / 299.8 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.00809, allocations: 31.72 kB / 299.8 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.008091, allocations: 0 / 299.8 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-06/0.008095, allocations: 0 / 299.8 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.008096, allocations: 4 kB / 299.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008097, allocations: 4 kB / 299.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.481e-05/0.008172, allocations: 163.5 kB / 300 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.008185, allocations: 0 / 300 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.955e-05/0.008225, allocations: 3.984 kB / 300 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.008245, allocations: 4 kB / 300 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.008247, allocations: 288 / 300 MB, free: 14.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001631/0.00841, allocations: 279.2 kB / 300.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00841, allocations: 0 / 300.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001388/0.008549, allocations: 24 kB / 300.3 MB, free: 14.38 MB / 298.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.001192/0.009741, allocations: 0.5502 MB / 300.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.693e-05/0.009808, allocations: 24.84 kB / 300.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.009817, allocations: 8 kB / 300.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.707e-05/0.009834, allocations: 20.78 kB / 300.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.01003, allocations: 36.34 kB / 300.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006965/0.01072, allocations: 0.5826 MB / 301.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.418e-05/0.0108, allocations: 123.2 kB / 301.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.08e-05/0.01083, allocations: 8 kB / 301.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.01088, allocations: 59.36 kB / 301.7 MB, free: 13.22 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01088, allocations: 0 / 301.7 MB, free: 13.22 MB / 298.7 MB Notification: Performance of Templates: time 0.003657/0.01454, allocations: 1.482 MB / 303.2 MB, free: 11.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.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.9241878958418965]