Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 195.4 kB / 16.1 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 226.5 MB / 243.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007821/0.0007821, allocations: 96.41 kB / 295.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.348/0.348, allocations: 44.82 MB / 392.3 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002683/0.0002685, allocations: 12 kB / 465.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2827, allocations: 62.96 MB / 0.516 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.001635/0.2844, allocations: 1.67 MB / 0.5176 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.2856, allocations: 1.126 MB / 0.5187 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.419e-05/0.2857, allocations: 0 / 0.5187 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.2859, allocations: 42.45 kB / 0.5187 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003183/0.2862, allocations: 178.8 kB / 0.5189 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007094/0.2869, allocations: 391.4 kB / 0.5193 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.2872, allocations: 243.3 kB / 0.5195 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.2873, allocations: 56.08 kB / 0.5196 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.2875, allocations: 117.6 kB / 0.5197 GB, free: 34.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.2876, allocations: 159.1 kB / 0.5198 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.2877, allocations: 6.031 kB / 0.5198 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.973e-05/0.2878, allocations: 54.42 kB / 0.5199 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.2879, allocations: 129.1 kB / 0.52 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.254e-05/0.288, allocations: 172.2 kB / 0.5202 GB, free: 34.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.2882, allocations: 295.3 kB / 0.5205 GB, free: 34.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2882, allocations: 0 / 0.5205 GB, free: 34.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.2882, allocations: 0 / 0.5205 GB, free: 34.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.2882, allocations: 0 / 0.5205 GB, free: 34.52 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006505/0.2889, allocations: 0.7252 MB / 0.5212 GB, free: 33.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2889, allocations: 8.188 kB / 0.5212 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.96e-05/0.2889, allocations: 48.81 kB / 0.5212 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.2892, allocations: 75.3 kB / 0.5213 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.2895, allocations: 463.2 kB / 0.5217 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.2896, allocations: 11.28 kB / 0.5217 GB, free: 33.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.2896, allocations: 16.09 kB / 0.5218 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.2898, allocations: 137.5 kB / 0.5219 GB, free: 33.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2898, allocations: 0 / 0.5219 GB, free: 33.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.2898, allocations: 4 kB / 0.5219 GB, free: 33.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2898, allocations: 2.812 kB / 0.5219 GB, free: 33.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.29, allocations: 84.59 kB / 0.522 GB, free: 33.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006343/0.2906, allocations: 0.6958 MB / 0.5227 GB, free: 32.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.2908, allocations: 108.6 kB / 0.5228 GB, free: 32.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.173e-05/0.2909, allocations: 54.39 kB / 0.5228 GB, free: 32.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.2909, allocations: 6.781 kB / 0.5228 GB, free: 32.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.291, allocations: 37.88 kB / 0.5229 GB, free: 32.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.291, allocations: 0 / 0.5229 GB, free: 32.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001138/0.2921, allocations: 0.5569 MB / 0.5234 GB, free: 32.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.2921, allocations: 80.05 kB / 0.5235 GB, free: 32.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006943/0.2928, allocations: 0.9145 MB / 0.5244 GB, free: 32.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.2929, allocations: 25.7 kB / 0.5244 GB, free: 32.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.293, allocations: 266.7 kB / 0.5246 GB, free: 31.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.293, allocations: 60.2 kB / 0.5247 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.293, allocations: 4 kB / 0.5247 GB, free: 31.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.79e-05/0.2931, allocations: 376.6 kB / 0.5251 GB, free: 31.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.2933, allocations: 60.17 kB / 0.5251 GB, free: 31.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.2934, allocations: 81.55 kB / 0.5252 GB, free: 31.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.2937, allocations: 155.2 kB / 0.5253 GB, free: 31.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.2937, allocations: 0 / 0.5253 GB, free: 31.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000368/0.2941, allocations: 245 kB / 0.5256 GB, free: 31.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.2941, allocations: 5.375 kB / 0.5256 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.2941, allocations: 0 / 0.5256 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.2941, allocations: 2.562 kB / 0.5256 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.2943, allocations: 40.73 kB / 0.5256 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2943, allocations: 2.438 kB / 0.5256 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.2944, allocations: 29.17 kB / 0.5257 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.2944, allocations: 5.469 kB / 0.5257 GB, free: 31.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0001348/0.2946, allocations: 207.7 kB / 0.5259 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.448e-05/0.2947, allocations: 57.31 kB / 0.5259 GB, free: 31.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004703/0.2951, allocations: 287.7 kB / 0.5262 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2951, allocations: 2.719 kB / 0.5262 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2952, allocations: 0 / 0.5262 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2952, allocations: 4 kB / 0.5262 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000784/0.296, allocations: 0.7972 MB / 0.527 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.296, allocations: 2.844 kB / 0.527 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.2961, allocations: 40.33 kB / 0.527 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2961, allocations: 2.75 kB / 0.527 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.2961, allocations: 10.08 kB / 0.527 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2961, allocations: 4.312 kB / 0.527 GB, free: 30.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2962, allocations: 4 kB / 0.527 GB, free: 30.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003792/0.2965, allocations: 419.8 kB / 0.5274 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.984e-05/0.2966, allocations: 156.2 kB / 0.5276 GB, free: 30 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.2967, allocations: 6.969 kB / 0.5276 GB, free: 30 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.2969, allocations: 20.27 kB / 0.5276 GB, free: 29.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.2969, allocations: 15.52 kB / 0.5276 GB, free: 29.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.297, allocations: 2.469 kB / 0.5276 GB, free: 29.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005113/0.2975, allocations: 0.675 MB / 0.5283 GB, free: 29.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2975, allocations: 0 / 0.5283 GB, free: 29.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002975/0.2978, allocations: 59.34 kB / 0.5283 GB, free: 29.75 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 (16): * Single equations (assignments): 16 * 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.00114/0.2989, allocations: 1.243 MB / 0.5296 GB, free: 28.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003412/0.2993, allocations: 160.4 kB / 0.5297 GB, free: 28.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2993, allocations: 3.125 kB / 0.5297 GB, free: 28.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.2994, allocations: 89.12 kB / 0.5298 GB, free: 28.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.3, allocations: 73.25 kB / 0.5299 GB, free: 28.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.3032, allocations: 3.271 MB / 0.5331 GB, free: 27.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.3035, allocations: 0.8578 MB / 0.5339 GB, free: 26.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.3037, allocations: 178.7 kB / 0.5341 GB, free: 26.53 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3037, allocations: 0 / 0.5341 GB, free: 26.53 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.11/3.414, allocations: 7.449 MB / 0.5413 GB, free: 25.66 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches