Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 198.2 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.27/1.27, allocations: 226.5 MB / 243.4 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000789/0.0007894, allocations: 95.39 kB / 295.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2849/0.2849, allocations: 44.83 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002739/0.000274, allocations: 8 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2923, allocations: 62.96 MB / 0.516 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.001645/0.294, allocations: 1.346 MB / 0.5173 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007524/0.2948, allocations: 0.5398 MB / 0.5178 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.2948, allocations: 0 / 0.5178 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004753/0.2953, allocations: 437.9 kB / 0.5182 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.2957, allocations: 272.9 kB / 0.5185 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.296, allocations: 159.8 kB / 0.5186 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.2962, allocations: 146.2 kB / 0.5188 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.864e-05/0.2963, allocations: 24.52 kB / 0.5188 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.642e-05/0.2964, allocations: 108.1 kB / 0.5189 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.2965, allocations: 165.4 kB / 0.5191 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.2966, allocations: 4 kB / 0.5191 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.489e-05/0.2967, allocations: 32.33 kB / 0.5191 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.16e-05/0.2967, allocations: 78.05 kB / 0.5192 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.966e-05/0.2968, allocations: 125.7 kB / 0.5193 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.297, allocations: 188.3 kB / 0.5195 GB, free: 35.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.297, allocations: 3.938 kB / 0.5195 GB, free: 35.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.297, allocations: 0 / 0.5195 GB, free: 35.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.297, allocations: 0 / 0.5195 GB, free: 35.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005483/0.2976, allocations: 0.6214 MB / 0.5201 GB, free: 34.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.2976, allocations: 11.25 kB / 0.5201 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.739e-05/0.2977, allocations: 34.75 kB / 0.5201 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.2977, allocations: 40.16 kB / 0.5202 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.2979, allocations: 301.9 kB / 0.5204 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.298, allocations: 384 / 0.5204 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.298, allocations: 3.219 kB / 0.5204 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.2981, allocations: 66.91 kB / 0.5205 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2982, allocations: 4 kB / 0.5205 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.2982, allocations: 10.77 kB / 0.5205 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2982, allocations: 0 / 0.5205 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.2983, allocations: 52.38 kB / 0.5206 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.2988, allocations: 413.2 kB / 0.521 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.2989, allocations: 51.11 kB / 0.521 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.057e-05/0.299, allocations: 32.05 kB / 0.521 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.299, allocations: 7.125 kB / 0.5211 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.2991, allocations: 33.09 kB / 0.5211 GB, free: 34.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2991, allocations: 0 / 0.5211 GB, free: 34.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007837/0.2998, allocations: 342.1 kB / 0.5214 GB, free: 33.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.2999, allocations: 54.47 kB / 0.5215 GB, free: 33.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006251/0.3005, allocations: 0.8728 MB / 0.5223 GB, free: 33.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.3005, allocations: 29.7 kB / 0.5223 GB, free: 33.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.3007, allocations: 213.4 kB / 0.5225 GB, free: 33.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.3007, allocations: 36.25 kB / 0.5226 GB, free: 33.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.3007, allocations: 0 / 0.5226 GB, free: 33.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.785e-05/0.3008, allocations: 365.7 kB / 0.5229 GB, free: 33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.3009, allocations: 42.05 kB / 0.523 GB, free: 33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.301, allocations: 48.34 kB / 0.523 GB, free: 32.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.3012, allocations: 106 kB / 0.5231 GB, free: 32.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3012, allocations: 4 kB / 0.5231 GB, free: 32.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000275/0.3015, allocations: 174.4 kB / 0.5233 GB, free: 32.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3015, allocations: 5.844 kB / 0.5233 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3016, allocations: 4 kB / 0.5233 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3016, allocations: 0 / 0.5233 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.3017, allocations: 23.33 kB / 0.5233 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3017, allocations: 0 / 0.5233 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.839e-05/0.3018, allocations: 20 kB / 0.5233 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.3018, allocations: 2.906 kB / 0.5233 GB, free: 32.86 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 (7): * Single equations (assignments): 7 * 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.0001581/0.302, allocations: 218 kB / 0.5235 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.302, allocations: 47.78 kB / 0.5236 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003573/0.3024, allocations: 204.2 kB / 0.5238 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3024, allocations: 0 / 0.5238 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3024, allocations: 0 / 0.5238 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3024, allocations: 3.938 kB / 0.5238 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005422/0.303, allocations: 0.521 MB / 0.5243 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.303, allocations: 0 / 0.5243 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.872e-05/0.3031, allocations: 26.47 kB / 0.5243 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.3031, allocations: 0 / 0.5243 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.3031, allocations: 7.938 kB / 0.5243 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3031, allocations: 6.969 kB / 0.5243 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3031, allocations: 0 / 0.5243 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.3034, allocations: 273.4 kB / 0.5246 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.3035, allocations: 108.7 kB / 0.5247 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.3035, allocations: 3.938 kB / 0.5247 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.3036, allocations: 19.12 kB / 0.5247 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.3037, allocations: 6.391 kB / 0.5247 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.3037, allocations: 0 / 0.5247 GB, free: 31.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004562/0.3041, allocations: 0.6642 MB / 0.5254 GB, free: 31.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3041, allocations: 3.938 kB / 0.5254 GB, free: 31.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002373/0.3044, allocations: 24.41 kB / 0.5254 GB, free: 31.67 MB / 378.7 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 (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.001235/0.3056, allocations: 1.098 MB / 0.5265 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.3059, allocations: 110.2 kB / 0.5266 GB, free: 30.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3059, allocations: 0 / 0.5266 GB, free: 30.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.306, allocations: 63.58 kB / 0.5266 GB, free: 30.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.3064, allocations: 27.97 kB / 0.5267 GB, free: 30.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.309, allocations: 2.5 MB / 0.5291 GB, free: 29.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.3093, allocations: 0.828 MB / 0.5299 GB, free: 28.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.3094, allocations: 119.8 kB / 0.53 GB, free: 28.89 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3094, allocations: 0 / 0.53 GB, free: 28.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.948/3.257, allocations: 6.761 MB / 0.5366 GB, free: 27.41 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches