Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001178/0.001179, 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.256/1.256, allocations: 226.5 MB / 243.4 MB, free: 6.398 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006977/0.0006976, allocations: 93.58 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2967/0.2967, allocations: 44.82 MB / 392.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002675/0.0002676, allocations: 8 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2848, allocations: 62.95 MB / 0.516 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.001701/0.2865, allocations: 1.305 MB / 0.5172 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007545/0.2873, allocations: 0.4965 MB / 0.5177 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.531e-05/0.2874, allocations: 0 / 0.5177 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004357/0.2878, allocations: 441.4 kB / 0.5181 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000344/0.2882, allocations: 266 kB / 0.5184 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.2885, allocations: 111.1 kB / 0.5185 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.2887, allocations: 125.2 kB / 0.5186 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.2888, allocations: 10.64 kB / 0.5186 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.2889, allocations: 108.8 kB / 0.5187 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.2891, allocations: 165.5 kB / 0.5189 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.2892, allocations: 2.812 kB / 0.5189 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.248e-05/0.2892, allocations: 15.62 kB / 0.5189 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.501e-05/0.2893, allocations: 80.77 kB / 0.519 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.625e-05/0.2894, allocations: 115.2 kB / 0.5191 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.2896, allocations: 177.5 kB / 0.5193 GB, free: 35.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2896, allocations: 0 / 0.5193 GB, free: 35.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2896, allocations: 4 kB / 0.5193 GB, free: 35.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.2896, allocations: 0 / 0.5193 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005618/0.2902, allocations: 0.5983 MB / 0.5199 GB, free: 34.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.2902, allocations: 8.625 kB / 0.5199 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.841e-05/0.2903, allocations: 34.08 kB / 0.5199 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.2903, allocations: 44.69 kB / 0.5199 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.2905, allocations: 297.3 kB / 0.5202 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.2905, allocations: 384 / 0.5202 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.2906, allocations: 14.77 kB / 0.5202 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.2907, allocations: 56.19 kB / 0.5203 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.2907, allocations: 0 / 0.5203 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.2907, allocations: 0 / 0.5203 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.2907, allocations: 0 / 0.5203 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.812e-05/0.2908, allocations: 25.97 kB / 0.5203 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.2912, allocations: 386.3 kB / 0.5207 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.598e-05/0.2913, allocations: 30.73 kB / 0.5207 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.082e-05/0.2913, allocations: 13.8 kB / 0.5207 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.2914, allocations: 0 / 0.5207 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.2914, allocations: 33.94 kB / 0.5208 GB, free: 34.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.2914, allocations: 11.88 kB / 0.5208 GB, free: 34.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002418/0.2916, allocations: 99.38 kB / 0.5209 GB, free: 34.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.2917, allocations: 54.83 kB / 0.5209 GB, free: 34.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006427/0.2923, allocations: 0.8716 MB / 0.5218 GB, free: 33.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.2923, allocations: 25.7 kB / 0.5218 GB, free: 33.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.2925, allocations: 224.1 kB / 0.522 GB, free: 33.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.2925, allocations: 11.91 kB / 0.522 GB, free: 33.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/0.2925, allocations: 0 / 0.522 GB, free: 33.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.225e-05/0.2926, allocations: 361.5 kB / 0.5224 GB, free: 33.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.989e-05/0.2926, allocations: 9.906 kB / 0.5224 GB, free: 33.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.014e-05/0.2927, allocations: 12.06 kB / 0.5224 GB, free: 33.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.673e-05/0.2927, allocations: 34.88 kB / 0.5224 GB, free: 33.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2927, allocations: 0 / 0.5224 GB, free: 33.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001323/0.2929, allocations: 92.5 kB / 0.5225 GB, free: 33.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2929, allocations: 9.062 kB / 0.5225 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2929, allocations: 0 / 0.5225 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.2929, allocations: 0 / 0.5225 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.966e-05/0.293, allocations: 6 kB / 0.5225 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.293, allocations: 4.031 kB / 0.5225 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.2931, allocations: 3 kB / 0.5225 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.2931, allocations: 7.406 kB / 0.5225 GB, free: 33.05 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 (2): * Single equations (assignments): 2 * 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.0001303/0.2932, allocations: 207.4 kB / 0.5227 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.2933, allocations: 40.31 kB / 0.5228 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.2934, allocations: 121.5 kB / 0.5229 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2934, allocations: 0 / 0.5229 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2934, allocations: 0 / 0.5229 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.2935, allocations: 6.688 kB / 0.5229 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.2937, allocations: 292.5 kB / 0.5232 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2937, allocations: 0 / 0.5232 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.2937, allocations: 5.844 kB / 0.5232 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.2937, allocations: 0 / 0.5232 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.2937, allocations: 0 / 0.5232 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2937, allocations: 4 kB / 0.5232 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2937, allocations: 32 / 0.5232 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.2939, allocations: 200.5 kB / 0.5234 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.2939, allocations: 112.3 kB / 0.5235 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.294, allocations: 0 / 0.5235 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.104e-05/0.294, allocations: 5.062 kB / 0.5235 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.2941, allocations: 4.031 kB / 0.5235 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.2941, allocations: 3.375 kB / 0.5235 GB, free: 32.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004629/0.2946, allocations: 0.6626 MB / 0.5241 GB, free: 32.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2946, allocations: 0 / 0.5241 GB, free: 32.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000235/0.2948, allocations: 24.12 kB / 0.5242 GB, free: 32.05 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 (2): * Single equations (assignments): 2 * 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.0008977/0.2957, allocations: 0.9583 MB / 0.5251 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.2958, allocations: 37.44 kB / 0.5251 GB, free: 31.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2959, allocations: 0 / 0.5251 GB, free: 31.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.859e-05/0.2959, allocations: 7.938 kB / 0.5251 GB, free: 31.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.2962, allocations: 35.59 kB / 0.5252 GB, free: 31.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.2985, allocations: 2.305 MB / 0.5274 GB, free: 30.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.2988, allocations: 0.8178 MB / 0.5282 GB, free: 29.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.039e-05/0.2989, allocations: 111.1 kB / 0.5283 GB, free: 29.41 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2989, allocations: 0 / 0.5283 GB, free: 29.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.862/3.161, allocations: 6.326 MB / 0.5345 GB, free: 28.01 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches