Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009328/0.0009328, allocations: 199 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.202/1.202, allocations: 226.5 MB / 243.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007669/0.0007669, allocations: 98.05 kB / 295.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2922/0.2922, allocations: 44.81 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002575/0.0002576, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2987, allocations: 62.97 MB / 0.516 GB, free: 37.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.001433/0.3002, allocations: 1.364 MB / 0.5173 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006222/0.3009, allocations: 0.5114 MB / 0.5178 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.459e-05/0.3009, allocations: 0 / 0.5178 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003862/0.3013, allocations: 449.7 kB / 0.5182 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.3016, allocations: 271.7 kB / 0.5185 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.3018, allocations: 109.7 kB / 0.5186 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.302, allocations: 150.2 kB / 0.5187 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.641e-05/0.3021, allocations: 13.92 kB / 0.5187 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.99e-05/0.3022, allocations: 109.1 kB / 0.5189 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.3023, allocations: 171.8 kB / 0.519 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.3024, allocations: 4 kB / 0.519 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.958e-05/0.3025, allocations: 40.78 kB / 0.5191 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.845e-05/0.3025, allocations: 82.66 kB / 0.5191 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.121e-05/0.3026, allocations: 126.8 kB / 0.5193 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.3028, allocations: 204.4 kB / 0.5195 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3028, allocations: 0 / 0.5195 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3028, allocations: 0 / 0.5195 GB, free: 35.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3028, allocations: 0 / 0.5195 GB, free: 35.55 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005344/0.3033, allocations: 0.608 MB / 0.52 GB, free: 35.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3034, allocations: 11.62 kB / 0.5201 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.543e-05/0.3034, allocations: 34.75 kB / 0.5201 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.3035, allocations: 40.88 kB / 0.5201 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.3037, allocations: 308.4 kB / 0.5204 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.3037, allocations: 4.375 kB / 0.5204 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.3037, allocations: 3.375 kB / 0.5204 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.3039, allocations: 71.86 kB / 0.5205 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3039, allocations: 7.938 kB / 0.5205 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.3039, allocations: 0 / 0.5205 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3039, allocations: 0 / 0.5205 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.304, allocations: 49.91 kB / 0.5206 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.3044, allocations: 397.1 kB / 0.5209 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.3046, allocations: 62.86 kB / 0.521 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.059e-05/0.3047, allocations: 35.17 kB / 0.521 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.3047, allocations: 11.33 kB / 0.521 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.3047, allocations: 33.56 kB / 0.5211 GB, free: 34.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3047, allocations: 0 / 0.5211 GB, free: 34.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001352/0.3061, allocations: 0.5376 MB / 0.5216 GB, free: 33.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.874e-05/0.3061, allocations: 51.41 kB / 0.5216 GB, free: 33.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006217/0.3068, allocations: 0.8706 MB / 0.5225 GB, free: 33.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.3068, allocations: 25.7 kB / 0.5225 GB, free: 33.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.3069, allocations: 216.6 kB / 0.5227 GB, free: 33.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.3069, allocations: 36.03 kB / 0.5228 GB, free: 33.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.3069, allocations: 4 kB / 0.5228 GB, free: 33.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.12e-05/0.307, allocations: 371 kB / 0.5231 GB, free: 33.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.3071, allocations: 42.33 kB / 0.5232 GB, free: 33.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.3072, allocations: 63.52 kB / 0.5232 GB, free: 33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.3075, allocations: 112.2 kB / 0.5233 GB, free: 32.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3075, allocations: 0 / 0.5233 GB, free: 32.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002937/0.3078, allocations: 191.3 kB / 0.5235 GB, free: 32.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.3078, allocations: 9.531 kB / 0.5235 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.3078, allocations: 0 / 0.5235 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3078, allocations: 3.938 kB / 0.5235 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.3079, allocations: 34.2 kB / 0.5236 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.308, allocations: 0 / 0.5236 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.557e-05/0.308, allocations: 14.03 kB / 0.5236 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.308, allocations: 2.406 kB / 0.5236 GB, free: 32.87 MB / 378.7 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.3082, allocations: 217.9 kB / 0.5238 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.3082, allocations: 43.5 kB / 0.5238 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/0.3086, allocations: 220.4 kB / 0.524 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3086, allocations: 6.562 kB / 0.524 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3086, allocations: 0 / 0.524 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3086, allocations: 4.5 kB / 0.524 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000587/0.3092, allocations: 0.5879 MB / 0.5246 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3092, allocations: 0 / 0.5246 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.445e-05/0.3093, allocations: 43.28 kB / 0.5247 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3094, allocations: 2.562 kB / 0.5247 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.3094, allocations: 0 / 0.5247 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3094, allocations: 2.656 kB / 0.5247 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3094, allocations: 0 / 0.5247 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.3097, allocations: 307 kB / 0.525 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.3097, allocations: 111.8 kB / 0.5251 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.3098, allocations: 10.12 kB / 0.5251 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.3099, allocations: 14.47 kB / 0.5251 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.3099, allocations: 14.41 kB / 0.5251 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.31, allocations: 3.875 kB / 0.5251 GB, free: 31.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004825/0.3104, allocations: 0.6525 MB / 0.5257 GB, free: 31.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3104, allocations: 0 / 0.5257 GB, free: 31.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.3107, allocations: 35.91 kB / 0.5258 GB, free: 31.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001227/0.3119, allocations: 1.187 MB / 0.5269 GB, free: 30.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002771/0.3122, allocations: 121 kB / 0.527 GB, free: 30.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3122, allocations: 4 kB / 0.527 GB, free: 30.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.3124, allocations: 69.86 kB / 0.5271 GB, free: 30.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.3127, allocations: 23.23 kB / 0.5271 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.3153, allocations: 2.563 MB / 0.5296 GB, free: 29.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.3156, allocations: 0.8271 MB / 0.5304 GB, free: 28.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.3157, allocations: 117.6 kB / 0.5306 GB, free: 28.71 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3157, allocations: 0 / 0.5306 GB, free: 28.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.812/3.128, allocations: 6.949 MB / 0.5373 GB, free: 27.2 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches