Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_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.000884/0.0008841, allocations: 173.7 kB / 16.72 MB, free: 5.082 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.159/1.159, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007173/0.0007176, allocations: 92.08 kB / 271.2 MB, free: 8.246 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.2824/0.2824, allocations: 43.56 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003276, allocations: 12 kB / 432.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.101, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.001827/0.1029, allocations: 1.352 MB / 492.3 MB, free: 9.191 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006013/0.1035, allocations: 351.8 kB / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.176e-05/0.1036, allocations: 0 / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.1038, allocations: 19.86 kB / 492.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.104, allocations: 43.83 kB / 492.7 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.1043, allocations: 135.8 kB / 492.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.1045, allocations: 79.7 kB / 492.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.162e-05/0.1046, allocations: 24.2 kB / 492.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.357e-05/0.1047, allocations: 27.91 kB / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.259e-05/0.1047, allocations: 31.78 kB / 493 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1047, allocations: 7.938 kB / 493 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1049, allocations: 43.98 kB / 493 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.1049, allocations: 27.91 kB / 493.1 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.105, allocations: 45.56 kB / 493.1 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.1051, allocations: 92.02 kB / 493.2 MB, free: 8.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.1052, allocations: 4 kB / 493.2 MB, free: 8.266 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1052, allocations: 0 / 493.2 MB, free: 8.266 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1052, allocations: 0 / 493.2 MB, free: 8.266 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.0005835/0.1058, allocations: 415.2 kB / 493.6 MB, free: 7.812 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1058, allocations: 12.03 kB / 493.6 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.1059, allocations: 42.67 kB / 493.7 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.1059, allocations: 8.844 kB / 493.7 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.1061, allocations: 196.1 kB / 493.9 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.1061, allocations: 4.375 kB / 493.9 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.1062, allocations: 4.375 kB / 493.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.1065, allocations: 119.2 kB / 494 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1065, allocations: 0 / 494 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1065, allocations: 0 / 494 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1065, allocations: 0 / 494 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.1068, allocations: 103.9 kB / 494.1 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005141/0.1073, allocations: 348.7 kB / 494.4 MB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.1076, allocations: 90.47 kB / 494.5 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.1078, allocations: 48.94 kB / 494.6 MB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.1078, allocations: 8 kB / 494.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.1078, allocations: 34.56 kB / 494.6 MB, free: 6.684 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1078, allocations: 0 / 494.6 MB, free: 6.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001624/0.1095, allocations: 476.9 kB / 495.1 MB, free: 6.211 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.1095, allocations: 81.11 kB / 495.1 MB, free: 6.113 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.1097, allocations: 153.8 kB / 495.3 MB, free: 5.953 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.1097, allocations: 33.7 kB / 495.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.1098, allocations: 104 kB / 495.4 MB, free: 5.809 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.1098, allocations: 23.72 kB / 495.5 MB, free: 5.785 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-06/0.1099, allocations: 4 kB / 495.5 MB, free: 5.781 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.11, allocations: 322.8 kB / 495.8 MB, free: 5.457 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.1103, allocations: 95.92 kB / 495.9 MB, free: 5.363 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.1106, allocations: 113.6 kB / 496 MB, free: 5.246 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005624/0.1111, allocations: 205 kB / 496.2 MB, free: 5.043 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1112, allocations: 0 / 496.2 MB, free: 5.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006304/0.1118, allocations: 237.4 kB / 496.4 MB, free: 4.805 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1118, allocations: 10.5 kB / 496.4 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1118, allocations: 0 / 496.4 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1118, allocations: 0 / 496.4 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.1121, allocations: 47.89 kB / 496.5 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1121, allocations: 7.938 kB / 496.5 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.1122, allocations: 35.97 kB / 496.5 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1122, allocations: 3.938 kB / 496.5 MB, free: 4.703 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 9.465e-05/0.1123, allocations: 125.8 kB / 496.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.1124, allocations: 15.8 kB / 496.7 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006836/0.1131, allocations: 258.6 kB / 496.9 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1131, allocations: 7.938 kB / 496.9 MB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1131, allocations: 4 kB / 496.9 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1131, allocations: 0 / 496.9 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009028/0.114, allocations: 0.5218 MB / 497.4 MB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.114, allocations: 0 / 497.4 MB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.1142, allocations: 51.89 kB / 497.5 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1142, allocations: 4 kB / 497.5 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1143, allocations: 4 kB / 497.5 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1143, allocations: 0 / 497.5 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1143, allocations: 0 / 497.5 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006582/0.1149, allocations: 335.2 kB / 497.8 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.115, allocations: 92.94 kB / 497.9 MB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.115, allocations: 0 / 497.9 MB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.1152, allocations: 43.95 kB / 498 MB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.1153, allocations: 7.984 kB / 498 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.1153, allocations: 4 kB / 498 MB, free: 3.145 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.37e-05/0.1154, allocations: 116 kB / 498.1 MB, free: 3.031 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1154, allocations: 0 / 498.1 MB, free: 3.031 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002623/0.1156, allocations: 28 kB / 498.1 MB, free: 3.004 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.00168/0.1173, allocations: 1.223 MB / 499.3 MB, free: 1.805 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006389/0.118, allocations: 211.8 kB / 499.5 MB, free: 1.598 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.118, allocations: 0 / 499.5 MB, free: 1.598 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002988/0.1183, allocations: 107.9 kB / 499.6 MB, free: 1.492 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.1186, allocations: 27.83 kB / 499.7 MB, free: 1.465 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.1205, allocations: 0.9307 MB / 0.4889 GB, free: 492 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.158/0.2785, allocations: 0.701 MB / 0.4896 GB, free: 42.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.2786, allocations: 30 kB / 0.4896 GB, free: 42.45 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2786, allocations: 0 / 0.4896 GB, free: 42.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.788/3.066, allocations: 2.398 MB / 0.4919 GB, free: 42.35 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches