Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001054/0.001054, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001502/0.002556, allocations: 449.8 kB / 10.44 MB, free: 252 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.000985/0.000985, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00129/0.002275, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.932/0.932, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1027/1.035, allocations: 53.65 MB / 243.4 MB, free: 15.52 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.2708/0.2708, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02394/0.2947, allocations: 13.1 MB / 291.5 MB, free: 7.328 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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 292.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.663e-05, allocations: 2.312 kB / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.001995/0.002012, allocations: 1.684 MB / 294.5 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.003218, allocations: 1.313 MB / 295.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.858e-05/0.003266, allocations: 0 / 295.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.003384, allocations: 27.78 kB / 295.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.003572, allocations: 87.44 kB / 296 MB, free: 3.059 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.00376, allocations: 95.62 kB / 296.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000123/0.003883, allocations: 71.78 kB / 296.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.357e-05/0.003957, allocations: 19.98 kB / 296.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.537e-05/0.004042, allocations: 51.83 kB / 296.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.437e-05/0.004137, allocations: 23.91 kB / 296.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.00415, allocations: 4 kB / 296.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.004299, allocations: 103.8 kB / 296.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.004336, allocations: 11.94 kB / 296.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.004359, allocations: 8 kB / 296.4 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.004534, allocations: 119.5 kB / 296.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.759e-06/0.004544, allocations: 4 kB / 296.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004545, allocations: 0 / 296.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.004553, allocations: 0 / 296.5 MB, free: 2.555 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.0004129/0.004966, allocations: 317.2 kB / 296.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.004998, allocations: 8.031 kB / 296.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.005028, allocations: 4.938 kB / 296.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.005175, allocations: 137.6 kB / 296.9 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.005184, allocations: 4.375 kB / 296.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.005204, allocations: 384 / 296.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.005323, allocations: 102.2 kB / 297 MB, free: 1.926 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.00533, allocations: 8.188 kB / 297 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.005339, allocations: 4.125 kB / 297 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.005344, allocations: 0 / 297 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.858e-05/0.005362, allocations: 4 kB / 297 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.005552, allocations: 163.1 kB / 297.2 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.005663, allocations: 38.56 kB / 297.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.431e-05/0.005677, allocations: 8.859 kB / 297.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.005691, allocations: 0 / 297.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.005708, allocations: 30.56 kB / 297.3 MB, free: 1.637 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.005709, allocations: 0 / 297.3 MB, free: 1.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002335/0.005943, allocations: 85.62 kB / 297.4 MB, free: 1.547 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.005964, allocations: 51.41 kB / 297.4 MB, free: 1.484 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.526e-05/0.00605, allocations: 144.3 kB / 297.6 MB, free: 1.328 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.006059, allocations: 25.7 kB / 297.6 MB, free: 1.297 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.822e-05/0.006087, allocations: 96.06 kB / 297.7 MB, free: 1.199 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.006104, allocations: 15.84 kB / 297.7 MB, free: 1.184 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.00613, allocations: 21.7 kB / 297.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.944e-05/0.006199, allocations: 322.8 kB / 298 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-06/0.006208, allocations: 4.062 kB / 298 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.634e-05/0.006234, allocations: 43.42 kB / 298.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.431e-05/0.006258, allocations: 24.81 kB / 298.1 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.00626, allocations: 4 kB / 298.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.765e-05/0.006307, allocations: 53.61 kB / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.006318, allocations: 6.031 kB / 298.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.006323, allocations: 4 kB / 298.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.006332, allocations: 0 / 298.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.844e-05/0.00637, allocations: 8 kB / 298.2 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.006373, allocations: 0 / 298.2 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.819e-05/0.006392, allocations: 7.984 kB / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.006395, allocations: 0 / 298.2 MB, free: 0.6602 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 (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 5.309e-05/0.006448, allocations: 120.7 kB / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.006464, allocations: 7.938 kB / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.679e-05/0.006541, allocations: 58.08 kB / 298.4 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.006542, allocations: 0 / 298.4 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.006543, allocations: 3.938 kB / 298.4 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.006547, allocations: 0 / 298.4 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.006738, allocations: 218.8 kB / 298.6 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.00674, allocations: 4.25 kB / 298.6 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.00677, allocations: 15.98 kB / 298.6 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-06/0.006779, allocations: 7.953 kB / 298.6 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.006781, allocations: 4 kB / 298.6 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-06/0.006785, allocations: 0 / 298.6 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.006786, allocations: 0 / 298.6 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.006788, allocations: 3.984 kB / 298.6 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.381e-05/0.006862, allocations: 143.8 kB / 298.8 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.006875, allocations: 8 kB / 298.8 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.94e-05/0.006905, allocations: 0 / 298.8 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.006929, allocations: 7.984 kB / 298.8 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.006934, allocations: 3.984 kB / 298.8 MB, free: 4 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.778e-05/0.006982, allocations: 35.59 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006982, allocations: 0 / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001645/0.007146, allocations: 47.86 kB / 298.9 MB, free: 15.92 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.001365/0.008511, allocations: 0.6897 MB / 299.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.406e-05/0.008585, allocations: 28.84 kB / 299.6 MB, free: 15.56 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.008589, allocations: 0 / 299.6 MB, free: 15.56 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.088e-05/0.00861, allocations: 12.86 kB / 299.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.008784, allocations: 91.27 kB / 299.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.009131, allocations: 166.6 kB / 299.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.98e-05/0.00916, allocations: 59.34 kB / 299.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.622e-05/0.009197, allocations: 23.77 kB / 299.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.009252, allocations: 63.36 kB / 300 MB, free: 15.09 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009252, allocations: 0 / 300 MB, free: 15.09 MB / 298.7 MB Notification: Performance of Templates: time 0.003032/0.01228, allocations: 2.013 MB / 302 MB, free: 13.1 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.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.918282551690936]