Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.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.001319/0.001319, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001532/0.001532, allocations: 211 kB / 24.53 MB, free: 4.07 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.376/1.376, allocations: 230.5 MB / 258.2 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2156/0.2156, allocations: 46.93 MB / 361.6 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 79.86 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2901, allocations: 66.08 MB / 0.5615 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003357/0.2935, allocations: 2.058 MB / 0.5635 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.2952, allocations: 1.037 MB / 0.5645 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.791e-05/0.2953, allocations: 7.938 kB / 0.5645 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004423/0.2958, allocations: 251.2 kB / 0.5648 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004661/0.2962, allocations: 271.1 kB / 0.565 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009689/0.2972, allocations: 497.9 kB / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000423/0.2976, allocations: 330.9 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.2978, allocations: 60.88 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.298, allocations: 147.3 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.2982, allocations: 219.2 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.2982, allocations: 12 kB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.2984, allocations: 103.9 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.2985, allocations: 99.61 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.2986, allocations: 131 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004625/0.2991, allocations: 362.2 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2991, allocations: 0 / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2991, allocations: 0 / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.2991, allocations: 0 / 0.5669 GB, free: 14.74 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007903/0.2999, allocations: 0.6281 MB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.2999, allocations: 12.03 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.596e-05/0.3, allocations: 4.172 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.818e-05/0.3, allocations: 46.69 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.141e-05/0.3001, allocations: 48.61 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.3004, allocations: 272.7 kB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.3004, allocations: 8.375 kB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.3005, allocations: 16.31 kB / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.3007, allocations: 115.1 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3007, allocations: 0 / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.3007, allocations: 8 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3007, allocations: 0 / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.3009, allocations: 71.95 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006552/0.3015, allocations: 479.4 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.3017, allocations: 90.47 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.013e-05/0.3018, allocations: 32.84 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.3018, allocations: 0 / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.3018, allocations: 34.56 kB / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 9.12e-07/0.3018, allocations: 4 kB / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009133/0.3028, allocations: 402.7 kB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.3028, allocations: 55.41 kB / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006474/0.3034, allocations: 0.5838 MB / 0.5697 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.3035, allocations: 37.7 kB / 0.5698 GB, free: 11.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.3036, allocations: 212.4 kB / 0.57 GB, free: 11.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/0.3037, allocations: 59.48 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.3038, allocations: 33.7 kB / 0.5701 GB, free: 11.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3039, allocations: 350.8 kB / 0.5704 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.304, allocations: 51.97 kB / 0.5704 GB, free: 10.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.3041, allocations: 51.97 kB / 0.5705 GB, free: 10.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.3044, allocations: 122.8 kB / 0.5706 GB, free: 10.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3044, allocations: 0 / 0.5706 GB, free: 10.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003527/0.3047, allocations: 205.2 kB / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3047, allocations: 8 kB / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3047, allocations: 0 / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.3048, allocations: 0 / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.3049, allocations: 39.91 kB / 0.5708 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3049, allocations: 0 / 0.5708 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.877e-05/0.305, allocations: 12 kB / 0.5709 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.305, allocations: 15.91 kB / 0.5709 GB, free: 10.48 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 (17): * Single equations (assignments): 17 * 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.0001826/0.3052, allocations: 185.7 kB / 0.571 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.3053, allocations: 39.72 kB / 0.5711 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004711/0.3057, allocations: 251.7 kB / 0.5713 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.3057, allocations: 0 / 0.5713 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3057, allocations: 7.984 kB / 0.5713 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3057, allocations: 4 kB / 0.5713 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008105/0.3066, allocations: 0.6027 MB / 0.5719 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3066, allocations: 0 / 0.5719 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.3067, allocations: 35.97 kB / 0.572 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3067, allocations: 0 / 0.572 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.3067, allocations: 8 kB / 0.572 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3067, allocations: 0 / 0.572 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3067, allocations: 7.938 kB / 0.572 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.3071, allocations: 301.4 kB / 0.5723 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/0.3072, allocations: 51.69 kB / 0.5723 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.3072, allocations: 0 / 0.5723 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3073, allocations: 8 kB / 0.5723 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.3073, allocations: 15.91 kB / 0.5723 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.3073, allocations: 12 kB / 0.5723 GB, free: 8.887 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004675/0.3078, allocations: 439.1 kB / 0.5728 GB, free: 8.461 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3078, allocations: 0 / 0.5728 GB, free: 8.461 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002945/0.3081, allocations: 47.92 kB / 0.5728 GB, free: 8.414 MB / 414.1 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 (17): * Single equations (assignments): 17 * 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.003257/0.3114, allocations: 1.423 MB / 0.5742 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003131/0.3117, allocations: 131.8 kB / 0.5743 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3117, allocations: 0 / 0.5743 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.3118, allocations: 67.91 kB / 0.5744 GB, free: 7.051 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/0.3124, allocations: 84.95 kB / 0.5745 GB, free: 6.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/0.3163, allocations: 3.169 MB / 0.5776 GB, free: 3.723 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.3168, allocations: 0.8143 MB / 0.5784 GB, free: 2.883 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.3169, allocations: 50.23 kB / 0.5784 GB, free: 2.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.3171, allocations: 139.4 kB / 0.5785 GB, free: 2.695 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3171, allocations: 0 / 0.5785 GB, free: 2.695 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.3463, allocations: 7.901 MB / 0.5863 GB, free: 10.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.37, allocations: 3.938 kB / 0.5863 GB, free: 10.83 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.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: 14.376679403998423]