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.001127/0.001127, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.00115/0.00115, allocations: 191.6 kB / 17.19 MB, free: 5.602 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.568/1.568, allocations: 205.1 MB / 223.1 MB, free: 12.27 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.2515/0.2515, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 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.001711/0.001712, allocations: 68.17 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1136, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003867/0.1175, allocations: 1.593 MB / 442.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006554/0.1182, allocations: 359.4 kB / 442.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.539e-05/0.1183, allocations: 0 / 442.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005005/0.1188, allocations: 451.1 kB / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.1192, allocations: 255.5 kB / 443.3 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.1197, allocations: 147.3 kB / 443.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.12, allocations: 163.7 kB / 443.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.1201, allocations: 20.17 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.1203, allocations: 103.8 kB / 443.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.1205, allocations: 215.6 kB / 443.9 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.1205, allocations: 4 kB / 443.9 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1207, allocations: 35.97 kB / 443.9 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.471e-05/0.1207, allocations: 83.69 kB / 444 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.442e-05/0.1208, allocations: 103 kB / 444.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.1211, allocations: 251 kB / 444.4 MB, free: 3.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1211, allocations: 0 / 444.4 MB, free: 3.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1211, allocations: 0 / 444.4 MB, free: 3.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.1212, allocations: 0 / 444.4 MB, free: 3.055 MB / 318.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.0006777/0.1219, allocations: 0.6491 MB / 445 MB, free: 2.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.1219, allocations: 11.89 kB / 445 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.122, allocations: 34.75 kB / 445.1 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.22e-05/0.122, allocations: 44.31 kB / 445.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.1223, allocations: 304.1 kB / 445.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1223, allocations: 384 / 445.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.1224, allocations: 8.125 kB / 445.4 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.1226, allocations: 53.67 kB / 445.5 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1226, allocations: 0 / 445.5 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1226, allocations: 4 kB / 445.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1226, allocations: 4 kB / 445.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.1227, allocations: 31.91 kB / 445.5 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005255/0.1233, allocations: 396.6 kB / 445.9 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.1235, allocations: 46.55 kB / 445.9 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.1236, allocations: 28.81 kB / 446 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1236, allocations: 4 kB / 446 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.1236, allocations: 30.56 kB / 446 MB, free: 1.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1237, allocations: 0 / 446 MB, free: 1.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006507/0.1243, allocations: 232 kB / 446.2 MB, free: 1.016 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.1244, allocations: 55.41 kB / 446.3 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006852/0.125, allocations: 0.8691 MB / 447.1 MB, free: 72 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.1251, allocations: 25.7 kB / 447.2 MB, free: 40 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.1253, allocations: 220.1 kB / 447.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.1253, allocations: 19.66 kB / 447.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/0.1254, allocations: 25.7 kB / 447.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1256, allocations: 358.8 kB / 447.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.231e-05/0.1256, allocations: 19.98 kB / 447.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.846e-05/0.1257, allocations: 32.16 kB / 447.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.1259, allocations: 52.83 kB / 447.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.1259, allocations: 0 / 447.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002393/0.1261, allocations: 121.1 kB / 448 MB, free: 15.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.1262, allocations: 4 kB / 448 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1262, allocations: 0 / 448 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.1262, allocations: 3.984 kB / 448 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.554e-05/0.1263, allocations: 12 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.1263, allocations: 7.938 kB / 448 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.672e-05/0.1264, allocations: 7.984 kB / 448 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1264, allocations: 3.938 kB / 448 MB, free: 15.14 MB / 334.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.0002163/0.1266, allocations: 213.7 kB / 448.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.774e-05/0.1267, allocations: 47.42 kB / 448.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.127, allocations: 141 kB / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.127, allocations: 0 / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.127, allocations: 7.922 kB / 448.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.127, allocations: 0 / 448.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005826/0.1276, allocations: 466.5 kB / 448.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1276, allocations: 0 / 448.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.495e-05/0.1277, allocations: 16.11 kB / 448.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1277, allocations: 11.94 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.1277, allocations: 4 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1277, allocations: 0 / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1277, allocations: 0 / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.128, allocations: 219 kB / 449.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.043e-05/0.1281, allocations: 112.5 kB / 449.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.1281, allocations: 3.938 kB / 449.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.1282, allocations: 8 kB / 449.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.1283, allocations: 11.98 kB / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.1283, allocations: 3.938 kB / 449.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006067/0.1289, allocations: 0.6511 MB / 449.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1289, allocations: 0 / 449.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.1292, allocations: 23.98 kB / 449.9 MB, free: 13.12 MB / 334.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.001376/0.1306, allocations: 1.052 MB / 451 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.1308, allocations: 51.95 kB / 451.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1308, allocations: 0 / 451.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.1309, allocations: 31.92 kB / 451.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.1314, allocations: 39.55 kB / 451.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/0.1352, allocations: 3.267 MB / 454.4 MB, free: 8.645 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.1358, allocations: 0.8269 MB / 455.2 MB, free: 7.793 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.471e-05/0.1358, allocations: 15.98 kB / 455.2 MB, free: 7.777 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.136, allocations: 123.3 kB / 455.4 MB, free: 7.656 MB / 334.1 MB Notification: Performance of SimCode: time 4.9e-07/0.136, allocations: 0 / 455.4 MB, free: 7.656 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.1614, allocations: 5.891 MB / 461.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.465/7.627, allocations: 7.984 kB / 461.2 MB, free: 1.73 MB / 334.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