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.001731/0.001731, 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.002098/0.002098, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.393/1.393, allocations: 230.5 MB / 258.2 MB, free: 7.785 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.95 MB / 361.6 MB, free: 3.906 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.002121/0.002121, allocations: 79.88 kB / 0.4969 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2956, allocations: 66.08 MB / 0.5615 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003467/0.2991, allocations: 1.967 MB / 0.5634 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.3008, allocations: 0.9901 MB / 0.5643 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.301, allocations: 7.938 kB / 0.5643 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004945/0.3015, allocations: 251.2 kB / 0.5646 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000553/0.302, allocations: 267.1 kB / 0.5648 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.3031, allocations: 496.7 kB / 0.5653 GB, free: 40 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005202/0.3037, allocations: 330.9 kB / 0.5656 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.3038, allocations: 58.72 kB / 0.5657 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.304, allocations: 147.3 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.3043, allocations: 227.2 kB / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.3044, allocations: 12 kB / 0.5661 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/0.3046, allocations: 103.9 kB / 0.5662 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.3048, allocations: 99.59 kB / 0.5663 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.3049, allocations: 91.22 kB / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005462/0.3054, allocations: 354.2 kB / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.3055, allocations: 8 kB / 0.5667 GB, free: 14.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3055, allocations: 3.938 kB / 0.5667 GB, free: 14.63 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.3055, allocations: 0 / 0.5667 GB, free: 14.63 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.0008187/0.3063, allocations: 0.6359 MB / 0.5673 GB, free: 13.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3063, allocations: 8.031 kB / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.338e-05/0.3063, allocations: 4.188 kB / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.925e-05/0.3064, allocations: 38.75 kB / 0.5674 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.762e-05/0.3065, allocations: 48.61 kB / 0.5674 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.3068, allocations: 272.6 kB / 0.5677 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.3068, allocations: 12.38 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.3069, allocations: 8.375 kB / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.3071, allocations: 115.2 kB / 0.5678 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3071, allocations: 3.938 kB / 0.5678 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.3071, allocations: 4 kB / 0.5678 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.3071, allocations: 8 kB / 0.5678 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.3073, allocations: 67.95 kB / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006861/0.308, allocations: 455.5 kB / 0.5683 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.3082, allocations: 94.41 kB / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.633e-05/0.3083, allocations: 32.84 kB / 0.5684 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.3083, allocations: 4 kB / 0.5684 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.3083, allocations: 34.56 kB / 0.5685 GB, free: 12.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.3084, allocations: 0 / 0.5685 GB, free: 12.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.000989/0.3093, allocations: 400.6 kB / 0.5688 GB, free: 12.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.3094, allocations: 55.34 kB / 0.5689 GB, free: 12.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006986/0.3101, allocations: 0.5916 MB / 0.5695 GB, free: 11.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3101, allocations: 25.7 kB / 0.5695 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.3103, allocations: 216.4 kB / 0.5697 GB, free: 11.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.067e-05/0.3103, allocations: 63.45 kB / 0.5698 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.3104, allocations: 33.72 kB / 0.5698 GB, free: 11.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.3106, allocations: 358.8 kB / 0.5701 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.3107, allocations: 51.97 kB / 0.5702 GB, free: 10.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.3108, allocations: 47.97 kB / 0.5702 GB, free: 10.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.3111, allocations: 123.3 kB / 0.5704 GB, free: 10.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3111, allocations: 0 / 0.5704 GB, free: 10.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003609/0.3114, allocations: 205.2 kB / 0.5706 GB, free: 10.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3114, allocations: 4 kB / 0.5706 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3115, allocations: 4 kB / 0.5706 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3115, allocations: 4 kB / 0.5706 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.3116, allocations: 31.92 kB / 0.5706 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3116, allocations: 4 kB / 0.5706 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-05/0.3117, allocations: 11.98 kB / 0.5706 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.3117, allocations: 7.938 kB / 0.5706 GB, free: 10.39 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.0002304/0.3119, allocations: 181.7 kB / 0.5708 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.312, allocations: 39.72 kB / 0.5708 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004789/0.3125, allocations: 255.7 kB / 0.5711 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3125, allocations: 0 / 0.5711 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3125, allocations: 0 / 0.5711 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.3125, allocations: 7.984 kB / 0.5711 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008888/0.3134, allocations: 0.5832 MB / 0.5716 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3134, allocations: 4 kB / 0.5717 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.3135, allocations: 31.98 kB / 0.5717 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3135, allocations: 0 / 0.5717 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3135, allocations: 8 kB / 0.5717 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.3135, allocations: 3.984 kB / 0.5717 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3135, allocations: 7.875 kB / 0.5717 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.3139, allocations: 301.8 kB / 0.572 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.314, allocations: 43.7 kB / 0.572 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.267e-05/0.314, allocations: 4 kB / 0.572 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.3142, allocations: 15.98 kB / 0.572 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.3142, allocations: 11.92 kB / 0.5721 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.3142, allocations: 4 kB / 0.5721 GB, free: 8.828 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004778/0.3147, allocations: 447.1 kB / 0.5725 GB, free: 8.395 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3147, allocations: 4 kB / 0.5725 GB, free: 8.391 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003026/0.315, allocations: 47.92 kB / 0.5725 GB, free: 8.344 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.003565/0.3186, allocations: 1.467 MB / 0.574 GB, free: 7.156 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003454/0.3189, allocations: 134 kB / 0.5741 GB, free: 7.027 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3189, allocations: 0 / 0.5741 GB, free: 7.027 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.319, allocations: 67.91 kB / 0.5742 GB, free: 6.961 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005999/0.3196, allocations: 85.25 kB / 0.5742 GB, free: 6.883 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/0.3237, allocations: 3.166 MB / 0.5773 GB, free: 3.637 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.324, allocations: 212.2 kB / 0.5775 GB, free: 3.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.3241, allocations: 46.25 kB / 0.5776 GB, free: 3.367 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.3243, allocations: 135.4 kB / 0.5777 GB, free: 3.234 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3243, allocations: 0 / 0.5777 GB, free: 3.234 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.354, allocations: 8.048 MB / 0.5856 GB, free: 11.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.55, allocations: 7.875 kB / 0.5856 GB, free: 11.21 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.583828483009711]