Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009045/0.0009042, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.222/1.222, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006952/0.0006952, allocations: 85.48 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2716/0.2716, allocations: 43.56 MB / 363.1 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003137, allocations: 12 kB / 432.1 MB, free: 5.504 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08927/0.0896, allocations: 58.85 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.001909/0.09155, allocations: 1.601 MB / 492.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009238/0.09249, allocations: 0.6279 MB / 493.1 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.461e-05/0.09257, allocations: 0 / 493.1 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003778/0.09295, allocations: 243.5 kB / 493.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.09321, allocations: 171.5 kB / 493.6 MB, free: 7.918 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000821/0.09404, allocations: 415.2 kB / 494 MB, free: 7.512 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.0943, allocations: 227.4 kB / 494.2 MB, free: 7.289 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.09445, allocations: 68.97 kB / 494.2 MB, free: 7.223 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.09456, allocations: 107.5 kB / 494.4 MB, free: 7.117 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.09474, allocations: 155.4 kB / 494.5 MB, free: 6.965 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.09477, allocations: 8 kB / 494.5 MB, free: 6.957 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.09488, allocations: 51.98 kB / 494.6 MB, free: 6.906 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.96e-05/0.09497, allocations: 79.67 kB / 494.6 MB, free: 6.828 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.401e-05/0.09506, allocations: 128.9 kB / 494.8 MB, free: 6.695 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.09529, allocations: 227.5 kB / 495 MB, free: 6.473 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.0953, allocations: 0 / 495 MB, free: 6.473 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.09531, allocations: 0 / 495 MB, free: 6.473 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.09532, allocations: 0 / 495 MB, free: 6.473 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.0006007/0.09592, allocations: 0.5953 MB / 495.6 MB, free: 5.828 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.09597, allocations: 16.03 kB / 495.6 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.526e-05/0.09601, allocations: 34.75 kB / 495.6 MB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/0.09606, allocations: 44.45 kB / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.09635, allocations: 318.2 kB / 496 MB, free: 5.375 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.09636, allocations: 4.375 kB / 496 MB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.0964, allocations: 12.38 kB / 496 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.09661, allocations: 109.5 kB / 496.1 MB, free: 5.246 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.09663, allocations: 3.984 kB / 496.1 MB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.09665, allocations: 8 kB / 496.1 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.09666, allocations: 4 kB / 496.1 MB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.09681, allocations: 71.95 kB / 496.2 MB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005658/0.09738, allocations: 0.4885 MB / 496.7 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.09754, allocations: 94.47 kB / 496.8 MB, free: 4.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.942e-05/0.09762, allocations: 36.84 kB / 496.8 MB, free: 4.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.09765, allocations: 4 kB / 496.8 MB, free: 4.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.09769, allocations: 42.48 kB / 496.9 MB, free: 4.426 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.09769, allocations: 4 kB / 496.9 MB, free: 4.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008511/0.09855, allocations: 388 kB / 497.2 MB, free: 4.035 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.0986, allocations: 59.41 kB / 497.3 MB, free: 3.965 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004995/0.0991, allocations: 0.5369 MB / 497.8 MB, free: 3.414 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.09913, allocations: 37.64 kB / 497.9 MB, free: 3.371 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.09926, allocations: 204.3 kB / 498.1 MB, free: 3.168 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.09931, allocations: 59.11 kB / 498.1 MB, free: 3.109 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.09932, allocations: 4 kB / 498.1 MB, free: 3.105 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.09946, allocations: 350.8 kB / 498.5 MB, free: 2.754 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.09958, allocations: 51.97 kB / 498.5 MB, free: 2.703 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.09969, allocations: 55.97 kB / 498.6 MB, free: 2.648 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.09992, allocations: 132.4 kB / 498.7 MB, free: 2.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.09993, allocations: 4 kB / 498.7 MB, free: 2.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003143/0.1002, allocations: 193.1 kB / 498.9 MB, free: 2.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.1003, allocations: 7.984 kB / 498.9 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1003, allocations: 7.938 kB / 498.9 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1003, allocations: 4 kB / 498.9 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.1004, allocations: 39.92 kB / 499 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1004, allocations: 4 kB / 499 MB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.022e-05/0.1005, allocations: 11.98 kB / 499 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.1005, allocations: 8 kB / 499 MB, free: 2.238 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.0001363/0.1007, allocations: 169.8 kB / 499.2 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.1007, allocations: 35.53 kB / 499.2 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004068/0.1011, allocations: 249.3 kB / 499.4 MB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1012, allocations: 0 / 499.4 MB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1012, allocations: 7.984 kB / 499.4 MB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1012, allocations: 0 / 499.4 MB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006928/0.1019, allocations: 0.6383 MB / 0.4884 GB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1019, allocations: 0 / 0.4884 GB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.102, allocations: 39.92 kB / 0.4884 GB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.102, allocations: 0 / 0.4884 GB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.102, allocations: 11.92 kB / 0.4884 GB, free: 1.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.102, allocations: 7.938 kB / 0.4884 GB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.102, allocations: 0 / 0.4884 GB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.1024, allocations: 298.9 kB / 0.4887 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.1025, allocations: 120.6 kB / 0.4888 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.1025, allocations: 12 kB / 0.4888 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.593e-05/0.1026, allocations: 11.94 kB / 0.4888 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.1026, allocations: 15.97 kB / 0.4889 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.1027, allocations: 4 kB / 0.4889 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003593/0.103, allocations: 411.1 kB / 0.4892 GB, free: 136 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.103, allocations: 0 / 0.4892 GB, free: 136 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.000258/0.1033, allocations: 44 kB / 0.4893 GB, free: 92 kB / 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.153/0.2563, allocations: 1.437 MB / 0.4907 GB, free: 42.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.2566, allocations: 139.3 kB / 0.4908 GB, free: 42.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2567, allocations: 0 / 0.4908 GB, free: 42.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.2568, allocations: 81.02 kB / 0.4909 GB, free: 42.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.2573, allocations: 66.06 kB / 0.491 GB, free: 42.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.2596, allocations: 2.008 MB / 0.4929 GB, free: 41.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.2599, allocations: 0.81 MB / 0.4937 GB, free: 40.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.26, allocations: 119.6 kB / 0.4938 GB, free: 40.8 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.26, allocations: 5.125 kB / 0.4938 GB, free: 40.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.921/3.181, allocations: 5.506 MB / 0.4992 GB, free: 40.16 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test20.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches