Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",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.001254/0.001254, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.00188/0.001881, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.507/1.507, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2138/0.2138, allocations: 43.54 MB / 314.1 MB, free: 460 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.002073/0.002073, allocations: 63.91 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1129, allocations: 57.8 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002958/0.1159, allocations: 1.604 MB / 0.489 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000659/0.1166, allocations: 347.5 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.051e-05/0.1167, allocations: 0 / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006069/0.1173, allocations: 463.1 kB / 0.4898 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003581/0.1177, allocations: 247.5 kB / 0.49 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.1181, allocations: 151.7 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.1183, allocations: 163.7 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1184, allocations: 28.09 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1186, allocations: 107.8 kB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.1188, allocations: 207.6 kB / 0.4906 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.1189, allocations: 4 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.95e-05/0.119, allocations: 35.97 kB / 0.4907 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.1191, allocations: 83.69 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.217e-05/0.1192, allocations: 103 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.1195, allocations: 270.5 kB / 0.4911 GB, free: 8.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1195, allocations: 0 / 0.4911 GB, free: 8.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1195, allocations: 4 kB / 0.4911 GB, free: 8.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1195, allocations: 0 / 0.4911 GB, free: 8.52 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007534/0.1203, allocations: 0.6524 MB / 0.4917 GB, free: 7.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1204, allocations: 11.89 kB / 0.4917 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.1204, allocations: 38.73 kB / 0.4918 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.574e-05/0.1205, allocations: 44.61 kB / 0.4918 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.1208, allocations: 300.7 kB / 0.4921 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1208, allocations: 4.375 kB / 0.4921 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.1208, allocations: 12.06 kB / 0.4921 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.121, allocations: 57.67 kB / 0.4922 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.121, allocations: 0 / 0.4922 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1211, allocations: 4 kB / 0.4922 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1211, allocations: 0 / 0.4922 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.1212, allocations: 23.98 kB / 0.4922 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005993/0.1218, allocations: 400.7 kB / 0.4926 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.122, allocations: 50.5 kB / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.1221, allocations: 12.86 kB / 0.4926 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1221, allocations: 8.078 kB / 0.4927 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.1222, allocations: 30.56 kB / 0.4927 GB, free: 6.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.1222, allocations: 0 / 0.4927 GB, free: 6.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006861/0.1229, allocations: 240.7 kB / 0.4929 GB, free: 6.473 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.1229, allocations: 51.41 kB / 0.493 GB, free: 6.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008863/0.1238, allocations: 0.8768 MB / 0.4938 GB, free: 5.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.1239, allocations: 25.7 kB / 0.4938 GB, free: 5.488 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.124, allocations: 228 kB / 0.4941 GB, free: 5.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.1241, allocations: 19.92 kB / 0.4941 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.1241, allocations: 17.72 kB / 0.4941 GB, free: 5.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1243, allocations: 362.8 kB / 0.4944 GB, free: 4.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.858e-05/0.1244, allocations: 23.98 kB / 0.4945 GB, free: 4.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.151e-05/0.1245, allocations: 23.92 kB / 0.4945 GB, free: 4.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.1246, allocations: 57.02 kB / 0.4945 GB, free: 4.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1246, allocations: 0 / 0.4945 GB, free: 4.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002265/0.1249, allocations: 121.4 kB / 0.4947 GB, free: 4.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1249, allocations: 12 kB / 0.4947 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1249, allocations: 0 / 0.4947 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1249, allocations: 0 / 0.4947 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.425e-05/0.125, allocations: 11.98 kB / 0.4947 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.125, allocations: 7.938 kB / 0.4947 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.517e-05/0.1251, allocations: 4 kB / 0.4947 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1251, allocations: 0 / 0.4947 GB, free: 4.59 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 (5): * Single equations (assignments): 5 * 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.0002487/0.1253, allocations: 221.6 kB / 0.4949 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.1254, allocations: 47.72 kB / 0.495 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.1257, allocations: 141.1 kB / 0.4951 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1257, allocations: 0 / 0.4951 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.1257, allocations: 3.938 kB / 0.4951 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1257, allocations: 288 / 0.4951 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006002/0.1263, allocations: 470.4 kB / 0.4955 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1264, allocations: 4 kB / 0.4955 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.568e-05/0.1264, allocations: 11.98 kB / 0.4956 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.1264, allocations: 7.922 kB / 0.4956 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1265, allocations: 4 kB / 0.4956 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1265, allocations: 192 / 0.4956 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.1265, allocations: 4 kB / 0.4956 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.1268, allocations: 219.1 kB / 0.4958 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.992e-05/0.1269, allocations: 120.8 kB / 0.4959 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.1269, allocations: 3.938 kB / 0.4959 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.649e-05/0.127, allocations: 7.984 kB / 0.4959 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.1271, allocations: 7.938 kB / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.1271, allocations: 0 / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006628/0.1277, allocations: 0.6589 MB / 0.4966 GB, free: 2.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1277, allocations: 0 / 0.4966 GB, free: 2.578 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.128, allocations: 19.94 kB / 0.4966 GB, free: 2.559 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 (5): * Single equations (assignments): 5 * 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.002015/0.13, allocations: 1.06 MB / 0.4976 GB, free: 1.516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.1303, allocations: 59.89 kB / 0.4977 GB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1303, allocations: 0 / 0.4977 GB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.156e-05/0.1304, allocations: 27.98 kB / 0.4977 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.1308, allocations: 29.58 kB / 0.4977 GB, free: 1.402 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/0.1345, allocations: 3.246 MB / 0.5009 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.1351, allocations: 0.826 MB / 0.5017 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.087e-05/0.1351, allocations: 12 kB / 0.5017 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.1353, allocations: 119.3 kB / 0.5018 GB, free: 13.08 MB / 398.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1353, allocations: 0 / 0.5018 GB, free: 13.08 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.1649, allocations: 6.026 MB / 0.5077 GB, free: 7.027 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.486/8.651, allocations: 15.86 kB / 0.5077 GB, free: 7.012 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches