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.001268/0.001268, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001346/0.001346, allocations: 214 kB / 23.73 MB, free: 4.406 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.391/1.391, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.2133/0.2133, allocations: 46.95 MB / 360.8 MB, free: 3.984 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 83.86 kB / 0.4962 GB, free: 7.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3109, allocations: 66.09 MB / 0.5607 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003694/0.3146, allocations: 1.959 MB / 0.5626 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.3165, allocations: 0.994 MB / 0.5636 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.3166, allocations: 3.938 kB / 0.5636 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005269/0.3172, allocations: 255.2 kB / 0.5638 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005633/0.3177, allocations: 271.1 kB / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.3187, allocations: 491.4 kB / 0.5646 GB, free: 124 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004125/0.3192, allocations: 334.9 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.3193, allocations: 54.7 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.3195, allocations: 151.3 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.3198, allocations: 215.2 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.3198, allocations: 12 kB / 0.5653 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.32, allocations: 103.9 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.3201, allocations: 99.59 kB / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.157e-05/0.3202, allocations: 91.22 kB / 0.5656 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004503/0.3206, allocations: 362.2 kB / 0.5659 GB, free: 14.72 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3207, allocations: 0 / 0.5659 GB, free: 14.72 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3207, allocations: 0 / 0.5659 GB, free: 14.72 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3207, allocations: 4 kB / 0.5659 GB, free: 14.72 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.000856/0.3215, allocations: 0.6281 MB / 0.5665 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3216, allocations: 8.031 kB / 0.5666 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.689e-05/0.3216, allocations: 46.75 kB / 0.5666 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.286e-05/0.3217, allocations: 48.61 kB / 0.5666 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.3221, allocations: 276.6 kB / 0.5669 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.3221, allocations: 4.375 kB / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.3221, allocations: 16.36 kB / 0.5669 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.3223, allocations: 103.5 kB / 0.567 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.3224, allocations: 11.88 kB / 0.567 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.3224, allocations: 8 kB / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3224, allocations: 0 / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.3225, allocations: 71.89 kB / 0.5671 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006794/0.3232, allocations: 459.5 kB / 0.5676 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.3234, allocations: 94.42 kB / 0.5676 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.216e-05/0.3235, allocations: 33 kB / 0.5677 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.3235, allocations: 4 kB / 0.5677 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.3235, allocations: 34.56 kB / 0.5677 GB, free: 12.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.3235, allocations: 4 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009376/0.3245, allocations: 392.4 kB / 0.5681 GB, free: 12.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.3245, allocations: 55.41 kB / 0.5681 GB, free: 12.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006978/0.3252, allocations: 0.5877 MB / 0.5687 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3252, allocations: 33.7 kB / 0.5687 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.3254, allocations: 216.4 kB / 0.569 GB, free: 11.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.431e-05/0.3255, allocations: 59.42 kB / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/0.3255, allocations: 33.7 kB / 0.569 GB, free: 11.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.3257, allocations: 358.8 kB / 0.5694 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.3258, allocations: 51.97 kB / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.3259, allocations: 47.98 kB / 0.5695 GB, free: 10.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.3262, allocations: 122.8 kB / 0.5696 GB, free: 10.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3262, allocations: 4 kB / 0.5696 GB, free: 10.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003487/0.3265, allocations: 201.2 kB / 0.5698 GB, free: 10.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3266, allocations: 10.19 kB / 0.5698 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3266, allocations: 3.984 kB / 0.5698 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3266, allocations: 0 / 0.5698 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.3267, allocations: 35.92 kB / 0.5698 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3267, allocations: 0 / 0.5698 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.918e-05/0.3268, allocations: 12 kB / 0.5699 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.3268, allocations: 7.984 kB / 0.5699 GB, free: 10.49 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.0001798/0.327, allocations: 173.8 kB / 0.57 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/0.3271, allocations: 47.66 kB / 0.5701 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004772/0.3276, allocations: 249.5 kB / 0.5703 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3276, allocations: 4 kB / 0.5703 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3276, allocations: 0 / 0.5703 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3276, allocations: 0 / 0.5703 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008732/0.3284, allocations: 0.5871 MB / 0.5709 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3284, allocations: 0 / 0.5709 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.3286, allocations: 27.98 kB / 0.5709 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3286, allocations: 8 kB / 0.5709 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3286, allocations: 4 kB / 0.5709 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.3286, allocations: 7.984 kB / 0.5709 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3286, allocations: 0 / 0.5709 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.329, allocations: 305.3 kB / 0.5712 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/0.3291, allocations: 47.64 kB / 0.5713 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.3291, allocations: 4 kB / 0.5713 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.3292, allocations: 15.92 kB / 0.5713 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.3293, allocations: 11.92 kB / 0.5713 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.3293, allocations: 8 kB / 0.5713 GB, free: 8.926 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004983/0.3298, allocations: 447.1 kB / 0.5717 GB, free: 8.488 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3298, allocations: 0 / 0.5717 GB, free: 8.488 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003143/0.3301, allocations: 47.94 kB / 0.5718 GB, free: 8.441 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.003623/0.3337, allocations: 1.475 MB / 0.5732 GB, free: 7.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003116/0.334, allocations: 139.8 kB / 0.5734 GB, free: 7.113 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.334, allocations: 0 / 0.5734 GB, free: 7.113 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.3342, allocations: 67.91 kB / 0.5734 GB, free: 7.047 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/0.3347, allocations: 77.31 kB / 0.5735 GB, free: 6.977 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004079/0.3388, allocations: 3.157 MB / 0.5766 GB, free: 3.738 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.339, allocations: 212.2 kB / 0.5768 GB, free: 3.512 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.3391, allocations: 54.23 kB / 0.5768 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.3393, allocations: 135.4 kB / 0.577 GB, free: 3.328 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3393, allocations: 0 / 0.577 GB, free: 3.328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03544/0.3748, allocations: 8.321 MB / 0.5851 GB, free: 11.03 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.34, allocations: 7.938 kB / 0.5851 GB, free: 11.02 MB / 430.1 MB " [Timeout remaining time 649] (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.210066558793187]