Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test21",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.0008048/0.0008048, allocations: 179.9 kB / 16.72 MB, free: 5.074 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.144/1.144, allocations: 205.4 MB / 222.9 MB, free: 9.039 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.0006725/0.0006726, allocations: 85.41 kB / 271.2 MB, free: 8.27 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.2827/0.2827, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003246, allocations: 12 kB / 432.1 MB, free: 5.738 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09206/0.0924, allocations: 58.85 MB / 490.9 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.002148/0.09459, allocations: 1.605 MB / 492.5 MB, free: 9.191 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.09567, allocations: 0.6358 MB / 493.2 MB, free: 8.551 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.09581, allocations: 4 kB / 493.2 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004234/0.09624, allocations: 243.5 kB / 493.4 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.09656, allocations: 171.5 kB / 493.6 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009311/0.0975, allocations: 407.3 kB / 494 MB, free: 7.742 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.09784, allocations: 235.3 kB / 494.2 MB, free: 7.512 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.098, allocations: 64.92 kB / 494.3 MB, free: 7.449 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.09816, allocations: 107.5 kB / 494.4 MB, free: 7.344 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.09835, allocations: 151.5 kB / 494.5 MB, free: 7.195 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.09838, allocations: 4 kB / 494.5 MB, free: 7.191 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.09852, allocations: 63.91 kB / 494.6 MB, free: 7.129 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.786e-05/0.09863, allocations: 75.73 kB / 494.7 MB, free: 7.055 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.442e-05/0.09873, allocations: 120.9 kB / 494.8 MB, free: 6.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.09897, allocations: 227.5 kB / 495 MB, free: 6.707 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.09898, allocations: 3.938 kB / 495 MB, free: 6.703 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09899, allocations: 0 / 495 MB, free: 6.703 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.099, allocations: 0 / 495 MB, free: 6.703 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.0006243/0.09963, allocations: 0.5875 MB / 495.6 MB, free: 6.066 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.09967, allocations: 12.03 kB / 495.6 MB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.8e-05/0.09973, allocations: 50.73 kB / 495.6 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.035e-05/0.09979, allocations: 36.47 kB / 495.7 MB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.1001, allocations: 318.1 kB / 496 MB, free: 5.609 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.1001, allocations: 12.38 kB / 496 MB, free: 5.598 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.1001, allocations: 12.38 kB / 496 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.1004, allocations: 109.5 kB / 496.1 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1004, allocations: 4 kB / 496.1 MB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1004, allocations: 4 kB / 496.1 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1004, allocations: 0 / 496.1 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.1006, allocations: 79.89 kB / 496.2 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005604/0.1011, allocations: 488.3 kB / 496.7 MB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.1013, allocations: 106.5 kB / 496.8 MB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.672e-05/0.1014, allocations: 36.78 kB / 496.8 MB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.1014, allocations: 7.984 kB / 496.8 MB, free: 4.699 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.1014, allocations: 38.44 kB / 496.9 MB, free: 4.652 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1014, allocations: 0 / 496.9 MB, free: 4.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008152/0.1023, allocations: 387.9 kB / 497.2 MB, free: 4.266 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.1023, allocations: 55.62 kB / 497.3 MB, free: 4.199 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005136/0.1028, allocations: 0.5525 MB / 497.9 MB, free: 3.633 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.1028, allocations: 29.64 kB / 497.9 MB, free: 3.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.103, allocations: 200.4 kB / 498.1 MB, free: 3.395 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.103, allocations: 63.09 kB / 498.1 MB, free: 3.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.103, allocations: 0 / 498.1 MB, free: 3.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1032, allocations: 350.8 kB / 498.5 MB, free: 2.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.1033, allocations: 51.97 kB / 498.5 MB, free: 2.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.664e-05/0.1034, allocations: 63.91 kB / 498.6 MB, free: 2.867 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.1036, allocations: 128.4 kB / 498.7 MB, free: 2.742 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1036, allocations: 3.938 kB / 498.7 MB, free: 2.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003051/0.1039, allocations: 205.1 kB / 498.9 MB, free: 2.531 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.1039, allocations: 4 kB / 498.9 MB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.104, allocations: 4 kB / 498.9 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.104, allocations: 0 / 498.9 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.1041, allocations: 31.98 kB / 499 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.1041, allocations: 3.984 kB / 499 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.939e-05/0.1042, allocations: 16 kB / 499 MB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.1042, allocations: 4 kB / 499 MB, free: 2.469 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.0001407/0.1044, allocations: 177.7 kB / 499.2 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/0.1044, allocations: 47.52 kB / 499.2 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004051/0.1048, allocations: 241.4 kB / 499.4 MB, free: 2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1048, allocations: 4 kB / 499.5 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1049, allocations: 0 / 499.5 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1049, allocations: 3.938 kB / 499.5 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006929/0.1056, allocations: 0.6348 MB / 0.4884 GB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.1056, allocations: 4 kB / 0.4884 GB, free: 1.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-05/0.1057, allocations: 35.97 kB / 0.4884 GB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1057, allocations: 0 / 0.4884 GB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1057, allocations: 4 kB / 0.4884 GB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1057, allocations: 3.938 kB / 0.4884 GB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1057, allocations: 4 kB / 0.4884 GB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.1061, allocations: 306.3 kB / 0.4887 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.214e-05/0.1061, allocations: 128.5 kB / 0.4888 GB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.1062, allocations: 4 kB / 0.4888 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.805e-05/0.1063, allocations: 19.92 kB / 0.4889 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.1063, allocations: 7.984 kB / 0.4889 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.1063, allocations: 8 kB / 0.4889 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003852/0.1067, allocations: 407.1 kB / 0.4893 GB, free: 364 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1067, allocations: 0 / 0.4893 GB, free: 364 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.000264/0.107, allocations: 47.98 kB / 0.4893 GB, free: 316 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.1565/0.2635, allocations: 1.436 MB / 0.4907 GB, free: 42.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.2639, allocations: 135.7 kB / 0.4908 GB, free: 42.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2639, allocations: 0 / 0.4908 GB, free: 42.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.264, allocations: 84.58 kB / 0.4909 GB, free: 42.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/0.2646, allocations: 63.89 kB / 0.491 GB, free: 42.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.2673, allocations: 2.004 MB / 0.4929 GB, free: 41.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.2676, allocations: 0.804 MB / 0.4937 GB, free: 40.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.2678, allocations: 124.9 kB / 0.4938 GB, free: 40.92 MB / 378.7 MB Notification: Performance of SimCode: time 1.813e-06/0.2678, allocations: 0 / 0.4938 GB, free: 40.92 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3/3.268, allocations: 5.503 MB / 0.4992 GB, free: 40.3 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test21.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches