Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001002/0.001002, allocations: 193.9 kB / 16.09 MB, free: 5.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 226.5 MB / 243.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000823/0.0008231, allocations: 96.55 kB / 295.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.289/0.289, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002457/0.000246, allocations: 8 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2687, allocations: 62.97 MB / 0.516 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.001493/0.2702, allocations: 1.358 MB / 0.5173 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006382/0.2709, allocations: 0.5063 MB / 0.5178 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.927e-05/0.2709, allocations: 0 / 0.5178 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003834/0.2713, allocations: 444.3 kB / 0.5182 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.2716, allocations: 268.4 kB / 0.5185 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.2718, allocations: 116.2 kB / 0.5186 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.272, allocations: 138 kB / 0.5187 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.837e-05/0.2721, allocations: 17.67 kB / 0.5187 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.907e-05/0.2722, allocations: 104.9 kB / 0.5188 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.2723, allocations: 171 kB / 0.519 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.2723, allocations: 0 / 0.519 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.184e-05/0.2724, allocations: 48.58 kB / 0.519 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.687e-05/0.2725, allocations: 79.19 kB / 0.5191 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.635e-05/0.2726, allocations: 121.8 kB / 0.5192 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.2727, allocations: 199 kB / 0.5194 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.2727, allocations: 3.938 kB / 0.5194 GB, free: 35.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2727, allocations: 0 / 0.5194 GB, free: 35.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.2728, allocations: 4 kB / 0.5194 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004996/0.2733, allocations: 0.6014 MB / 0.52 GB, free: 34.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.2733, allocations: 8.844 kB / 0.52 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.454e-05/0.2733, allocations: 30.75 kB / 0.5201 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.2734, allocations: 48.72 kB / 0.5201 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.2736, allocations: 304.8 kB / 0.5204 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.2736, allocations: 384 / 0.5204 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.2736, allocations: 9 kB / 0.5204 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.2737, allocations: 62.67 kB / 0.5205 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2737, allocations: 5.922 kB / 0.5205 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.2738, allocations: 4 kB / 0.5205 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.2738, allocations: 3.984 kB / 0.5205 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.415e-05/0.2738, allocations: 29.08 kB / 0.5205 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.2742, allocations: 404 kB / 0.5209 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.402e-05/0.2743, allocations: 46.66 kB / 0.5209 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.258e-05/0.2743, allocations: 21.06 kB / 0.5209 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.2744, allocations: 0 / 0.5209 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.205e-05/0.2744, allocations: 30.56 kB / 0.521 GB, free: 34.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.2744, allocations: 4 kB / 0.521 GB, free: 34.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007747/0.2752, allocations: 333.9 kB / 0.5213 GB, free: 33.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.883e-05/0.2752, allocations: 61.94 kB / 0.5214 GB, free: 33.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005807/0.2758, allocations: 0.8734 MB / 0.5222 GB, free: 33.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.695e-06/0.2758, allocations: 25.7 kB / 0.5222 GB, free: 33.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.2759, allocations: 233.8 kB / 0.5225 GB, free: 33.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.2759, allocations: 27.3 kB / 0.5225 GB, free: 33.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.2759, allocations: 0 / 0.5225 GB, free: 33.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.44e-05/0.276, allocations: 366.2 kB / 0.5228 GB, free: 32.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.224e-05/0.2761, allocations: 27.23 kB / 0.5229 GB, free: 32.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.33e-05/0.2762, allocations: 37.62 kB / 0.5229 GB, free: 32.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.2763, allocations: 69.91 kB / 0.523 GB, free: 32.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.2763, allocations: 0 / 0.523 GB, free: 32.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001942/0.2765, allocations: 139.1 kB / 0.5231 GB, free: 32.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.2765, allocations: 8.125 kB / 0.5231 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.2765, allocations: 3.938 kB / 0.5231 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.2766, allocations: 2.781 kB / 0.5231 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.2766, allocations: 25.22 kB / 0.5231 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.2767, allocations: 0 / 0.5231 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.581e-05/0.2767, allocations: 8.922 kB / 0.5231 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.2767, allocations: 6.781 kB / 0.5232 GB, free: 32.84 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.0001505/0.2769, allocations: 212.5 kB / 0.5234 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.2769, allocations: 42.97 kB / 0.5234 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.2772, allocations: 176.7 kB / 0.5236 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.2772, allocations: 6.906 kB / 0.5236 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2772, allocations: 0 / 0.5236 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.2772, allocations: 3.328 kB / 0.5236 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004645/0.2777, allocations: 0.511 MB / 0.5241 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2777, allocations: 0 / 0.5241 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.174e-05/0.2778, allocations: 20.5 kB / 0.5241 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2778, allocations: 0 / 0.5241 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.2778, allocations: 7.031 kB / 0.5241 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2778, allocations: 0 / 0.5241 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2778, allocations: 0 / 0.5241 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.278, allocations: 255.6 kB / 0.5243 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.2781, allocations: 113.5 kB / 0.5244 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.2781, allocations: 6.562 kB / 0.5245 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.2782, allocations: 5.375 kB / 0.5245 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.2782, allocations: 10.05 kB / 0.5245 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.2783, allocations: 3.031 kB / 0.5245 GB, free: 31.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004448/0.2787, allocations: 0.6597 MB / 0.5251 GB, free: 31.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2787, allocations: 0 / 0.5251 GB, free: 31.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.2789, allocations: 28.25 kB / 0.5251 GB, free: 31.64 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.001062/0.28, allocations: 1.135 MB / 0.5263 GB, free: 30.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.2802, allocations: 66.97 kB / 0.5263 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.2802, allocations: 0 / 0.5263 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.836e-05/0.2803, allocations: 52.97 kB / 0.5264 GB, free: 30.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.2806, allocations: 29.05 kB / 0.5264 GB, free: 30.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.2829, allocations: 2.451 MB / 0.5288 GB, free: 29.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.2831, allocations: 0.8283 MB / 0.5296 GB, free: 28.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.669e-05/0.2832, allocations: 113.5 kB / 0.5297 GB, free: 28.84 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2832, allocations: 0 / 0.5297 GB, free: 28.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.722/3.005, allocations: 6.814 MB / 0.5364 GB, free: 27.34 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches