Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.00157/0.00157, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001778/0.001778, allocations: 210.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] 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.2268/0.2268, allocations: 46.95 MB / 361.6 MB, free: 4.031 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+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.CombiTable2Dv.Test3,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_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 64.14 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2899, allocations: 66.04 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003207/0.2931, allocations: 1.676 MB / 0.5635 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.2942, allocations: 0.5738 MB / 0.564 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.2942, allocations: 0 / 0.564 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006025/0.2948, allocations: 459.1 kB / 0.5645 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004787/0.2953, allocations: 283.3 kB / 0.5647 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.2958, allocations: 190.6 kB / 0.5649 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.296, allocations: 183.6 kB / 0.5651 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.2961, allocations: 16.22 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.2963, allocations: 115.7 kB / 0.5652 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.2966, allocations: 255.5 kB / 0.5655 GB, free: 452 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.2966, allocations: 4 kB / 0.5655 GB, free: 448 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.2967, allocations: 55.92 kB / 0.5655 GB, free: 392 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.2968, allocations: 91.61 kB / 0.5656 GB, free: 300 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.136e-05/0.2969, allocations: 67.25 kB / 0.5657 GB, free: 232 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.2973, allocations: 292.9 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2973, allocations: 0 / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2973, allocations: 0 / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2973, allocations: 4 kB / 0.566 GB, free: 15.94 MB / 414.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.0008019/0.2981, allocations: 0.597 MB / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.2981, allocations: 8.031 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.834e-05/0.2982, allocations: 48.64 kB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.2985, allocations: 242.8 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.2985, allocations: 12.36 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.2985, allocations: 384 / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.2987, allocations: 69.73 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2987, allocations: 0 / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.2988, allocations: 12 kB / 0.5669 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2988, allocations: 0 / 0.5669 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.2989, allocations: 43.89 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005462/0.2995, allocations: 356.3 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.2997, allocations: 62.56 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.661e-05/0.2998, allocations: 28.95 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.2998, allocations: 7.938 kB / 0.5674 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.2998, allocations: 38.56 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.2998, allocations: 0 / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001639/0.3015, allocations: 0.5006 MB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.3015, allocations: 51.41 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009137/0.3024, allocations: 0.8613 MB / 0.5688 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.3025, allocations: 33.7 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.3026, allocations: 216.1 kB / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.3027, allocations: 35.69 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.3027, allocations: 25.72 kB / 0.5691 GB, free: 12.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.3029, allocations: 362.8 kB / 0.5694 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.3031, allocations: 55.95 kB / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.3032, allocations: 51.97 kB / 0.5696 GB, free: 12.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.3035, allocations: 128.7 kB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3035, allocations: 0 / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003813/0.3039, allocations: 205.2 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3039, allocations: 4 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3039, allocations: 0 / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3039, allocations: 0 / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.3041, allocations: 31.97 kB / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3041, allocations: 7.938 kB / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.696e-05/0.3041, allocations: 7.984 kB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.3042, allocations: 4 kB / 0.5699 GB, free: 11.7 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.0002182/0.3044, allocations: 217.8 kB / 0.5701 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.444e-05/0.3044, allocations: 39.72 kB / 0.5702 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005045/0.3049, allocations: 245.2 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3049, allocations: 0 / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.3049, allocations: 3.938 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.305, allocations: 3.984 kB / 0.5704 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000832/0.3058, allocations: 0.5269 MB / 0.5709 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3058, allocations: 0 / 0.5709 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.3059, allocations: 32.03 kB / 0.571 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.788e-06/0.3059, allocations: 8.031 kB / 0.571 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.3059, allocations: 7.938 kB / 0.571 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3059, allocations: 192 / 0.571 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.3059, allocations: 8 kB / 0.571 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/0.3064, allocations: 305.3 kB / 0.5713 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.852e-05/0.3064, allocations: 39.66 kB / 0.5713 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.3065, allocations: 8 kB / 0.5713 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.3066, allocations: 11.98 kB / 0.5713 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.3066, allocations: 7.984 kB / 0.5713 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.3066, allocations: 4 kB / 0.5713 GB, free: 10.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006842/0.3073, allocations: 0.655 MB / 0.572 GB, free: 9.504 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3073, allocations: 4 kB / 0.572 GB, free: 9.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000284/0.3076, allocations: 28 kB / 0.572 GB, free: 9.473 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.001859/0.3095, allocations: 498.8 kB / 0.5725 GB, free: 9.195 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003667/0.3098, allocations: 127.8 kB / 0.5726 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3098, allocations: 0 / 0.5726 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.31, allocations: 68.02 kB / 0.5727 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.3105, allocations: 39.61 kB / 0.5727 GB, free: 8.969 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.3117, allocations: 0.8862 MB / 0.5736 GB, free: 8.051 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.312, allocations: 232.9 kB / 0.5738 GB, free: 7.801 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.345e-05/0.3121, allocations: 32.45 kB / 0.5738 GB, free: 7.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.3122, allocations: 23.38 kB / 0.5739 GB, free: 7.75 MB / 414.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3122, allocations: 0 / 0.5739 GB, free: 7.75 MB / 414.1 MB Notification: Performance of Templates: time 0.005952/0.3181, allocations: 2.17 MB / 0.576 GB, free: 5.598 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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: 4.84059488598723]