Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.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.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001049/0.001049, allocations: 200.8 kB / 16.1 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, 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.0007398/0.0007401, allocations: 106.8 kB / 295.5 MB, free: 6.852 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3939/0.3939, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002627/0.0002627, allocations: 15.94 kB / 465.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2871, allocations: 62.95 MB / 0.516 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.001773/0.2889, allocations: 1.685 MB / 0.5176 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.2902, allocations: 1.044 MB / 0.5186 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.547e-05/0.2903, allocations: 2.75 kB / 0.5186 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003785/0.2907, allocations: 249.6 kB / 0.5189 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.291, allocations: 229.8 kB / 0.5191 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.2921, allocations: 0.6058 MB / 0.5197 GB, free: 34.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.2924, allocations: 300.5 kB / 0.52 GB, free: 34.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.2925, allocations: 73.48 kB / 0.52 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.858e-05/0.2926, allocations: 123.2 kB / 0.5201 GB, free: 34.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.2928, allocations: 167.3 kB / 0.5203 GB, free: 34.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.2928, allocations: 3 kB / 0.5203 GB, free: 34.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.293, allocations: 62.47 kB / 0.5204 GB, free: 34.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.313e-05/0.2931, allocations: 88.7 kB / 0.5205 GB, free: 34.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.527e-05/0.2931, allocations: 128.9 kB / 0.5206 GB, free: 34.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.2934, allocations: 261.7 kB / 0.5208 GB, free: 34.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2934, allocations: 0 / 0.5208 GB, free: 34.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2934, allocations: 0 / 0.5208 GB, free: 34.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.2934, allocations: 0 / 0.5208 GB, free: 34.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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005488/0.2939, allocations: 0.6326 MB / 0.5214 GB, free: 33.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.294, allocations: 10.81 kB / 0.5215 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.311e-05/0.294, allocations: 41.75 kB / 0.5215 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.2941, allocations: 49.2 kB / 0.5215 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.2944, allocations: 345.8 kB / 0.5219 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.2944, allocations: 10.28 kB / 0.5219 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.2944, allocations: 10.31 kB / 0.5219 GB, free: 33.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.2947, allocations: 125 kB / 0.522 GB, free: 33.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.2947, allocations: 0 / 0.522 GB, free: 33.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2947, allocations: 6.969 kB / 0.522 GB, free: 33.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2947, allocations: 2.969 kB / 0.522 GB, free: 33.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.2949, allocations: 101 kB / 0.5221 GB, free: 33.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005342/0.2955, allocations: 0.5214 MB / 0.5226 GB, free: 32.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.2956, allocations: 118.6 kB / 0.5227 GB, free: 32.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.693e-05/0.2957, allocations: 39.89 kB / 0.5228 GB, free: 32.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.2957, allocations: 2.969 kB / 0.5228 GB, free: 32.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.2958, allocations: 38.5 kB / 0.5228 GB, free: 32.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.2958, allocations: 3.094 kB / 0.5228 GB, free: 32.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008329/0.2966, allocations: 454.1 kB / 0.5233 GB, free: 32.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.2966, allocations: 58.22 kB / 0.5233 GB, free: 32.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/0.2971, allocations: 0.6022 MB / 0.5239 GB, free: 32.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.2971, allocations: 32.64 kB / 0.5239 GB, free: 32.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.2972, allocations: 223.3 kB / 0.5241 GB, free: 32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.2973, allocations: 52.03 kB / 0.5242 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.2973, allocations: 2.781 kB / 0.5242 GB, free: 31.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.088e-05/0.2974, allocations: 358.3 kB / 0.5245 GB, free: 31.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.2975, allocations: 69.64 kB / 0.5246 GB, free: 31.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.2976, allocations: 73.67 kB / 0.5247 GB, free: 31.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.2978, allocations: 171.7 kB / 0.5248 GB, free: 31.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.2979, allocations: 0 / 0.5248 GB, free: 31.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003079/0.2982, allocations: 233.6 kB / 0.5251 GB, free: 31.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2982, allocations: 8.812 kB / 0.5251 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2982, allocations: 6.438 kB / 0.5251 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2982, allocations: 0 / 0.5251 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.2984, allocations: 32.16 kB / 0.5251 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2984, allocations: 3.938 kB / 0.5251 GB, free: 31.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.713e-05/0.2985, allocations: 23.38 kB / 0.5251 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.2985, allocations: 5.281 kB / 0.5251 GB, free: 31.39 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 (17): * Single equations (assignments): 17 * 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.000143/0.2986, allocations: 182.8 kB / 0.5253 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.2987, allocations: 45.53 kB / 0.5254 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004236/0.2991, allocations: 290.5 kB / 0.5256 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2991, allocations: 0 / 0.5256 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2991, allocations: 0 / 0.5256 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2991, allocations: 6.812 kB / 0.5256 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006794/0.2998, allocations: 0.7034 MB / 0.5263 GB, free: 30.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2998, allocations: 0 / 0.5263 GB, free: 30.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.2999, allocations: 40.67 kB / 0.5264 GB, free: 30.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3, allocations: 0 / 0.5264 GB, free: 30.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3, allocations: 2.594 kB / 0.5264 GB, free: 30.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3, allocations: 3.938 kB / 0.5264 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3, allocations: 3.188 kB / 0.5264 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.3003, allocations: 341.4 kB / 0.5267 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.207e-05/0.3004, allocations: 129.7 kB / 0.5268 GB, free: 30.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.3004, allocations: 2.781 kB / 0.5268 GB, free: 30.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.97e-05/0.3005, allocations: 17.59 kB / 0.5268 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.3006, allocations: 15.73 kB / 0.5269 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.3006, allocations: 6.656 kB / 0.5269 GB, free: 30.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003435/0.3009, allocations: 444.2 kB / 0.5273 GB, free: 30.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.301, allocations: 0 / 0.5273 GB, free: 30.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002733/0.3012, allocations: 54.38 kB / 0.5273 GB, free: 30.11 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 (17): * Single equations (assignments): 17 * 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.001724/0.303, allocations: 1.469 MB / 0.5288 GB, free: 29.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003004/0.3033, allocations: 169.8 kB / 0.5289 GB, free: 29.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3033, allocations: 0 / 0.5289 GB, free: 29.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.3034, allocations: 97.39 kB / 0.529 GB, free: 29.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.3039, allocations: 71.73 kB / 0.5291 GB, free: 29.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.3065, allocations: 2.308 MB / 0.5313 GB, free: 27.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.3068, allocations: 0.8326 MB / 0.5322 GB, free: 27.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.307, allocations: 139.2 kB / 0.5323 GB, free: 27.11 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.307, allocations: 0 / 0.5323 GB, free: 27.11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.172/3.479, allocations: 6.155 MB / 0.5383 GB, free: 26.36 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches