Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.0017/0.0017, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001949/0.001949, allocations: 214.2 kB / 24.52 MB, free: 3.918 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.409/1.409, allocations: 230.5 MB / 258.2 MB, free: 7.766 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.2157/0.2157, allocations: 46.95 MB / 361.6 MB, free: 3.945 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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 75.89 kB / 0.4969 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2944, allocations: 66.08 MB / 0.5615 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003096/0.2975, allocations: 1.646 MB / 0.5631 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.2986, allocations: 0.542 MB / 0.5636 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.758e-05/0.2987, allocations: 0 / 0.5636 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006139/0.2993, allocations: 451.1 kB / 0.564 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004786/0.2998, allocations: 295.3 kB / 0.5643 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.3001, allocations: 131.6 kB / 0.5644 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000231/0.3003, allocations: 179.6 kB / 0.5646 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3004, allocations: 13.81 kB / 0.5646 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.3006, allocations: 107.8 kB / 0.5647 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.3008, allocations: 255.4 kB / 0.565 GB, free: 476 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.3008, allocations: 4 kB / 0.565 GB, free: 472 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-05/0.3009, allocations: 36 kB / 0.565 GB, free: 436 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.301, allocations: 83.67 kB / 0.5651 GB, free: 352 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.978e-05/0.3011, allocations: 79.23 kB / 0.5652 GB, free: 272 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.3014, allocations: 278.5 kB / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3014, allocations: 0 / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3014, allocations: 0 / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3014, allocations: 3.938 kB / 0.5654 GB, free: 15.99 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008162/0.3023, allocations: 0.5931 MB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3023, allocations: 8.031 kB / 0.566 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.907e-05/0.3023, allocations: 4.188 kB / 0.566 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.926e-05/0.3023, allocations: 34.73 kB / 0.566 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.3024, allocations: 44.66 kB / 0.5661 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.3027, allocations: 250.8 kB / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.3027, allocations: 4.375 kB / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.3027, allocations: 384 / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.3029, allocations: 65.92 kB / 0.5664 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3029, allocations: 0 / 0.5664 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3029, allocations: 7.984 kB / 0.5664 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3029, allocations: 0 / 0.5664 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.303, allocations: 31.97 kB / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.3035, allocations: 363.8 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.3036, allocations: 46.5 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.293e-05/0.3037, allocations: 24.94 kB / 0.5668 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.3037, allocations: 0 / 0.5668 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.3037, allocations: 30.56 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.3037, allocations: 0 / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008019/0.3045, allocations: 300.6 kB / 0.5672 GB, free: 14.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.3046, allocations: 55.41 kB / 0.5672 GB, free: 13.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008589/0.3054, allocations: 0.8698 MB / 0.5681 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.3054, allocations: 29.64 kB / 0.5681 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.3056, allocations: 212.1 kB / 0.5683 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.3057, allocations: 27.8 kB / 0.5683 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.3057, allocations: 17.72 kB / 0.5683 GB, free: 12.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3059, allocations: 370.7 kB / 0.5687 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.306, allocations: 31.97 kB / 0.5687 GB, free: 12.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.967e-05/0.3061, allocations: 35.97 kB / 0.5688 GB, free: 12.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.3063, allocations: 76.81 kB / 0.5688 GB, free: 12.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3063, allocations: 0 / 0.5688 GB, free: 12.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002984/0.3066, allocations: 149.4 kB / 0.569 GB, free: 12.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.3066, allocations: 4 kB / 0.569 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3066, allocations: 4 kB / 0.569 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3066, allocations: 0 / 0.569 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.3067, allocations: 15.98 kB / 0.569 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3067, allocations: 4 kB / 0.569 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.589e-05/0.3068, allocations: 11.92 kB / 0.569 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.3068, allocations: 7.938 kB / 0.569 GB, free: 12.1 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 (7): * Single equations (assignments): 7 * 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.0001941/0.307, allocations: 223 kB / 0.5692 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.547e-05/0.3071, allocations: 39.72 kB / 0.5693 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003954/0.3075, allocations: 177.7 kB / 0.5694 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3075, allocations: 4 kB / 0.5694 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3075, allocations: 0 / 0.5694 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3075, allocations: 0 / 0.5694 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006122/0.3081, allocations: 469.4 kB / 0.5699 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3081, allocations: 8 kB / 0.5699 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.44e-05/0.3082, allocations: 19.97 kB / 0.5699 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3082, allocations: 0 / 0.5699 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.3082, allocations: 4 kB / 0.5699 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.3082, allocations: 3.938 kB / 0.5699 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3082, allocations: 0 / 0.5699 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.3085, allocations: 247.2 kB / 0.5702 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.3086, allocations: 39.7 kB / 0.5702 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.3086, allocations: 3.938 kB / 0.5702 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3087, allocations: 15.92 kB / 0.5702 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.3087, allocations: 4 kB / 0.5702 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.3088, allocations: 0 / 0.5702 GB, free: 10.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006382/0.3094, allocations: 0.6589 MB / 0.5709 GB, free: 10.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3094, allocations: 0 / 0.5709 GB, free: 10.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.3096, allocations: 24 kB / 0.5709 GB, free: 10.09 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 (7): * Single equations (assignments): 7 * 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.002021/0.3117, allocations: 1.109 MB / 0.572 GB, free: 9.113 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00027/0.3119, allocations: 75.86 kB / 0.572 GB, free: 9.039 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3119, allocations: 4 kB / 0.572 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.3121, allocations: 43.97 kB / 0.5721 GB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.3124, allocations: 26.23 kB / 0.5721 GB, free: 8.969 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00385/0.3163, allocations: 3.335 MB / 0.5754 GB, free: 5.539 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.3165, allocations: 220.1 kB / 0.5756 GB, free: 5.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.882e-05/0.3166, allocations: 12.66 kB / 0.5756 GB, free: 5.289 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.3167, allocations: 103.4 kB / 0.5757 GB, free: 5.188 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3167, allocations: 4 kB / 0.5757 GB, free: 5.184 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.3429, allocations: 6.432 MB / 0.582 GB, free: 14.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.56, allocations: 9.672 kB / 0.582 GB, free: 14.77 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.540370941045694]