Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001518/0.001518, allocations: 107.5 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.001752/0.001752, 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.447/1.447, allocations: 230.5 MB / 258.2 MB, free: 7.789 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.2187/0.2187, allocations: 46.95 MB / 361.6 MB, free: 4.027 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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 71.88 kB / 0.4969 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3022, allocations: 66.09 MB / 0.5615 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003002/0.3052, allocations: 1.635 MB / 0.5631 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009933/0.3062, allocations: 0.5381 MB / 0.5636 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.072e-05/0.3063, allocations: 0 / 0.5636 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.3068, allocations: 455.2 kB / 0.564 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004641/0.3073, allocations: 295.3 kB / 0.5643 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.3076, allocations: 135 kB / 0.5644 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000228/0.3079, allocations: 167.6 kB / 0.5646 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.532e-05/0.3079, allocations: 13.81 kB / 0.5646 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.3081, allocations: 111.8 kB / 0.5647 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.3083, allocations: 247.5 kB / 0.5649 GB, free: 484 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.3083, allocations: 4 kB / 0.5649 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.838e-05/0.3084, allocations: 39.92 kB / 0.565 GB, free: 440 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.759e-05/0.3085, allocations: 79.64 kB / 0.5651 GB, free: 360 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.233e-05/0.3086, allocations: 71.23 kB / 0.5651 GB, free: 288 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.3089, allocations: 266.6 kB / 0.5654 GB, free: 20 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3089, allocations: 4 kB / 0.5654 GB, free: 16 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3089, allocations: 0 / 0.5654 GB, free: 16 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.309, allocations: 4 kB / 0.5654 GB, free: 12 kB / 398.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.0007406/0.3097, allocations: 0.5893 MB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.3097, allocations: 8.031 kB / 0.566 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.083e-05/0.3097, allocations: 192 / 0.566 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/0.3098, allocations: 42.62 kB / 0.566 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.3098, allocations: 44.61 kB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.3101, allocations: 242.8 kB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3101, allocations: 4.375 kB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.3101, allocations: 4.375 kB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.3103, allocations: 57.98 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3103, allocations: 4 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.3103, allocations: 0 / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3103, allocations: 4 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.82e-05/0.3104, allocations: 23.97 kB / 0.5664 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.3108, allocations: 359.7 kB / 0.5667 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.311, allocations: 42.5 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.3111, allocations: 20.94 kB / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.3111, allocations: 0 / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.3111, allocations: 38.5 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3111, allocations: 4 kB / 0.5668 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005832/0.3117, allocations: 232.7 kB / 0.5671 GB, free: 14.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.3117, allocations: 55.34 kB / 0.5671 GB, free: 14.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008729/0.3126, allocations: 0.8699 MB / 0.568 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.3126, allocations: 25.7 kB / 0.568 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.3128, allocations: 220.1 kB / 0.5682 GB, free: 12.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.3128, allocations: 23.83 kB / 0.5682 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.3129, allocations: 21.72 kB / 0.5682 GB, free: 12.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.313, allocations: 362.7 kB / 0.5686 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.402e-05/0.3131, allocations: 19.98 kB / 0.5686 GB, free: 12.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.032e-05/0.3132, allocations: 19.98 kB / 0.5686 GB, free: 12.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.3133, allocations: 44.84 kB / 0.5687 GB, free: 12.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3133, allocations: 0 / 0.5687 GB, free: 12.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002212/0.3135, allocations: 125.3 kB / 0.5688 GB, free: 12.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3135, allocations: 8 kB / 0.5688 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.3135, allocations: 0 / 0.5688 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3136, allocations: 256 / 0.5688 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.233e-05/0.3136, allocations: 15.98 kB / 0.5688 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3136, allocations: 4 kB / 0.5688 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.999e-05/0.3137, allocations: 4 kB / 0.5688 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.3137, allocations: 7.875 kB / 0.5688 GB, free: 12.3 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 (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 0.0001862/0.3139, allocations: 215.1 kB / 0.569 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.3139, allocations: 43.72 kB / 0.5691 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.3142, allocations: 137.2 kB / 0.5692 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3142, allocations: 4 kB / 0.5692 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3142, allocations: 3.984 kB / 0.5692 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3142, allocations: 0 / 0.5692 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/0.3148, allocations: 421.9 kB / 0.5696 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3148, allocations: 0 / 0.5696 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.544e-05/0.3148, allocations: 15.98 kB / 0.5696 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3148, allocations: 0 / 0.5696 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.3148, allocations: 4 kB / 0.5696 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3148, allocations: 3.938 kB / 0.5696 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.3148, allocations: 7.922 kB / 0.5696 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.3151, allocations: 219.2 kB / 0.5698 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.3151, allocations: 39.7 kB / 0.5699 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.3152, allocations: 4 kB / 0.5699 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/0.3153, allocations: 3.938 kB / 0.5699 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.3153, allocations: 11.92 kB / 0.5699 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.3153, allocations: 0 / 0.5699 GB, free: 11.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006437/0.3159, allocations: 0.6628 MB / 0.5705 GB, free: 10.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3159, allocations: 0 / 0.5705 GB, free: 10.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.3162, allocations: 27.94 kB / 0.5706 GB, free: 10.41 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 (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.002002/0.3182, allocations: 1.069 MB / 0.5716 GB, free: 9.469 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.3184, allocations: 43.97 kB / 0.5717 GB, free: 9.426 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3184, allocations: 4 kB / 0.5717 GB, free: 9.422 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.206e-05/0.3184, allocations: 27.92 kB / 0.5717 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.3188, allocations: 30.22 kB / 0.5717 GB, free: 9.363 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/0.3225, allocations: 3.244 MB / 0.5749 GB, free: 6.027 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.3228, allocations: 216.1 kB / 0.5751 GB, free: 5.793 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.913e-05/0.3228, allocations: 12 kB / 0.5751 GB, free: 5.781 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.323, allocations: 111.4 kB / 0.5752 GB, free: 5.676 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.323, allocations: 0 / 0.5752 GB, free: 5.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.3504, allocations: 6.308 MB / 0.5814 GB, free: 15.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.57, allocations: 5.625 kB / 0.5814 GB, free: 15.39 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.57857918809168]