Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001102/0.001102, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001569/0.002671, 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.001072/0.001072, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001181/0.002252, 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.9977/0.9977, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09193/1.09, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.2695/0.2695, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02748/0.297, allocations: 13.1 MB / 291.3 MB, free: 7.363 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.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 292.7 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.911e-05, allocations: 3.078 kB / 292.7 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002913/0.002932, allocations: 1.692 MB / 294.3 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.003947, allocations: 0.553 MB / 294.9 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.368e-05/0.004011, allocations: 0 / 294.9 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.004262, allocations: 115.6 kB / 295 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.004529, allocations: 119.4 kB / 295.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.004854, allocations: 119.6 kB / 295.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.005027, allocations: 79.83 kB / 295.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.005122, allocations: 19.95 kB / 295.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.005249, allocations: 71.88 kB / 295.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.00537, allocations: 59.88 kB / 295.5 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.005386, allocations: 7.938 kB / 295.5 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.005498, allocations: 47.92 kB / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.731e-05/0.005555, allocations: 27.86 kB / 295.6 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.005589, allocations: 11.94 kB / 295.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.005795, allocations: 91.61 kB / 295.7 MB, free: 3.238 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.771e-05/0.005813, allocations: 0 / 295.7 MB, free: 3.238 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005814, allocations: 0 / 295.7 MB, free: 3.238 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.00583, allocations: 0 / 295.7 MB, free: 3.238 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.0004931/0.006323, allocations: 348.9 kB / 296 MB, free: 2.875 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.006361, allocations: 16.02 kB / 296 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.0064, allocations: 8.938 kB / 296 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.006588, allocations: 150.3 kB / 296.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.006598, allocations: 4.375 kB / 296.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.006623, allocations: 384 / 296.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.006742, allocations: 62.94 kB / 296.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.006752, allocations: 192 / 296.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.006761, allocations: 4.125 kB / 296.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.006766, allocations: 0 / 296.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.746e-05/0.006804, allocations: 15.92 kB / 296.3 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002881/0.007092, allocations: 186.9 kB / 296.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.298e-05/0.007165, allocations: 37.39 kB / 296.5 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/0.007184, allocations: 4.859 kB / 296.5 MB, free: 2.328 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.007206, allocations: 4 kB / 296.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.007235, allocations: 42.58 kB / 296.5 MB, free: 2.273 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.007237, allocations: 0 / 296.5 MB, free: 2.273 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005805/0.007817, allocations: 149.5 kB / 296.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.00785, allocations: 51.41 kB / 296.7 MB, free: 2.059 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.00802, allocations: 197.6 kB / 296.9 MB, free: 1.852 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.008036, allocations: 29.7 kB / 296.9 MB, free: 1.816 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.008085, allocations: 104 kB / 297 MB, free: 1.711 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.008115, allocations: 23.8 kB / 297.1 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.008155, allocations: 21.7 kB / 297.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.925e-05/0.008254, allocations: 326.8 kB / 297.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/0.008277, allocations: 4 kB / 297.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.796e-05/0.008295, allocations: 8 kB / 297.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.252e-05/0.008347, allocations: 31.64 kB / 297.4 MB, free: 1.285 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.008348, allocations: 0 / 297.4 MB, free: 1.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.921e-05/0.008448, allocations: 65.56 kB / 297.5 MB, free: 1.215 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.008462, allocations: 4 kB / 297.5 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.008467, allocations: 4 kB / 297.5 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.008478, allocations: 7.984 kB / 297.5 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.808e-05/0.008576, allocations: 12 kB / 297.5 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.085e-06/0.008579, allocations: 0 / 297.5 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.303e-05/0.008612, allocations: 7.984 kB / 297.5 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.008618, allocations: 0 / 297.5 MB, free: 1.18 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 (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 7.106e-05/0.008689, allocations: 120.6 kB / 297.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.008723, allocations: 15.86 kB / 297.7 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.008871, allocations: 75.44 kB / 297.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.008873, allocations: 0 / 297.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.008875, allocations: 4 kB / 297.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.008879, allocations: 3.938 kB / 297.8 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.009203, allocations: 259.5 kB / 298 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.009205, allocations: 0 / 298 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.235e-05/0.009278, allocations: 23.98 kB / 298 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.009292, allocations: 7.953 kB / 298 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.009295, allocations: 0 / 298 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.009302, allocations: 0 / 298 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.009306, allocations: 3.938 kB / 298.1 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.00931, allocations: 4 kB / 298.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.009441, allocations: 164.3 kB / 298.2 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.009458, allocations: 4 kB / 298.2 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.861e-05/0.009526, allocations: 7.984 kB / 298.2 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.009551, allocations: 0 / 298.2 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.009558, allocations: 8.422 kB / 298.2 MB, free: 440 kB / 282.7 MB Notification: Performance of sorting global known variables: time 7.425e-05/0.009632, allocations: 65.41 kB / 298.3 MB, free: 372 kB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009632, allocations: 0 / 298.3 MB, free: 372 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002303/0.009862, allocations: 23.95 kB / 298.3 MB, free: 348 kB / 282.7 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.0019/0.01176, allocations: 0.6385 MB / 299 MB, free: 60 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.01188, allocations: 36.77 kB / 299 MB, free: 20 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.01189, allocations: 0 / 299 MB, free: 20 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.512e-05/0.01194, allocations: 24.84 kB / 299 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.0122, allocations: 34.42 kB / 299.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005625/0.01276, allocations: 246.9 kB / 299.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.382e-05/0.01281, allocations: 71.33 kB / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.199e-05/0.01286, allocations: 12.72 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.479e-05/0.01294, allocations: 63.36 kB / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01294, allocations: 0 / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of Templates: time 0.003839/0.01678, allocations: 1.551 MB / 301 MB, free: 13.99 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.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.7728936532512307]