Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.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.Test26,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test26,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001497/0.001497, 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.202/1.202, allocations: 226.5 MB / 243.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007034/0.0007034, allocations: 101.2 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.2882/0.2882, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002815/0.0002815, allocations: 8 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2796, allocations: 62.96 MB / 0.516 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.001521/0.2812, allocations: 1.371 MB / 0.5173 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006312/0.2818, allocations: 0.5028 MB / 0.5178 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.001e-05/0.2819, allocations: 0 / 0.5178 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.2821, allocations: 49.83 kB / 0.5178 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.2822, allocations: 78.12 kB / 0.5179 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.2825, allocations: 112.8 kB / 0.518 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.2826, allocations: 68.56 kB / 0.5181 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.733e-05/0.2827, allocations: 25.17 kB / 0.5181 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.315e-05/0.2828, allocations: 19.05 kB / 0.5181 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.088e-05/0.2828, allocations: 45.45 kB / 0.5182 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.2829, allocations: 3.906 kB / 0.5182 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.792e-05/0.2829, allocations: 37.58 kB / 0.5182 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.871e-05/0.283, allocations: 19.83 kB / 0.5182 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.283, allocations: 58.95 kB / 0.5183 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.2832, allocations: 79.75 kB / 0.5184 GB, free: 35.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2832, allocations: 0 / 0.5184 GB, free: 35.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2832, allocations: 0 / 0.5184 GB, free: 35.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.2832, allocations: 7.938 kB / 0.5184 GB, free: 35.55 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.0003755/0.2836, allocations: 412.9 kB / 0.5188 GB, free: 35.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.2836, allocations: 11.59 kB / 0.5188 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.931e-05/0.2836, allocations: 38.08 kB / 0.5188 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.586e-05/0.2837, allocations: 14.41 kB / 0.5188 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.2838, allocations: 194.4 kB / 0.519 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.2838, allocations: 11.34 kB / 0.519 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.2839, allocations: 2.875 kB / 0.519 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.284, allocations: 75.44 kB / 0.5191 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.284, allocations: 0 / 0.5191 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.284, allocations: 0 / 0.5191 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2841, allocations: 2.844 kB / 0.5191 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.2842, allocations: 51.09 kB / 0.5191 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.2845, allocations: 301.2 kB / 0.5194 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.2847, allocations: 62.48 kB / 0.5195 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.763e-05/0.2848, allocations: 39.28 kB / 0.5195 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.2848, allocations: 0 / 0.5195 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.2848, allocations: 36.55 kB / 0.5196 GB, free: 34.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 9.21e-07/0.2848, allocations: 0 / 0.5196 GB, free: 34.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.00127/0.2861, allocations: 471.7 kB / 0.52 GB, free: 34.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.2861, allocations: 54.22 kB / 0.5201 GB, free: 34.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.2862, allocations: 188.1 kB / 0.5202 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.2863, allocations: 25.7 kB / 0.5203 GB, free: 34.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.2863, allocations: 117 kB / 0.5204 GB, free: 33.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.2863, allocations: 36.58 kB / 0.5204 GB, free: 33.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.2863, allocations: 0 / 0.5204 GB, free: 33.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.2864, allocations: 328.3 kB / 0.5207 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.2865, allocations: 45.44 kB / 0.5208 GB, free: 33.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.2866, allocations: 54.31 kB / 0.5208 GB, free: 33.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.2868, allocations: 115.1 kB / 0.5209 GB, free: 33.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.2869, allocations: 0 / 0.5209 GB, free: 33.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002854/0.2871, allocations: 162.7 kB / 0.5211 GB, free: 33.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.2872, allocations: 9.312 kB / 0.5211 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2872, allocations: 0 / 0.5211 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2872, allocations: 3.938 kB / 0.5211 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.2873, allocations: 36.47 kB / 0.5211 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2873, allocations: 3.938 kB / 0.5211 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.111e-05/0.2874, allocations: 15.59 kB / 0.5212 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.2874, allocations: 7.266 kB / 0.5212 GB, free: 33.47 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 (11): * Single equations (assignments): 11 * 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 6.491e-05/0.2875, allocations: 127.9 kB / 0.5213 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.2875, allocations: 13.28 kB / 0.5213 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003242/0.2878, allocations: 182.4 kB / 0.5215 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2878, allocations: 7.219 kB / 0.5215 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2879, allocations: 4 kB / 0.5215 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2879, allocations: 0 / 0.5215 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/0.2884, allocations: 496.9 kB / 0.522 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2884, allocations: 2.844 kB / 0.522 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.938e-05/0.2885, allocations: 30.78 kB / 0.522 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2885, allocations: 0 / 0.522 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-06/0.2885, allocations: 5.578 kB / 0.522 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2885, allocations: 2.625 kB / 0.522 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2885, allocations: 0 / 0.522 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.2888, allocations: 273.2 kB / 0.5223 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.2888, allocations: 93.75 kB / 0.5223 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.2888, allocations: 3.312 kB / 0.5224 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.128e-05/0.2889, allocations: 16.25 kB / 0.5224 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.289, allocations: 8.891 kB / 0.5224 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.289, allocations: 2.938 kB / 0.5224 GB, free: 32.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.494e-05/0.2891, allocations: 156 kB / 0.5225 GB, free: 32.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2891, allocations: 0 / 0.5225 GB, free: 32.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002281/0.2893, allocations: 25.53 kB / 0.5226 GB, free: 32.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001176/0.2905, allocations: 1.143 MB / 0.5237 GB, free: 31.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002738/0.2908, allocations: 121.7 kB / 0.5238 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.2908, allocations: 7.094 kB / 0.5238 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.2909, allocations: 58.17 kB / 0.5238 GB, free: 31.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.2913, allocations: 24.3 kB / 0.5239 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.2924, allocations: 0.9011 MB / 0.5247 GB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.2925, allocations: 0.7118 MB / 0.5254 GB, free: 30.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.28e-05/0.2926, allocations: 41.98 kB / 0.5255 GB, free: 30.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2926, allocations: 0 / 0.5255 GB, free: 30.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.8/3.093, allocations: 2.328 MB / 0.5278 GB, free: 30 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test26_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test26.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches