Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.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.0009147/0.0009147, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001334/0.002249, allocations: 452 kB / 10.43 MB, free: 264 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.0008653/0.0008653, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001197/0.002063, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8975/0.8975, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1501/1.048, allocations: 49.49 MB / 220.7 MB, free: 1.371 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1388/0.1388, allocations: 32.36 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02683/0.1657, allocations: 12.32 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.089e-05, allocations: 6.25 kB / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002255/0.002276, allocations: 1.642 MB / 269 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005592/0.002835, allocations: 347.2 kB / 269.4 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.589e-05/0.002901, allocations: 3.938 kB / 269.4 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004772/0.003378, allocations: 0.4912 MB / 269.9 MB, free: 52 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002878/0.003666, allocations: 267.3 kB / 270.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.004018, allocations: 159.5 kB / 270.3 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.004258, allocations: 159.6 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.528e-05/0.004354, allocations: 15.98 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.004509, allocations: 155.6 kB / 270.6 MB, free: 15.31 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.004672, allocations: 183.7 kB / 270.8 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.004691, allocations: 4 kB / 270.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.673e-05/0.004768, allocations: 19.98 kB / 270.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.975e-05/0.004858, allocations: 79.72 kB / 270.9 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.004893, allocations: 35.75 kB / 270.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.005098, allocations: 179.1 kB / 271.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.416e-05/0.005112, allocations: 4 kB / 271.1 MB, free: 14.81 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.005114, allocations: 0 / 271.1 MB, free: 14.81 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.005125, allocations: 0 / 271.1 MB, free: 14.81 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005646/0.005689, allocations: 0.576 MB / 271.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.005728, allocations: 8.031 kB / 271.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.401e-05/0.005792, allocations: 28.91 kB / 271.7 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006122/0.006404, allocations: 242 kB / 272 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.006416, allocations: 384 / 272 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.006431, allocations: 4.359 kB / 272 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.006548, allocations: 58.89 kB / 272 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.006558, allocations: 192 / 272 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.006566, allocations: 4.125 kB / 272 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.006573, allocations: 0 / 272 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.691e-05/0.00659, allocations: 8 kB / 272 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.006951, allocations: 203.1 kB / 272.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.411e-05/0.007005, allocations: 22.52 kB / 272.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.007023, allocations: 4.859 kB / 272.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.007045, allocations: 8.125 kB / 272.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.007066, allocations: 38.44 kB / 272.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.007067, allocations: 0 / 272.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.000121/0.007188, allocations: 53.67 kB / 272.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.007216, allocations: 55.39 kB / 272.4 MB, free: 13.4 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/0.007523, allocations: 0.5245 MB / 272.9 MB, free: 12.86 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.007535, allocations: 25.7 kB / 273 MB, free: 12.83 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/0.007592, allocations: 137.3 kB / 273.1 MB, free: 12.69 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.007609, allocations: 3.953 kB / 273.1 MB, free: 12.69 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.007634, allocations: 25.62 kB / 273.1 MB, free: 12.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.6e-05/0.00773, allocations: 350.7 kB / 273.5 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.007741, allocations: 0 / 273.5 MB, free: 12.3 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-06/0.007747, allocations: 4 kB / 273.5 MB, free: 12.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.23e-05/0.00777, allocations: 11.69 kB / 273.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.007772, allocations: 0 / 273.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.696e-05/0.007829, allocations: 57.73 kB / 273.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.007844, allocations: 11.92 kB / 273.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.007848, allocations: 0 / 273.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.007859, allocations: 0 / 273.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.465e-05/0.007914, allocations: 7.938 kB / 273.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.007917, allocations: 4 kB / 273.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.007938, allocations: 3.938 kB / 273.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.007943, allocations: 4 kB / 273.6 MB, free: 12.19 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 (2): * Single equations (assignments): 2 * 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.372e-05/0.008007, allocations: 108.7 kB / 273.7 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.00803, allocations: 27.94 kB / 273.7 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.823e-05/0.008118, allocations: 68.75 kB / 273.8 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.008122, allocations: 7.984 kB / 273.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.008124, allocations: 0 / 273.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.008126, allocations: 0 / 273.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.008246, allocations: 133.8 kB / 273.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.008248, allocations: 0 / 273.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.553e-05/0.008273, allocations: 7.984 kB / 273.9 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/0.008296, allocations: 35.72 kB / 273.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.008298, allocations: 0 / 273.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.008303, allocations: 3.938 kB / 274 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.008305, allocations: 4.031 kB / 274 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.008306, allocations: 3.938 kB / 274 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.879e-05/0.008385, allocations: 147.5 kB / 274.1 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.008397, allocations: 4 kB / 274.1 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.479e-05/0.008432, allocations: 7.922 kB / 274.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.008451, allocations: 0 / 274.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.008454, allocations: 0 / 274.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00017/0.008624, allocations: 279.2 kB / 274.4 MB, free: 11.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008624, allocations: 0 / 274.4 MB, free: 11.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001429/0.008766, allocations: 16 kB / 274.4 MB, free: 11.3 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 (2): * Single equations (assignments): 2 * 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.001133/0.009899, allocations: 480.5 kB / 274.9 MB, free: 10.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.451e-05/0.009964, allocations: 12.8 kB / 274.9 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/0.009974, allocations: 8.094 kB / 274.9 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.814e-05/0.009992, allocations: 12.86 kB / 274.9 MB, free: 10.78 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.01023, allocations: 93.34 kB / 275 MB, free: 10.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007211/0.01095, allocations: 0.5543 MB / 275.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.75e-05/0.01102, allocations: 119.2 kB / 275.7 MB, free: 9.957 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.686e-05/0.01104, allocations: 4.25 kB / 275.7 MB, free: 9.953 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.01109, allocations: 51.38 kB / 275.7 MB, free: 9.902 MB / 282.7 MB Notification: Performance of SimCode: time 9.51e-07/0.01109, allocations: 0 / 275.7 MB, free: 9.902 MB / 282.7 MB Notification: Performance of Templates: time 0.003508/0.0146, allocations: 1.253 MB / 277 MB, free: 8.652 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.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.696435496211052]