Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11",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.001149/0.001149, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.00132/0.00132, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2125/0.2125, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 65.08 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1128, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003158/0.116, allocations: 1.619 MB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.1175, allocations: 1.058 MB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.288e-05/0.1176, allocations: 4 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.1178, allocations: 19.86 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.1181, allocations: 47.77 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.1185, allocations: 166.3 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.1187, allocations: 67.83 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1188, allocations: 15.98 kB / 472.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.399e-05/0.1189, allocations: 31.86 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.119, allocations: 27.84 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1191, allocations: 4 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.1192, allocations: 63.91 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.1193, allocations: 23.91 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.1193, allocations: 27.81 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.1195, allocations: 104 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1195, allocations: 4 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1195, allocations: 0 / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.1196, allocations: 0 / 472.6 MB, free: 10.98 MB / 350.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.000539/0.1201, allocations: 395.1 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1202, allocations: 8.031 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.1202, allocations: 38.75 kB / 473.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.1202, allocations: 12.78 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.1205, allocations: 192.2 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-06/0.1205, allocations: 384 / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.1205, allocations: 8.375 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.1207, allocations: 83.23 kB / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1207, allocations: 4 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1208, allocations: 3.984 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1208, allocations: 4 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.1209, allocations: 39.97 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.1214, allocations: 308.7 kB / 473.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.1215, allocations: 50.5 kB / 473.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.307e-05/0.1216, allocations: 24.94 kB / 473.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.1216, allocations: 4 kB / 473.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1217, allocations: 30.56 kB / 473.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.1217, allocations: 0 / 473.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008172/0.1225, allocations: 221.2 kB / 474 MB, free: 9.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.1226, allocations: 81.11 kB / 474.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.1227, allocations: 152.1 kB / 474.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.1227, allocations: 25.7 kB / 474.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.1228, allocations: 96.08 kB / 474.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.1228, allocations: 23.7 kB / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.1229, allocations: 21.72 kB / 474.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.123, allocations: 318.8 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.1231, allocations: 35.97 kB / 474.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.1232, allocations: 53.75 kB / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.1235, allocations: 108.8 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.1235, allocations: 0 / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002818/0.1238, allocations: 113.5 kB / 475 MB, free: 8.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1238, allocations: 8 kB / 475 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1238, allocations: 0 / 475 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1238, allocations: 0 / 475 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.124, allocations: 23.98 kB / 475.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.124, allocations: 11.86 kB / 475.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.124, allocations: 8 kB / 475.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1241, allocations: 4 kB / 475.1 MB, free: 8.266 MB / 350.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 (7): * Single equations (assignments): 7 * 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 9.502e-05/0.1242, allocations: 125.7 kB / 475.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.1242, allocations: 11.84 kB / 475.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.1246, allocations: 138.3 kB / 475.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1246, allocations: 0 / 475.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1246, allocations: 3.938 kB / 475.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1246, allocations: 4 kB / 475.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005613/0.1252, allocations: 414.7 kB / 475.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1252, allocations: 0 / 475.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-05/0.1253, allocations: 23.98 kB / 475.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1253, allocations: 3.938 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1253, allocations: 4 kB / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1253, allocations: 4 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1253, allocations: 0 / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.1256, allocations: 223.4 kB / 476 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.103e-05/0.1257, allocations: 77.11 kB / 476.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.1257, allocations: 11.88 kB / 476.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.154e-05/0.1258, allocations: 7.984 kB / 476.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.1259, allocations: 11.98 kB / 476.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.1259, allocations: 0 / 476.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.255e-05/0.126, allocations: 115.2 kB / 476.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.126, allocations: 0 / 476.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.1262, allocations: 24 kB / 476.3 MB, free: 6.98 MB / 350.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 (7): * Single equations (assignments): 7 * 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.00141/0.1276, allocations: 1.091 MB / 477.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003049/0.128, allocations: 95.86 kB / 477.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.128, allocations: 0 / 477.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.1281, allocations: 47.97 kB / 477.5 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.1285, allocations: 34.42 kB / 477.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.1303, allocations: 1.581 MB / 479.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.1307, allocations: 0.7002 MB / 479.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.1308, allocations: 24.64 kB / 479.8 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.088e-05/0.1308, allocations: 31.42 kB / 479.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1308, allocations: 0 / 479.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.1532, allocations: 3.047 MB / 482.9 MB, free: 456 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.498/7.652, allocations: 7.922 kB / 482.9 MB, free: 448 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches