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.001021/0.001021, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001158/0.001158, allocations: 169.9 kB / 24.91 MB, free: 9.195 MB / 18.57 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.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.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.2985/0.2985, allocations: 34.26 MB / 296.1 MB, free: 0.707 MB / 266.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.824e-06/1.824e-06, allocations: 0 / 325.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.626e-05, allocations: 3.781 kB / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.005735/0.005762, allocations: 1.687 MB / 327 MB, free: 5.945 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.007172, allocations: 1.278 MB / 328.3 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/0.007227, allocations: 4 kB / 328.3 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003236/0.01046, allocations: 27.72 kB / 328.3 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.01078, allocations: 91.22 kB / 328.4 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.01105, allocations: 87.7 kB / 328.5 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.01118, allocations: 68.39 kB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.36e-05/0.01127, allocations: 15.98 kB / 328.6 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.013e-05/0.01134, allocations: 31.91 kB / 328.6 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.969e-05/0.01144, allocations: 23.91 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.01145, allocations: 4 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.01163, allocations: 95.88 kB / 328.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.214e-05/0.01167, allocations: 15.92 kB / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.0117, allocations: 15.92 kB / 328.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.0119, allocations: 135.5 kB / 328.9 MB, free: 4.059 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.0119, allocations: 4 kB / 328.9 MB, free: 4.055 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01191, allocations: 0 / 328.9 MB, free: 4.055 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.01191, allocations: 0 / 328.9 MB, free: 4.055 MB / 298.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.0003277/0.01224, allocations: 297.7 kB / 329.2 MB, free: 3.742 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.01227, allocations: 12.03 kB / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.0123, allocations: 0.9375 kB / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.01244, allocations: 137.6 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.01245, allocations: 4.375 kB / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.01247, allocations: 384 / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.01259, allocations: 94.36 kB / 329.4 MB, free: 3.453 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.0126, allocations: 8.188 kB / 329.4 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.0126, allocations: 4.125 kB / 329.4 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.01261, allocations: 0 / 329.4 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.169e-05/0.01263, allocations: 7.984 kB / 329.4 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.01283, allocations: 167.1 kB / 329.6 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.01294, allocations: 34.56 kB / 329.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.367e-05/0.01296, allocations: 8.859 kB / 329.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.01297, allocations: 0 / 329.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.01299, allocations: 30.56 kB / 329.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.01299, allocations: 0 / 329.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.003287/0.01628, allocations: 90.06 kB / 329.8 MB, free: 3.066 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.01632, allocations: 77.11 kB / 329.8 MB, free: 2.973 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.01643, allocations: 146.7 kB / 330 MB, free: 2.816 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.01644, allocations: 25.7 kB / 330 MB, free: 2.785 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.01647, allocations: 100 kB / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.0165, allocations: 19.84 kB / 330.1 MB, free: 2.664 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.01653, allocations: 21.64 kB / 330.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.372e-05/0.01662, allocations: 318.8 kB / 330.5 MB, free: 2.316 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.219e-05/0.01663, allocations: 4 kB / 330.5 MB, free: 2.312 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-05/0.01667, allocations: 51.39 kB / 330.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.0167, allocations: 24.88 kB / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.0167, allocations: 0 / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.974e-05/0.01677, allocations: 49.62 kB / 330.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.01678, allocations: 4 kB / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.01679, allocations: 0 / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.0168, allocations: 4 kB / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.166e-05/0.01685, allocations: 15.92 kB / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.01685, allocations: 0 / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.01688, allocations: 4 kB / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.01689, allocations: 0 / 330.6 MB, free: 2.141 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.226e-05/0.01695, allocations: 116.7 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.01697, allocations: 11.92 kB / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.661e-05/0.01707, allocations: 54.16 kB / 330.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01707, allocations: 0 / 330.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.01707, allocations: 0 / 330.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01708, allocations: 3.984 kB / 330.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.0173, allocations: 215 kB / 331 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.0173, allocations: 4 kB / 331 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.01734, allocations: 16 kB / 331 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.01734, allocations: 0 / 331 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-06/0.01735, allocations: 4 kB / 331 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01735, allocations: 0 / 331 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01735, allocations: 0 / 331 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.078e-05/0.01743, allocations: 147.5 kB / 331.2 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.01744, allocations: 15.89 kB / 331.2 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.01746, allocations: 0 / 331.2 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.134e-05/0.01751, allocations: 7.984 kB / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/0.01753, allocations: 0 / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.01753, allocations: 0 / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.085e-05/0.01757, allocations: 42.41 kB / 331.2 MB, free: 1.457 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01757, allocations: 0 / 331.2 MB, free: 1.457 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002292/0.0178, allocations: 43.86 kB / 331.3 MB, free: 1.414 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.001528/0.01933, allocations: 0.6223 MB / 331.9 MB, free: 1.105 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.046e-05/0.01942, allocations: 32.77 kB / 331.9 MB, free: 1.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.01942, allocations: 0 / 331.9 MB, free: 1.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.866e-05/0.01944, allocations: 12.86 kB / 331.9 MB, free: 1.055 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.01964, allocations: 23.92 kB / 332 MB, free: 1.031 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.01992, allocations: 154.5 kB / 332.1 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.89e-05/0.01996, allocations: 61.78 kB / 332.2 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.252e-05/0.02002, allocations: 19.97 kB / 332.2 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.756e-05/0.02009, allocations: 67.36 kB / 332.3 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02009, allocations: 0 / 332.3 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of Templates: time 0.003534/0.02363, allocations: 1.985 MB / 334.2 MB, free: 14.71 MB / 314.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0089699048548937]