Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001165/0.001165, allocations: 199.7 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.335/1.335, allocations: 226.5 MB / 243.4 MB, free: 8.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007847/0.0007846, allocations: 96.78 kB / 295.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2996/0.2996, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002693/0.0002696, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2871, allocations: 62.96 MB / 0.516 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.001443/0.2886, allocations: 1.309 MB / 0.5172 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006605/0.2893, allocations: 0.4968 MB / 0.5177 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.2893, allocations: 0 / 0.5177 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004022/0.2898, allocations: 444.6 kB / 0.5182 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.2901, allocations: 269.3 kB / 0.5184 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.2904, allocations: 107.3 kB / 0.5185 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.2905, allocations: 138.1 kB / 0.5186 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.327e-05/0.2906, allocations: 14.16 kB / 0.5187 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.826e-05/0.2907, allocations: 99.86 kB / 0.5188 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.2909, allocations: 170.7 kB / 0.5189 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.2909, allocations: 0 / 0.5189 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.957e-05/0.291, allocations: 24.61 kB / 0.5189 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.766e-05/0.291, allocations: 80.17 kB / 0.519 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.173e-05/0.2911, allocations: 119 kB / 0.5191 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.2913, allocations: 178.3 kB / 0.5193 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2913, allocations: 0 / 0.5193 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2913, allocations: 4 kB / 0.5193 GB, free: 35.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.2913, allocations: 2.969 kB / 0.5193 GB, free: 35.45 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.0005217/0.2918, allocations: 0.5984 MB / 0.5199 GB, free: 34.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2919, allocations: 12.03 kB / 0.5199 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.793e-05/0.2919, allocations: 30.75 kB / 0.5199 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.2919, allocations: 42.78 kB / 0.52 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.2921, allocations: 305.6 kB / 0.5203 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.2922, allocations: 4.312 kB / 0.5203 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.2922, allocations: 11.25 kB / 0.5203 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.2923, allocations: 55.64 kB / 0.5203 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2923, allocations: 0 / 0.5203 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.2923, allocations: 0 / 0.5203 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2923, allocations: 0 / 0.5203 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.2925, allocations: 41.19 kB / 0.5204 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.2928, allocations: 391.5 kB / 0.5207 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.2929, allocations: 43.83 kB / 0.5208 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.075e-05/0.293, allocations: 33.58 kB / 0.5208 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.293, allocations: 0 / 0.5208 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/0.293, allocations: 33.38 kB / 0.5208 GB, free: 34.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.293, allocations: 0 / 0.5208 GB, free: 34.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002866/0.2933, allocations: 130.1 kB / 0.521 GB, free: 34.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.033e-05/0.2934, allocations: 54.83 kB / 0.521 GB, free: 33.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006049/0.294, allocations: 0.8668 MB / 0.5219 GB, free: 33.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.294, allocations: 25.7 kB / 0.5219 GB, free: 33.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.2941, allocations: 218 kB / 0.5221 GB, free: 33.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.2941, allocations: 6.844 kB / 0.5221 GB, free: 33.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.2941, allocations: 8 kB / 0.5221 GB, free: 33.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.315e-05/0.2942, allocations: 360.3 kB / 0.5225 GB, free: 33.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.969e-05/0.2943, allocations: 18.09 kB / 0.5225 GB, free: 33.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.92e-05/0.2943, allocations: 20.38 kB / 0.5225 GB, free: 33.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.2944, allocations: 49.38 kB / 0.5225 GB, free: 33.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2944, allocations: 0 / 0.5225 GB, free: 33.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001577/0.2946, allocations: 112.1 kB / 0.5227 GB, free: 33.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.2946, allocations: 5.656 kB / 0.5227 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.2946, allocations: 4 kB / 0.5227 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.2946, allocations: 0 / 0.5227 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-05/0.2947, allocations: 12.08 kB / 0.5227 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.2947, allocations: 0 / 0.5227 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.702e-05/0.2948, allocations: 13.17 kB / 0.5227 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.2948, allocations: 2.812 kB / 0.5227 GB, free: 33.01 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 (3): * Single equations (assignments): 3 * 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.0001273/0.2949, allocations: 212.4 kB / 0.5229 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.295, allocations: 41.17 kB / 0.5229 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.2952, allocations: 131.6 kB / 0.5231 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2952, allocations: 10.34 kB / 0.5231 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2952, allocations: 0 / 0.5231 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.2952, allocations: 0 / 0.5231 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.2954, allocations: 294.3 kB / 0.5233 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2954, allocations: 4 kB / 0.5233 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.646e-05/0.2955, allocations: 16.28 kB / 0.5234 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2955, allocations: 0 / 0.5234 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.2955, allocations: 0 / 0.5234 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2955, allocations: 0 / 0.5234 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2955, allocations: 0 / 0.5234 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.2957, allocations: 212 kB / 0.5236 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.2957, allocations: 112.7 kB / 0.5237 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.2958, allocations: 7.266 kB / 0.5237 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.909e-05/0.2959, allocations: 5.875 kB / 0.5237 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.2959, allocations: 5.703 kB / 0.5237 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.2959, allocations: 0 / 0.5237 GB, free: 32.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004452/0.2964, allocations: 0.6606 MB / 0.5243 GB, free: 32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2964, allocations: 0 / 0.5243 GB, free: 32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.2966, allocations: 20.05 kB / 0.5244 GB, free: 32 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 (3): * Single equations (assignments): 3 * 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.0008915/0.2975, allocations: 0.9809 MB / 0.5253 GB, free: 31.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.2977, allocations: 46.84 kB / 0.5254 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2977, allocations: 6.5 kB / 0.5254 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.783e-05/0.2977, allocations: 17.19 kB / 0.5254 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.2981, allocations: 23.88 kB / 0.5254 GB, free: 31.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.3003, allocations: 2.338 MB / 0.5277 GB, free: 30.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.3006, allocations: 0.8246 MB / 0.5285 GB, free: 29.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.748e-05/0.3007, allocations: 107.7 kB / 0.5286 GB, free: 29.36 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3007, allocations: 0 / 0.5286 GB, free: 29.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.766/3.067, allocations: 6.381 MB / 0.5348 GB, free: 27.94 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches