Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.0008788/0.0008788, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001112/0.001991, 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.0007144/0.0007144, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009377/0.001652, 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 1.019/1.019, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0991/1.118, allocations: 53.64 MB / 243.3 MB, free: 15.59 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.2753/0.2753, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02682/0.3022, 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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 292.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.132e-05/3.302e-05, allocations: 4.625 kB / 292.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.0035/0.003533, allocations: 1.746 MB / 294.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.004671, allocations: 0.5763 MB / 295 MB, free: 3.953 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.638e-05/0.004758, allocations: 3.938 kB / 295 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005356/0.005293, allocations: 0.4911 MB / 295.5 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.005704, allocations: 311.2 kB / 295.8 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.006158, allocations: 176.9 kB / 295.9 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.006486, allocations: 175.6 kB / 296.1 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.006614, allocations: 19.92 kB / 296.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.006821, allocations: 151.8 kB / 296.3 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.007044, allocations: 195.6 kB / 296.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.007065, allocations: 4 kB / 296.5 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.007179, allocations: 28 kB / 296.5 MB, free: 2.418 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.516e-05/0.007274, allocations: 79.72 kB / 296.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.00732, allocations: 35.75 kB / 296.6 MB, free: 2.305 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.007581, allocations: 207 kB / 296.8 MB, free: 2.102 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.278e-05/0.007604, allocations: 4 kB / 296.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.007606, allocations: 0 / 296.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.218e-05/0.007628, allocations: 0 / 296.8 MB, free: 2.098 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.0006961/0.008324, allocations: 0.5927 MB / 297.4 MB, free: 1.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.008368, allocations: 8.031 kB / 297.4 MB, free: 1.473 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.591e-05/0.008424, allocations: 28.91 kB / 297.4 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.008664, allocations: 242.1 kB / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.008675, allocations: 4.312 kB / 297.7 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.008701, allocations: 8.375 kB / 297.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.008843, allocations: 50.95 kB / 297.7 MB, free: 1.109 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.008857, allocations: 4.188 kB / 297.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.008869, allocations: 8.125 kB / 297.7 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.008875, allocations: 0 / 297.7 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.221e-05/0.008908, allocations: 11.98 kB / 297.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.00929, allocations: 203 kB / 298 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.009492, allocations: 33.39 kB / 298 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.99e-05/0.009512, allocations: 12.8 kB / 298 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.009539, allocations: 4 kB / 298 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.00957, allocations: 34.5 kB / 298 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.854e-06/0.009572, allocations: 4 kB / 298 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000454/0.01003, allocations: 97.62 kB / 298.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.01008, allocations: 55.41 kB / 298.2 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.01044, allocations: 0.5283 MB / 298.7 MB, free: 52 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.01046, allocations: 25.7 kB / 298.7 MB, free: 20 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.94e-05/0.01055, allocations: 153.2 kB / 298.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.01058, allocations: 7.906 kB / 298.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.01061, allocations: 21.7 kB / 298.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.01073, allocations: 358.7 kB / 299.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.01075, allocations: 4 kB / 299.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.493e-05/0.01076, allocations: 11.94 kB / 299.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.618e-05/0.01081, allocations: 23.66 kB / 299.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01081, allocations: 0 / 299.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.235e-05/0.0109, allocations: 61.61 kB / 299.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.01092, allocations: 11.98 kB / 299.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.01093, allocations: 3.984 kB / 299.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.01094, allocations: 0 / 299.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.375e-05/0.01101, allocations: 8 kB / 299.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.01101, allocations: 4 kB / 299.4 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.591e-05/0.01104, allocations: 12.2 kB / 299.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.01104, allocations: 0 / 299.4 MB, free: 15.32 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 7.818e-05/0.01112, allocations: 116.7 kB / 299.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.01115, allocations: 27.91 kB / 299.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.01129, allocations: 89.22 kB / 299.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.01129, allocations: 0 / 299.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.01129, allocations: 0 / 299.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01129, allocations: 0 / 299.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.01155, allocations: 278.9 kB / 299.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01155, allocations: 0 / 299.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.01159, allocations: 8 kB / 299.9 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.45e-05/0.01162, allocations: 39.72 kB / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.01162, allocations: 3.984 kB / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.01163, allocations: 0 / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01163, allocations: 3.938 kB / 300 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01163, allocations: 0 / 300 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.01174, allocations: 167.4 kB / 300.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.01175, allocations: 0 / 300.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.572e-05/0.01179, allocations: 4 kB / 300.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.01182, allocations: 0 / 300.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.01182, allocations: 7.984 kB / 300.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000199/0.01202, allocations: 283.2 kB / 300.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01202, allocations: 4 kB / 300.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001676/0.01219, allocations: 27.94 kB / 300.5 MB, free: 14.22 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.001443/0.01363, allocations: 0.5432 MB / 301 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.01374, allocations: 28.83 kB / 301 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.494e-05/0.01376, allocations: 8 kB / 301 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.822e-05/0.01377, allocations: 12.8 kB / 301 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.01403, allocations: 48.28 kB / 301.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.01506, allocations: 0.5854 MB / 301.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.96e-05/0.01515, allocations: 119.2 kB / 301.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.08e-05/0.0152, allocations: 11.98 kB / 301.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.01527, allocations: 59.36 kB / 301.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of SimCode: time 1.583e-06/0.01527, allocations: 0 / 301.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of Templates: time 0.004263/0.01953, allocations: 1.492 MB / 303.4 MB, free: 11.59 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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: 3.040241395123303]