Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.009285/0.009285, allocations: 106.3 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002633/0.002633, allocations: 216.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 230.5 MB / 258.9 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2258/0.2258, allocations: 46.93 MB / 362.3 MB, free: 4.285 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 79.86 kB / 0.4982 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2983, allocations: 66.1 MB / 0.5628 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003566/0.3019, allocations: 1.696 MB / 0.5644 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.3031, allocations: 0.5927 MB / 0.565 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.803e-05/0.3031, allocations: 4 kB / 0.565 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.3034, allocations: 51.73 kB / 0.5651 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.3037, allocations: 95.55 kB / 0.5651 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.3042, allocations: 186.9 kB / 0.5653 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.3044, allocations: 79.83 kB / 0.5654 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3045, allocations: 16.22 kB / 0.5654 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.018e-05/0.3045, allocations: 39.84 kB / 0.5655 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.3047, allocations: 55.75 kB / 0.5655 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.3047, allocations: 8 kB / 0.5655 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3048, allocations: 47.92 kB / 0.5656 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.031e-05/0.3049, allocations: 19.92 kB / 0.5656 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.998e-05/0.3049, allocations: 39.78 kB / 0.5656 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.3051, allocations: 113.9 kB / 0.5657 GB, free: 1.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3051, allocations: 0 / 0.5657 GB, free: 1.195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3051, allocations: 0 / 0.5657 GB, free: 1.195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3051, allocations: 0 / 0.5657 GB, free: 1.195 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005521/0.3057, allocations: 349.5 kB / 0.5661 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3057, allocations: 12.03 kB / 0.5661 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.3058, allocations: 8.891 kB / 0.5661 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.306, allocations: 134.4 kB / 0.5662 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.306, allocations: 4.359 kB / 0.5662 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.306, allocations: 8.375 kB / 0.5662 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.3062, allocations: 66.17 kB / 0.5663 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3062, allocations: 192 / 0.5663 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.3062, allocations: 7.922 kB / 0.5663 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3062, allocations: 4 kB / 0.5663 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.3064, allocations: 51.89 kB / 0.5663 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.3068, allocations: 283.8 kB / 0.5666 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.3071, allocations: 66.58 kB / 0.5667 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.787e-05/0.3071, allocations: 28.97 kB / 0.5667 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.3072, allocations: 7.922 kB / 0.5667 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.3072, allocations: 30.56 kB / 0.5667 GB, free: 28 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.3072, allocations: 0 / 0.5667 GB, free: 28 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001423/0.3086, allocations: 425.4 kB / 0.5671 GB, free: 15.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.3087, allocations: 59.41 kB / 0.5672 GB, free: 15.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.3089, allocations: 174.8 kB / 0.5674 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.3089, allocations: 25.7 kB / 0.5674 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.3089, allocations: 108 kB / 0.5675 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.309, allocations: 43.69 kB / 0.5675 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/0.309, allocations: 21.72 kB / 0.5676 GB, free: 15.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3092, allocations: 322.8 kB / 0.5679 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.3093, allocations: 59.95 kB / 0.5679 GB, free: 14.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.3094, allocations: 51.95 kB / 0.568 GB, free: 14.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.3097, allocations: 133.1 kB / 0.5681 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3097, allocations: 4 kB / 0.5681 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003743/0.3101, allocations: 165.5 kB / 0.5683 GB, free: 14.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3101, allocations: 7.984 kB / 0.5683 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3101, allocations: 0 / 0.5683 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3101, allocations: 0 / 0.5683 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.3102, allocations: 23.98 kB / 0.5683 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3103, allocations: 0 / 0.5683 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.3103, allocations: 15.92 kB / 0.5683 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3103, allocations: 4 kB / 0.5683 GB, free: 14.35 MB / 414.1 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 (11): * Single equations (assignments): 11 * 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 0.0001097/0.3104, allocations: 129.8 kB / 0.5684 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.3105, allocations: 15.91 kB / 0.5685 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004298/0.3109, allocations: 186.2 kB / 0.5686 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3109, allocations: 4 kB / 0.5686 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3109, allocations: 0 / 0.5686 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3109, allocations: 11.92 kB / 0.5686 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007403/0.3117, allocations: 475.1 kB / 0.5691 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3117, allocations: 0 / 0.5691 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.3118, allocations: 28.02 kB / 0.5691 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3118, allocations: 7.938 kB / 0.5691 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.3118, allocations: 4.062 kB / 0.5691 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3118, allocations: 0 / 0.5691 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3118, allocations: 4 kB / 0.5691 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/0.3122, allocations: 273 kB / 0.5694 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/0.3122, allocations: 15.84 kB / 0.5694 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.3122, allocations: 7.984 kB / 0.5694 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.073e-05/0.3123, allocations: 8 kB / 0.5694 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.3124, allocations: 3.984 kB / 0.5694 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.3124, allocations: 11.98 kB / 0.5694 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.3125, allocations: 135.3 kB / 0.5696 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3125, allocations: 0 / 0.5696 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002938/0.3128, allocations: 27.94 kB / 0.5696 GB, free: 12.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001711/0.3145, allocations: 464.2 kB / 0.57 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003626/0.3149, allocations: 127.8 kB / 0.5702 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3149, allocations: 0 / 0.5702 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.315, allocations: 67.89 kB / 0.5702 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.3154, allocations: 27.86 kB / 0.5703 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006611/0.3161, allocations: 325.9 kB / 0.5706 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.3164, allocations: 0.7119 MB / 0.5713 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.385e-05/0.3165, allocations: 19.44 kB / 0.5713 GB, free: 11.3 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3165, allocations: 0 / 0.5713 GB, free: 11.3 MB / 414.1 MB Notification: Performance of Templates: time 0.004321/0.3208, allocations: 2.048 MB / 0.5733 GB, free: 9.254 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.624065662967041]