Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_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.001376/0.001376, allocations: 200 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.281/1.281, 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.0007071/0.0007073, allocations: 99.34 kB / 295.5 MB, free: 6.867 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3672/0.3672, allocations: 44.82 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003049, allocations: 8 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2828, allocations: 62.97 MB / 0.516 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.00177/0.2846, allocations: 1.688 MB / 0.5176 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2859, allocations: 1.041 MB / 0.5186 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.528e-05/0.286, allocations: 6.969 kB / 0.5186 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.2863, allocations: 248.6 kB / 0.5189 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.2867, allocations: 228.8 kB / 0.5191 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.2877, allocations: 0.5997 MB / 0.5197 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000273/0.288, allocations: 288 kB / 0.52 GB, free: 34.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.2882, allocations: 78.5 kB / 0.52 GB, free: 34.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.945e-05/0.2883, allocations: 118.4 kB / 0.5201 GB, free: 34.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.2884, allocations: 172.2 kB / 0.5203 GB, free: 34.56 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.2885, allocations: 2.906 kB / 0.5203 GB, free: 34.56 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.2886, allocations: 93.17 kB / 0.5204 GB, free: 34.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.021e-05/0.2887, allocations: 79.95 kB / 0.5205 GB, free: 34.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.665e-05/0.2888, allocations: 136.9 kB / 0.5206 GB, free: 34.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.289, allocations: 269.5 kB / 0.5209 GB, free: 34.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.289, allocations: 8 kB / 0.5209 GB, free: 34.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.289, allocations: 3.938 kB / 0.5209 GB, free: 34.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.289, allocations: 0 / 0.5209 GB, free: 34.3 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.0005693/0.2896, allocations: 0.6343 MB / 0.5215 GB, free: 33.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2897, allocations: 8.688 kB / 0.5215 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.684e-05/0.2897, allocations: 44.81 kB / 0.5215 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/0.2898, allocations: 50.64 kB / 0.5216 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.29, allocations: 337.7 kB / 0.5219 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.2901, allocations: 6.188 kB / 0.5219 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.2901, allocations: 16.28 kB / 0.5219 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.2903, allocations: 127.7 kB / 0.5221 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.2903, allocations: 0 / 0.5221 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.2904, allocations: 6.969 kB / 0.5221 GB, free: 33.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2904, allocations: 3 kB / 0.5221 GB, free: 33.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.2905, allocations: 97.91 kB / 0.5222 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.2911, allocations: 0.5208 MB / 0.5227 GB, free: 32.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.2913, allocations: 116.2 kB / 0.5228 GB, free: 32.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.631e-05/0.2914, allocations: 40.5 kB / 0.5228 GB, free: 32.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.2914, allocations: 14.2 kB / 0.5228 GB, free: 32.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.2914, allocations: 34.5 kB / 0.5229 GB, free: 32.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.2914, allocations: 224 / 0.5229 GB, free: 32.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.000826/0.2923, allocations: 463 kB / 0.5233 GB, free: 32.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.2923, allocations: 51.41 kB / 0.5234 GB, free: 32.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004789/0.2928, allocations: 0.6045 MB / 0.5239 GB, free: 32.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.2928, allocations: 25.7 kB / 0.524 GB, free: 32.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.2929, allocations: 225.8 kB / 0.5242 GB, free: 32.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.293, allocations: 51.92 kB / 0.5242 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.293, allocations: 2.938 kB / 0.5242 GB, free: 32.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.875e-05/0.293, allocations: 355.4 kB / 0.5246 GB, free: 31.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.2932, allocations: 75.98 kB / 0.5246 GB, free: 31.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.2933, allocations: 65.06 kB / 0.5247 GB, free: 31.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.2935, allocations: 170.5 kB / 0.5249 GB, free: 31.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2935, allocations: 0 / 0.5249 GB, free: 31.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003095/0.2939, allocations: 241.6 kB / 0.5251 GB, free: 31.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.2939, allocations: 9.219 kB / 0.5251 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2939, allocations: 0 / 0.5251 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2939, allocations: 0 / 0.5251 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.294, allocations: 39.77 kB / 0.5251 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2941, allocations: 0 / 0.5251 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.668e-05/0.2941, allocations: 19.39 kB / 0.5252 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.2942, allocations: 3.062 kB / 0.5252 GB, free: 31.46 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.000128/0.2943, allocations: 185.6 kB / 0.5253 GB, free: 31.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.2943, allocations: 41.94 kB / 0.5254 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004275/0.2948, allocations: 293.8 kB / 0.5257 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2948, allocations: 0 / 0.5257 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2948, allocations: 4 kB / 0.5257 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2948, allocations: 2.969 kB / 0.5257 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006941/0.2955, allocations: 0.7068 MB / 0.5264 GB, free: 30.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2955, allocations: 4 kB / 0.5264 GB, free: 30.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.716e-05/0.2956, allocations: 31.02 kB / 0.5264 GB, free: 30.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2956, allocations: 2.938 kB / 0.5264 GB, free: 30.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.2957, allocations: 0 / 0.5264 GB, free: 30.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.2957, allocations: 14.2 kB / 0.5264 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2957, allocations: 0 / 0.5264 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.296, allocations: 342.5 kB / 0.5267 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.069e-05/0.2961, allocations: 129.4 kB / 0.5269 GB, free: 30.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.2961, allocations: 6.875 kB / 0.5269 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.826e-05/0.2962, allocations: 12.36 kB / 0.5269 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.2963, allocations: 15.16 kB / 0.5269 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.2963, allocations: 2.594 kB / 0.5269 GB, free: 30.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003434/0.2966, allocations: 461.1 kB / 0.5273 GB, free: 30.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2966, allocations: 0 / 0.5273 GB, free: 30.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002733/0.2969, allocations: 48.66 kB / 0.5274 GB, free: 30.17 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.001698/0.2986, allocations: 1.47 MB / 0.5288 GB, free: 29.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002935/0.2989, allocations: 173.2 kB / 0.529 GB, free: 29.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.2989, allocations: 4 kB / 0.529 GB, free: 29.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.2991, allocations: 97.11 kB / 0.5291 GB, free: 29.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.2996, allocations: 69.31 kB / 0.5292 GB, free: 29.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.302, allocations: 2.296 MB / 0.5314 GB, free: 28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.3022, allocations: 0.8297 MB / 0.5322 GB, free: 27.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.3024, allocations: 142.1 kB / 0.5323 GB, free: 27.18 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3024, allocations: 2.906 kB / 0.5323 GB, free: 27.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.202/3.504, allocations: 6.147 MB / 0.5383 GB, free: 26.44 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches