Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",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.001512/0.001512, allocations: 110 kB / 16.41 MB, free: 6.445 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.00173/0.00173, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.441/1.441, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2257/0.2257, allocations: 43.52 MB / 314.1 MB, free: 468 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.001361/0.001361, allocations: 67.91 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1112, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004529/0.1158, allocations: 1.973 MB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.1172, allocations: 0.7603 MB / 0.4901 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.1173, allocations: 7.938 kB / 0.4901 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005054/0.1179, allocations: 263.2 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004647/0.1183, allocations: 191.3 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.1198, allocations: 0.5965 MB / 0.4911 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004487/0.1203, allocations: 299.3 kB / 0.4914 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.1205, allocations: 76.69 kB / 0.4914 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.1207, allocations: 135.4 kB / 0.4916 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.121, allocations: 203.3 kB / 0.4918 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/0.121, allocations: 12 kB / 0.4918 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.1212, allocations: 63.97 kB / 0.4918 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.1213, allocations: 103.7 kB / 0.4919 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.1215, allocations: 115 kB / 0.4921 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004691/0.1219, allocations: 338.3 kB / 0.4924 GB, free: 7.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.122, allocations: 0 / 0.4924 GB, free: 7.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.122, allocations: 4 kB / 0.4924 GB, free: 7.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.122, allocations: 3.984 kB / 0.4924 GB, free: 7.176 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008725/0.1229, allocations: 0.657 MB / 0.493 GB, free: 6.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1229, allocations: 15.83 kB / 0.493 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.901e-05/0.123, allocations: 50.67 kB / 0.4931 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.238e-05/0.1231, allocations: 44.66 kB / 0.4931 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.1234, allocations: 330.5 kB / 0.4934 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1235, allocations: 4.375 kB / 0.4935 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.1235, allocations: 12.38 kB / 0.4935 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.1238, allocations: 137.4 kB / 0.4936 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1238, allocations: 0 / 0.4936 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.1238, allocations: 4 kB / 0.4936 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1238, allocations: 4 kB / 0.4936 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.124, allocations: 95.92 kB / 0.4937 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000799/0.1249, allocations: 0.5081 MB / 0.4942 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.1251, allocations: 122.4 kB / 0.4943 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.535e-05/0.1252, allocations: 32.84 kB / 0.4943 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.1252, allocations: 7.984 kB / 0.4943 GB, free: 5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.1252, allocations: 38.5 kB / 0.4944 GB, free: 4.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.1252, allocations: 0 / 0.4944 GB, free: 4.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009883/0.1262, allocations: 445.2 kB / 0.4948 GB, free: 4.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.1263, allocations: 55.41 kB / 0.4949 GB, free: 4.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005766/0.1269, allocations: 0.5526 MB / 0.4954 GB, free: 3.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.1269, allocations: 33.69 kB / 0.4954 GB, free: 3.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.127, allocations: 204.4 kB / 0.4956 GB, free: 3.641 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.1271, allocations: 55.48 kB / 0.4957 GB, free: 3.586 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/0.1272, allocations: 33.7 kB / 0.4957 GB, free: 3.547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1273, allocations: 354.8 kB / 0.496 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.1274, allocations: 67.95 kB / 0.4961 GB, free: 3.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.1276, allocations: 74.55 kB / 0.4962 GB, free: 3.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.1279, allocations: 160.6 kB / 0.4963 GB, free: 2.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1279, allocations: 0 / 0.4963 GB, free: 2.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003835/0.1283, allocations: 222.1 kB / 0.4965 GB, free: 2.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1283, allocations: 12 kB / 0.4966 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1283, allocations: 0 / 0.4966 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1283, allocations: 0 / 0.4966 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.1285, allocations: 39.92 kB / 0.4966 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1285, allocations: 0 / 0.4966 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.529e-05/0.1286, allocations: 7.984 kB / 0.4966 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.1286, allocations: 4 kB / 0.4966 GB, free: 2.609 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 (17): * Single equations (assignments): 17 * 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.0001622/0.1288, allocations: 185.7 kB / 0.4968 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.1288, allocations: 51.66 kB / 0.4968 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005385/0.1294, allocations: 280.2 kB / 0.4971 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1294, allocations: 0 / 0.4971 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1294, allocations: 0 / 0.4971 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1294, allocations: 4 kB / 0.4971 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008494/0.1303, allocations: 0.6816 MB / 0.4978 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1303, allocations: 4 kB / 0.4978 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.1304, allocations: 31.97 kB / 0.4978 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1304, allocations: 0 / 0.4978 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.1304, allocations: 8 kB / 0.4978 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.1304, allocations: 3.938 kB / 0.4978 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.1305, allocations: 0 / 0.4978 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005116/0.131, allocations: 342.2 kB / 0.4981 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.862e-05/0.1311, allocations: 120.8 kB / 0.4983 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.1311, allocations: 4 kB / 0.4983 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.1312, allocations: 11.94 kB / 0.4983 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.1313, allocations: 7.984 kB / 0.4983 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.1313, allocations: 8 kB / 0.4983 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004184/0.1317, allocations: 415.1 kB / 0.4987 GB, free: 392 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1317, allocations: 0 / 0.4987 GB, free: 392 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003193/0.132, allocations: 55.88 kB / 0.4987 GB, free: 336 kB / 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 (17): * Single equations (assignments): 17 * 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.002221/0.1343, allocations: 1.443 MB / 0.5001 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003455/0.1346, allocations: 171.7 kB / 0.5003 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1347, allocations: 4 kB / 0.5003 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.1348, allocations: 91.89 kB / 0.5004 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005703/0.1354, allocations: 77.33 kB / 0.5005 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003887/0.1393, allocations: 3.198 MB / 0.5036 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.1398, allocations: 0.8182 MB / 0.5044 GB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001625/0.1399, allocations: 58.25 kB / 0.5045 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.1401, allocations: 123.4 kB / 0.5046 GB, free: 10.26 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1401, allocations: 4 kB / 0.5046 GB, free: 10.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02657/0.1667, allocations: 7.508 MB / 0.5119 GB, free: 2.707 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.198/8.365, allocations: 7.984 kB / 0.5119 GB, free: 2.699 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches