Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertab",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.0008807/0.0008807, 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.249/1.249, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007175/0.0007175, allocations: 94.34 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.2742/0.2742, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003497, allocations: 16 kB / 432.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0907/0.09106, allocations: 58.85 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.001604/0.0927, allocations: 1.352 MB / 492.3 MB, free: 9.199 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004793/0.09319, allocations: 339.7 kB / 492.6 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.09324, allocations: 0 / 492.6 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.09339, allocations: 15.92 kB / 492.6 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.09354, allocations: 39.84 kB / 492.7 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.0938, allocations: 99.8 kB / 492.8 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.09391, allocations: 67.77 kB / 492.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.547e-05/0.09399, allocations: 20.22 kB / 492.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.706e-05/0.09406, allocations: 27.86 kB / 492.9 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.916e-05/0.09411, allocations: 31.84 kB / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.09413, allocations: 7.938 kB / 492.9 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.732e-05/0.09423, allocations: 43.97 kB / 493 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.359e-05/0.09428, allocations: 15.92 kB / 493 MB, free: 8.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.09433, allocations: 57.5 kB / 493 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.09446, allocations: 84.08 kB / 493.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.09447, allocations: 0 / 493.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.09448, allocations: 0 / 493.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.695e-06/0.09449, allocations: 0 / 493.1 MB, free: 8.355 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004893/0.09498, allocations: 415.2 kB / 493.5 MB, free: 7.902 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.09503, allocations: 12.03 kB / 493.5 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.642e-05/0.09507, allocations: 38.73 kB / 493.6 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.0951, allocations: 8.844 kB / 493.6 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.09527, allocations: 200.1 kB / 493.8 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.046e-06/0.09529, allocations: 8.312 kB / 493.8 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.09531, allocations: 8.312 kB / 493.8 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.09556, allocations: 103.3 kB / 493.9 MB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.0956, allocations: 4 kB / 493.9 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.09561, allocations: 4 kB / 493.9 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.09562, allocations: 0 / 493.9 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.09594, allocations: 91.92 kB / 494 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.09627, allocations: 304.7 kB / 494.3 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.09651, allocations: 78.53 kB / 494.4 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.09668, allocations: 60.94 kB / 494.4 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.0967, allocations: 0 / 494.4 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.09673, allocations: 34.56 kB / 494.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.09674, allocations: 0 / 494.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0015/0.09824, allocations: 465.2 kB / 494.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.09829, allocations: 85.11 kB / 495 MB, free: 6.273 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.09842, allocations: 157.6 kB / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.09844, allocations: 29.7 kB / 495.2 MB, free: 6.074 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.09849, allocations: 96.12 kB / 495.3 MB, free: 5.977 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.09852, allocations: 35.44 kB / 495.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.09854, allocations: 0 / 495.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.474e-05/0.09862, allocations: 322.8 kB / 495.6 MB, free: 5.617 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.09891, allocations: 87.92 kB / 495.7 MB, free: 5.531 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.09918, allocations: 101.6 kB / 495.8 MB, free: 5.426 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005247/0.09972, allocations: 180.8 kB / 496 MB, free: 5.246 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.09973, allocations: 4 kB / 496 MB, free: 5.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005825/0.1003, allocations: 233.7 kB / 496.2 MB, free: 5.008 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1003, allocations: 8 kB / 496.2 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1004, allocations: 4.109 kB / 496.2 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1004, allocations: 0 / 496.2 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.1006, allocations: 47.91 kB / 496.3 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.1006, allocations: 4 kB / 496.3 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.1007, allocations: 39.89 kB / 496.3 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1008, allocations: 8 kB / 496.3 MB, free: 4.898 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 (8): * Single equations (assignments): 8 * 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 8.234e-05/0.1009, allocations: 113.8 kB / 496.4 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.1009, allocations: 7.906 kB / 496.4 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00065/0.1015, allocations: 246.2 kB / 496.7 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1016, allocations: 7.938 kB / 496.7 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1016, allocations: 0 / 496.7 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1016, allocations: 3.938 kB / 496.7 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000835/0.1024, allocations: 0.5062 MB / 497.2 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1024, allocations: 0 / 497.2 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.1026, allocations: 43.95 kB / 497.2 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1026, allocations: 4 kB / 497.2 MB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1026, allocations: 3.938 kB / 497.2 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1026, allocations: 7.938 kB / 497.3 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1026, allocations: 0 / 497.3 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006325/0.1033, allocations: 319.2 kB / 497.6 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.1033, allocations: 93 kB / 497.7 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.1034, allocations: 7.922 kB / 497.7 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.1036, allocations: 39.97 kB / 497.7 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/0.1036, allocations: 7.984 kB / 497.7 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.1037, allocations: 4 kB / 497.7 MB, free: 3.398 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.026e-05/0.1037, allocations: 115.7 kB / 497.8 MB, free: 3.289 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1037, allocations: 0 / 497.8 MB, free: 3.289 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002407/0.104, allocations: 35.98 kB / 497.9 MB, free: 3.254 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 (8): * Single equations (assignments): 8 * 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.001658/0.1057, allocations: 1.203 MB / 499.1 MB, free: 2.074 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006172/0.1063, allocations: 199.8 kB / 499.3 MB, free: 1.879 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1063, allocations: 0 / 499.3 MB, free: 1.879 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.1066, allocations: 99.86 kB / 499.4 MB, free: 1.781 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.1069, allocations: 23.98 kB / 499.4 MB, free: 1.758 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.1086, allocations: 0.8673 MB / 0.4885 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.1089, allocations: 0.7005 MB / 0.4892 GB, free: 116 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.674e-05/0.109, allocations: 27.42 kB / 0.4892 GB, free: 88 kB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.109, allocations: 4 kB / 0.4892 GB, free: 84 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.834/2.943, allocations: 2.301 MB / 0.4915 GB, free: 42.33 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertab.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches