Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.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.Test25,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test25,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test25",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.0008238/0.0008238, 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.141/1.141, 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.0006977/0.0006977, allocations: 85 kB / 271.2 MB, free: 8.262 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.2711/0.2711, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003758, allocations: 23.98 kB / 432.1 MB, free: 5.738 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09674/0.09714, allocations: 58.84 MB / 490.9 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test25): time 0.001861/0.09904, allocations: 1.309 MB / 492.2 MB, free: 9.492 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005398/0.09961, allocations: 307.8 kB / 492.5 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.386e-05/0.09968, allocations: 0 / 492.5 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.09991, allocations: 43.86 kB / 492.6 MB, free: 9.145 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.1001, allocations: 51.83 kB / 492.6 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.1004, allocations: 95.88 kB / 492.7 MB, free: 9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.1005, allocations: 55.83 kB / 492.8 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1006, allocations: 20.17 kB / 492.8 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.623e-05/0.1007, allocations: 31.83 kB / 492.8 MB, free: 8.895 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.841e-05/0.1008, allocations: 27.86 kB / 492.8 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.1008, allocations: 0 / 492.8 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.639e-05/0.1009, allocations: 27.98 kB / 492.9 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.111e-05/0.1009, allocations: 19.91 kB / 492.9 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.101, allocations: 45.58 kB / 492.9 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.1011, allocations: 72.05 kB / 493 MB, free: 8.699 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1011, allocations: 7.938 kB / 493 MB, free: 8.691 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1011, allocations: 0 / 493 MB, free: 8.691 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1012, allocations: 0 / 493 MB, free: 8.691 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004418/0.1016, allocations: 391.2 kB / 493.4 MB, free: 8.262 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1016, allocations: 8.031 kB / 493.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.882e-05/0.1017, allocations: 38.73 kB / 493.4 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.1017, allocations: 8.844 kB / 493.5 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.1019, allocations: 204.6 kB / 493.7 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1019, allocations: 7.938 kB / 493.7 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.1019, allocations: 0 / 493.7 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.1021, allocations: 61.62 kB / 493.7 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1021, allocations: 4 kB / 493.7 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1021, allocations: 0 / 493.7 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1022, allocations: 7.984 kB / 493.7 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.1023, allocations: 43.97 kB / 493.8 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.1027, allocations: 292.7 kB / 494.1 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.1028, allocations: 46.5 kB / 494.1 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.49e-05/0.1029, allocations: 28.94 kB / 494.1 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.1029, allocations: 0 / 494.1 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.1029, allocations: 34.56 kB / 494.2 MB, free: 7.367 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1029, allocations: 0 / 494.2 MB, free: 7.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000757/0.1037, allocations: 249.2 kB / 494.4 MB, free: 7.117 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.1037, allocations: 55.41 kB / 494.5 MB, free: 7.051 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.1039, allocations: 166.4 kB / 494.6 MB, free: 6.875 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.1039, allocations: 29.7 kB / 494.7 MB, free: 6.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.104, allocations: 104 kB / 494.8 MB, free: 6.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.104, allocations: 23.64 kB / 494.8 MB, free: 6.711 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.104, allocations: 8 kB / 494.8 MB, free: 6.703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1041, allocations: 318.8 kB / 495.1 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.1043, allocations: 43.91 kB / 495.1 MB, free: 6.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.1044, allocations: 39.97 kB / 495.2 MB, free: 6.301 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.1046, allocations: 92.81 kB / 495.3 MB, free: 6.207 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.1046, allocations: 0 / 495.3 MB, free: 6.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002726/0.1049, allocations: 125.5 kB / 495.4 MB, free: 6.078 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1049, allocations: 15.94 kB / 495.4 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1049, allocations: 0 / 495.4 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1049, allocations: 0 / 495.4 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1051, allocations: 27.97 kB / 495.4 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.309e-06/0.1051, allocations: 0 / 495.4 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.394e-05/0.1051, allocations: 12 kB / 495.5 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1052, allocations: 11.98 kB / 495.5 MB, free: 6.012 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 (7): * Single equations (assignments): 7 * 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.512e-05/0.1053, allocations: 117.8 kB / 495.6 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.1053, allocations: 11.84 kB / 495.6 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/0.1056, allocations: 146.6 kB / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1056, allocations: 0 / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1057, allocations: 0 / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1057, allocations: 0 / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005198/0.1062, allocations: 422.3 kB / 496.1 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1062, allocations: 0 / 496.1 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.047e-05/0.1063, allocations: 19.98 kB / 496.2 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1063, allocations: 288 / 496.2 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.1063, allocations: 8 kB / 496.2 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1063, allocations: 0 / 496.2 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1063, allocations: 0 / 496.2 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.1066, allocations: 227.3 kB / 496.4 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.715e-05/0.1067, allocations: 96.98 kB / 496.5 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.1067, allocations: 0 / 496.5 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.43e-05/0.1068, allocations: 19.98 kB / 496.5 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.1069, allocations: 3.938 kB / 496.5 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.1069, allocations: 4 kB / 496.5 MB, free: 4.852 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.372e-05/0.107, allocations: 136 kB / 496.7 MB, free: 4.719 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.107, allocations: 0 / 496.7 MB, free: 4.719 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002309/0.1072, allocations: 16 kB / 496.7 MB, free: 4.703 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 (7): * Single equations (assignments): 7 * 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.001204/0.1084, allocations: 1.063 MB / 497.7 MB, free: 3.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.1087, allocations: 95.88 kB / 497.8 MB, free: 3.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1087, allocations: 0 / 497.8 MB, free: 3.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.1089, allocations: 47.97 kB / 497.9 MB, free: 3.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.1092, allocations: 19.84 kB / 497.9 MB, free: 3.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.1104, allocations: 0.7511 MB / 498.6 MB, free: 2.699 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.1106, allocations: 0.6926 MB / 499.3 MB, free: 1.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.909e-05/0.1107, allocations: 31.42 kB / 499.4 MB, free: 1.949 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1107, allocations: 0 / 499.4 MB, free: 1.949 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.599/2.709, allocations: 1.927 MB / 0.4895 GB, free: 20 kB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test25.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test25/Test25.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches