Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009747/0.0009748, allocations: 200.8 kB / 16.1 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.22/1.22, allocations: 226.5 MB / 243.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007533/0.0007534, allocations: 113.1 kB / 295.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2836/0.2836, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003108, allocations: 15.92 kB / 465.4 MB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2957, allocations: 62.96 MB / 0.516 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.001403/0.2971, allocations: 1.359 MB / 0.5173 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000595/0.2977, allocations: 0.5069 MB / 0.5178 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.2978, allocations: 0 / 0.5178 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003725/0.2982, allocations: 440.3 kB / 0.5182 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.2984, allocations: 274.7 kB / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.2987, allocations: 115 kB / 0.5186 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.2988, allocations: 142.5 kB / 0.5187 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.905e-05/0.2989, allocations: 16.77 kB / 0.5187 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.469e-05/0.299, allocations: 110.3 kB / 0.5188 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.2992, allocations: 164.7 kB / 0.519 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.2992, allocations: 7.094 kB / 0.519 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.889e-05/0.2993, allocations: 38.44 kB / 0.519 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.263e-05/0.2993, allocations: 89.02 kB / 0.5191 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.2994, allocations: 116.7 kB / 0.5192 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.2996, allocations: 201.7 kB / 0.5194 GB, free: 35.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2996, allocations: 3.938 kB / 0.5194 GB, free: 35.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2996, allocations: 0 / 0.5194 GB, free: 35.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.2996, allocations: 0 / 0.5194 GB, free: 35.24 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.000458/0.3001, allocations: 0.5919 MB / 0.52 GB, free: 34.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.3001, allocations: 19.72 kB / 0.52 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.183e-05/0.3002, allocations: 38.22 kB / 0.5201 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.3002, allocations: 44.81 kB / 0.5201 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.3004, allocations: 299.4 kB / 0.5204 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.216e-06/0.3004, allocations: 3.281 kB / 0.5204 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.3004, allocations: 7.219 kB / 0.5204 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.3005, allocations: 61.73 kB / 0.5205 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3006, allocations: 3.938 kB / 0.5205 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.3006, allocations: 0 / 0.5205 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3006, allocations: 4 kB / 0.5205 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.815e-05/0.3007, allocations: 29.75 kB / 0.5205 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.301, allocations: 396.9 kB / 0.5209 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.809e-05/0.3011, allocations: 53.42 kB / 0.5209 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.3012, allocations: 21.02 kB / 0.5209 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.3012, allocations: 3.984 kB / 0.521 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/0.3012, allocations: 37.34 kB / 0.521 GB, free: 33.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3012, allocations: 0 / 0.521 GB, free: 33.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008133/0.302, allocations: 335.1 kB / 0.5213 GB, free: 33.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/0.3021, allocations: 58.34 kB / 0.5214 GB, free: 33.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005955/0.3027, allocations: 0.8728 MB / 0.5222 GB, free: 33.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.196e-06/0.3027, allocations: 29.64 kB / 0.5222 GB, free: 33.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.3028, allocations: 226.9 kB / 0.5225 GB, free: 33.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.3028, allocations: 28.91 kB / 0.5225 GB, free: 33.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.3028, allocations: 2.562 kB / 0.5225 GB, free: 33.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.269e-05/0.3029, allocations: 367.6 kB / 0.5228 GB, free: 32.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.269e-05/0.303, allocations: 28.42 kB / 0.5229 GB, free: 32.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-05/0.3031, allocations: 38.62 kB / 0.5229 GB, free: 32.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.3032, allocations: 68.77 kB / 0.523 GB, free: 32.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.3032, allocations: 0 / 0.523 GB, free: 32.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000191/0.3034, allocations: 140.4 kB / 0.5231 GB, free: 32.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.3034, allocations: 6.031 kB / 0.5231 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3034, allocations: 0 / 0.5231 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3035, allocations: 4 kB / 0.5231 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.962e-05/0.3035, allocations: 27.8 kB / 0.5231 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3036, allocations: 0 / 0.5231 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.733e-05/0.3036, allocations: 6 kB / 0.5231 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.3036, allocations: 10.12 kB / 0.5232 GB, free: 32.63 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 (8): * Single equations (assignments): 8 * 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.00013/0.3038, allocations: 209.5 kB / 0.5234 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.3038, allocations: 43.84 kB / 0.5234 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.3041, allocations: 172.7 kB / 0.5236 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3041, allocations: 7.219 kB / 0.5236 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.3041, allocations: 0 / 0.5236 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/0.3041, allocations: 3.375 kB / 0.5236 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.3046, allocations: 0.507 MB / 0.5241 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3046, allocations: 2.75 kB / 0.5241 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.373e-05/0.3047, allocations: 23.06 kB / 0.5241 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3047, allocations: 4.031 kB / 0.5241 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.3047, allocations: 2.844 kB / 0.5241 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3047, allocations: 0 / 0.5241 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3047, allocations: 0 / 0.5241 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.305, allocations: 252.5 kB / 0.5243 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.305, allocations: 118.4 kB / 0.5245 GB, free: 31.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.305, allocations: 2.062 kB / 0.5245 GB, free: 31.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.662e-05/0.3051, allocations: 9.516 kB / 0.5245 GB, free: 31.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.3052, allocations: 2.562 kB / 0.5245 GB, free: 31.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.3052, allocations: 10.03 kB / 0.5245 GB, free: 31.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004481/0.3056, allocations: 0.659 MB / 0.5251 GB, free: 31.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3056, allocations: 7.938 kB / 0.5251 GB, free: 31.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000238/0.3059, allocations: 24.97 kB / 0.5251 GB, free: 31.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001082/0.307, allocations: 1.123 MB / 0.5262 GB, free: 30.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001872/0.3072, allocations: 72.8 kB / 0.5263 GB, free: 30.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3072, allocations: 0 / 0.5263 GB, free: 30.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.944e-05/0.3073, allocations: 49.33 kB / 0.5264 GB, free: 30.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.3076, allocations: 27.19 kB / 0.5264 GB, free: 30.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.3099, allocations: 2.459 MB / 0.5288 GB, free: 29.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.3101, allocations: 0.8252 MB / 0.5296 GB, free: 28.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.3103, allocations: 107 kB / 0.5297 GB, free: 28.64 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3103, allocations: 2.875 kB / 0.5297 GB, free: 28.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.763/3.073, allocations: 6.815 MB / 0.5364 GB, free: 27.14 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches