Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001035/0.001035, allocations: 200.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 226.5 MB / 243.4 MB, free: 8.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008026/0.0008024, allocations: 92.14 kB / 295.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3556/0.3556, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002894, allocations: 8 kB / 465.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3039, allocations: 62.96 MB / 0.516 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.001641/0.3056, allocations: 1.682 MB / 0.5176 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3067, allocations: 0.9408 MB / 0.5185 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.283e-05/0.3068, allocations: 2.875 kB / 0.5185 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.3071, allocations: 241.4 kB / 0.5188 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.3074, allocations: 229.5 kB / 0.519 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007335/0.3081, allocations: 444.1 kB / 0.5194 GB, free: 34.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.3084, allocations: 272.6 kB / 0.5197 GB, free: 34.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3085, allocations: 66.88 kB / 0.5197 GB, free: 34.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.184e-05/0.3086, allocations: 111.4 kB / 0.5198 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.3087, allocations: 169.3 kB / 0.52 GB, free: 34.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.3088, allocations: 3.062 kB / 0.52 GB, free: 34.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.3089, allocations: 91.89 kB / 0.5201 GB, free: 34.49 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.82e-05/0.309, allocations: 75.33 kB / 0.5202 GB, free: 34.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.525e-05/0.3091, allocations: 137.5 kB / 0.5203 GB, free: 34.35 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.3093, allocations: 266.8 kB / 0.5205 GB, free: 34.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3093, allocations: 0 / 0.5205 GB, free: 34.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3093, allocations: 0 / 0.5205 GB, free: 34.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3093, allocations: 0 / 0.5205 GB, free: 34.26 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005944/0.3099, allocations: 0.6162 MB / 0.5211 GB, free: 33.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.31, allocations: 11.31 kB / 0.5211 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.31, allocations: 44.67 kB / 0.5212 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.3101, allocations: 42.75 kB / 0.5212 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.3104, allocations: 344.1 kB / 0.5216 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.3104, allocations: 7.094 kB / 0.5216 GB, free: 33.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.3104, allocations: 12.34 kB / 0.5216 GB, free: 33.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.3106, allocations: 106 kB / 0.5217 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.3107, allocations: 0 / 0.5217 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3107, allocations: 4 kB / 0.5217 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3107, allocations: 2.875 kB / 0.5217 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.3108, allocations: 84.56 kB / 0.5218 GB, free: 33.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005633/0.3114, allocations: 0.5004 MB / 0.5223 GB, free: 32.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.3116, allocations: 102.1 kB / 0.5224 GB, free: 32.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.415e-05/0.3116, allocations: 39.78 kB / 0.5224 GB, free: 32.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.3117, allocations: 2.875 kB / 0.5224 GB, free: 32.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.3117, allocations: 37.25 kB / 0.5224 GB, free: 32.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.3117, allocations: 0 / 0.5224 GB, free: 32.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007798/0.3125, allocations: 411.3 kB / 0.5228 GB, free: 32.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.3125, allocations: 61.62 kB / 0.5229 GB, free: 32.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004586/0.313, allocations: 0.5872 MB / 0.5235 GB, free: 32.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.313, allocations: 29.7 kB / 0.5235 GB, free: 32.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.547e-05/0.3131, allocations: 218.7 kB / 0.5237 GB, free: 32.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.3131, allocations: 52.97 kB / 0.5237 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.3132, allocations: 4 kB / 0.5237 GB, free: 32.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.029e-05/0.3132, allocations: 355.3 kB / 0.5241 GB, free: 31.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.72e-05/0.3133, allocations: 52.44 kB / 0.5241 GB, free: 31.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.623e-05/0.3134, allocations: 55.72 kB / 0.5242 GB, free: 31.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.3136, allocations: 130 kB / 0.5243 GB, free: 31.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3136, allocations: 0 / 0.5243 GB, free: 31.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002663/0.3139, allocations: 211.9 kB / 0.5245 GB, free: 31.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.3139, allocations: 6.031 kB / 0.5245 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.3139, allocations: 3.984 kB / 0.5245 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3139, allocations: 3.234 kB / 0.5245 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.3141, allocations: 33.2 kB / 0.5246 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3141, allocations: 0 / 0.5246 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.079e-05/0.3142, allocations: 21.31 kB / 0.5246 GB, free: 31.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.3142, allocations: 9.938 kB / 0.5246 GB, free: 31.48 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 (17): * Single equations (assignments): 17 * 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.0001126/0.3143, allocations: 180 kB / 0.5248 GB, free: 31.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.837e-05/0.3143, allocations: 39.47 kB / 0.5248 GB, free: 31.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003604/0.3147, allocations: 244 kB / 0.525 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3147, allocations: 0 / 0.525 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3147, allocations: 2.938 kB / 0.525 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3147, allocations: 0 / 0.525 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005827/0.3153, allocations: 0.6413 MB / 0.5257 GB, free: 30.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3153, allocations: 3.281 kB / 0.5257 GB, free: 30.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.573e-05/0.3154, allocations: 43.45 kB / 0.5257 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3155, allocations: 3 kB / 0.5257 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3155, allocations: 0 / 0.5257 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3155, allocations: 10.5 kB / 0.5257 GB, free: 30.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3155, allocations: 4 kB / 0.5257 GB, free: 30.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.3158, allocations: 310.6 kB / 0.526 GB, free: 30.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/0.3158, allocations: 124.9 kB / 0.5261 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.3159, allocations: 0 / 0.5261 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.904e-05/0.316, allocations: 23.45 kB / 0.5262 GB, free: 30.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.316, allocations: 13.12 kB / 0.5262 GB, free: 30.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.316, allocations: 5.219 kB / 0.5262 GB, free: 30.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003567/0.3164, allocations: 439.6 kB / 0.5266 GB, free: 30.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.032e-06/0.3164, allocations: 2.781 kB / 0.5266 GB, free: 30.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002689/0.3167, allocations: 58.55 kB / 0.5267 GB, free: 30.23 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 (17): * Single equations (assignments): 17 * 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.001679/0.3184, allocations: 1.415 MB / 0.528 GB, free: 29.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.3186, allocations: 145.7 kB / 0.5282 GB, free: 29.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3186, allocations: 0 / 0.5282 GB, free: 29.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.3188, allocations: 78.16 kB / 0.5282 GB, free: 29.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.3192, allocations: 74.06 kB / 0.5283 GB, free: 29.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.3215, allocations: 2.164 MB / 0.5304 GB, free: 28.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.3217, allocations: 0.8168 MB / 0.5312 GB, free: 27.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.3218, allocations: 143.3 kB / 0.5314 GB, free: 27.3 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3218, allocations: 0 / 0.5314 GB, free: 27.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.291/3.613, allocations: 5.859 MB / 0.5371 GB, free: 26.59 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches