Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 106.5 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 192.2 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2095/0.2095, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002584/0.002584, allocations: 69.45 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1043, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002823/0.1071, allocations: 1.573 MB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005943/0.1077, allocations: 323.6 kB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.718e-05/0.1078, allocations: 0 / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005666/0.1084, allocations: 459.1 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003371/0.1087, allocations: 255.4 kB / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.1091, allocations: 151.7 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.1093, allocations: 159.6 kB / 0.4902 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1094, allocations: 19.95 kB / 0.4902 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.1096, allocations: 103.8 kB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.1098, allocations: 207.6 kB / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.1098, allocations: 4 kB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.971e-05/0.1099, allocations: 23.97 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.497e-05/0.11, allocations: 75.7 kB / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.71e-05/0.1101, allocations: 103 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.1104, allocations: 258.6 kB / 0.491 GB, free: 8.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1104, allocations: 0 / 0.491 GB, free: 8.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1104, allocations: 3.938 kB / 0.491 GB, free: 8.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1104, allocations: 0 / 0.491 GB, free: 8.586 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007031/0.1111, allocations: 0.6414 MB / 0.4916 GB, free: 7.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1112, allocations: 11.89 kB / 0.4916 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.381e-05/0.1112, allocations: 34.73 kB / 0.4917 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.1113, allocations: 44.66 kB / 0.4917 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.1116, allocations: 300.6 kB / 0.492 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.1116, allocations: 384 / 0.492 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.1116, allocations: 4.375 kB / 0.492 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.1117, allocations: 53.56 kB / 0.492 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1118, allocations: 4 kB / 0.4921 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1118, allocations: 3.984 kB / 0.4921 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1118, allocations: 4 kB / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.53e-05/0.1119, allocations: 23.97 kB / 0.4921 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.1124, allocations: 388.8 kB / 0.4925 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.142e-05/0.1125, allocations: 38.5 kB / 0.4925 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.736e-05/0.1125, allocations: 16.92 kB / 0.4925 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.1126, allocations: 3.984 kB / 0.4925 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1126, allocations: 34.56 kB / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1126, allocations: 0 / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002992/0.1129, allocations: 101.4 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.113, allocations: 63.34 kB / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008863/0.1139, allocations: 0.8654 MB / 0.4935 GB, free: 5.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.1139, allocations: 25.7 kB / 0.4936 GB, free: 5.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.1141, allocations: 224 kB / 0.4938 GB, free: 5.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.1141, allocations: 3.953 kB / 0.4938 GB, free: 5.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.1141, allocations: 17.72 kB / 0.4938 GB, free: 5.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.1143, allocations: 366.7 kB / 0.4942 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.352e-05/0.1144, allocations: 8 kB / 0.4942 GB, free: 5.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.191e-05/0.1144, allocations: 15.98 kB / 0.4942 GB, free: 5.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.032e-05/0.1145, allocations: 28.84 kB / 0.4942 GB, free: 5.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1145, allocations: 3.938 kB / 0.4942 GB, free: 5.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001493/0.1147, allocations: 93.34 kB / 0.4943 GB, free: 4.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1147, allocations: 7.984 kB / 0.4943 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1147, allocations: 4 kB / 0.4943 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1147, allocations: 4 kB / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.879e-05/0.1148, allocations: 4.094 kB / 0.4943 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1148, allocations: 4 kB / 0.4943 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.266e-05/0.1149, allocations: 0 / 0.4943 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1149, allocations: 4 kB / 0.4943 GB, free: 4.93 MB / 382.1 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001916/0.1151, allocations: 221.6 kB / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.1151, allocations: 43.67 kB / 0.4946 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.1153, allocations: 108.7 kB / 0.4947 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1153, allocations: 3.984 kB / 0.4947 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1154, allocations: 4.031 kB / 0.4947 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1154, allocations: 4 kB / 0.4947 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/0.1156, allocations: 281.5 kB / 0.495 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.1157, allocations: 0 / 0.495 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.425e-05/0.1157, allocations: 7.938 kB / 0.495 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1157, allocations: 0 / 0.495 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.1157, allocations: 4 kB / 0.495 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1157, allocations: 0 / 0.495 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1157, allocations: 0 / 0.495 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.1159, allocations: 195.2 kB / 0.4952 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.594e-05/0.116, allocations: 112.8 kB / 0.4953 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.1161, allocations: 3.984 kB / 0.4953 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.336e-05/0.1161, allocations: 4 kB / 0.4953 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.1162, allocations: 4 kB / 0.4953 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1162, allocations: 0 / 0.4953 GB, free: 3.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006416/0.1168, allocations: 0.655 MB / 0.4959 GB, free: 3.199 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1168, allocations: 4.031 kB / 0.4959 GB, free: 3.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.1171, allocations: 15.94 kB / 0.4959 GB, free: 3.18 MB / 382.1 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001569/0.1187, allocations: 0.9752 MB / 0.4969 GB, free: 2.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.1188, allocations: 23.98 kB / 0.4969 GB, free: 2.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1188, allocations: 0 / 0.4969 GB, free: 2.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.887e-05/0.1189, allocations: 19.92 kB / 0.4969 GB, free: 2.176 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.1192, allocations: 30.22 kB / 0.497 GB, free: 2.145 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.1225, allocations: 3.15 MB / 0.5 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.123, allocations: 0.8182 MB / 0.5008 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.698e-05/0.123, allocations: 15.92 kB / 0.5008 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.1232, allocations: 111.4 kB / 0.501 GB, free: 13.93 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1232, allocations: 0 / 0.501 GB, free: 13.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.1491, allocations: 5.739 MB / 0.5066 GB, free: 8.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.473/8.622, allocations: 19.97 kB / 0.5066 GB, free: 8.16 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches