Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",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.001083/0.001083, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001125/0.001126, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.412/1.412, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2111/0.2111, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 68.64 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1074, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002957/0.1104, allocations: 1.545 MB / 470.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007067/0.1111, allocations: 407.2 kB / 471.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.122e-05/0.1112, allocations: 4 kB / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.1113, allocations: 27.84 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.1115, allocations: 43.78 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.1119, allocations: 114.9 kB / 471.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.112, allocations: 59.78 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.294e-05/0.1121, allocations: 12 kB / 471.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.805e-05/0.1122, allocations: 23.91 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.316e-05/0.1122, allocations: 19.88 kB / 471.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.1122, allocations: 0 / 471.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1124, allocations: 31.98 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.1124, allocations: 19.92 kB / 471.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.1125, allocations: 23.8 kB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.1126, allocations: 72.08 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1126, allocations: 0 / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1126, allocations: 7.938 kB / 471.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1126, allocations: 0 / 471.8 MB, free: 11.88 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004459/0.1131, allocations: 390.1 kB / 472.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1131, allocations: 8.031 kB / 472.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.38e-05/0.1132, allocations: 34.75 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.1132, allocations: 8.844 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.1134, allocations: 192.2 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1134, allocations: 4.312 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.1135, allocations: 4.375 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1136, allocations: 49.61 kB / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.1136, allocations: 11.94 kB / 472.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.1137, allocations: 3.938 kB / 472.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1137, allocations: 4 kB / 472.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.226e-05/0.1138, allocations: 19.98 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.1142, allocations: 284.8 kB / 472.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.1144, allocations: 54.48 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.407e-05/0.1145, allocations: 12.86 kB / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1145, allocations: 4 kB / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.1145, allocations: 34.64 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1145, allocations: 0 / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005716/0.1151, allocations: 149.3 kB / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.1152, allocations: 51.41 kB / 473 MB, free: 10.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.1153, allocations: 161.8 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.1153, allocations: 25.7 kB / 473.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.1154, allocations: 100.1 kB / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.1154, allocations: 19.66 kB / 473.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.1155, allocations: 17.72 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1156, allocations: 322.8 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-05/0.1157, allocations: 23.98 kB / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.321e-05/0.1158, allocations: 32.03 kB / 473.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.1159, allocations: 48.83 kB / 473.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1159, allocations: 0 / 473.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001823/0.1161, allocations: 89.52 kB / 473.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1161, allocations: 4 kB / 473.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1161, allocations: 4 kB / 473.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1161, allocations: 0 / 473.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/0.1162, allocations: 11.98 kB / 473.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1162, allocations: 7.984 kB / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/0.1163, allocations: 3.984 kB / 473.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.1163, allocations: 7.938 kB / 473.9 MB, free: 9.492 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 (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 8.694e-05/0.1164, allocations: 117.8 kB / 474 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.1164, allocations: 3.906 kB / 474 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.1167, allocations: 105.9 kB / 474.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1167, allocations: 0 / 474.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.1167, allocations: 4 kB / 474.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1167, allocations: 0 / 474.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003975/0.1171, allocations: 354.4 kB / 474.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1171, allocations: 0 / 474.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-05/0.1172, allocations: 16.25 kB / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1172, allocations: 11.92 kB / 474.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1172, allocations: 4 kB / 474.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1172, allocations: 7.938 kB / 474.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1172, allocations: 0 / 474.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.1174, allocations: 179.4 kB / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.1175, allocations: 81.02 kB / 474.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1175, allocations: 8.281 kB / 474.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.479e-05/0.1176, allocations: 3.938 kB / 474.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.1176, allocations: 11.98 kB / 474.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.1176, allocations: 0 / 474.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.902e-05/0.1177, allocations: 129.8 kB / 474.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1177, allocations: 0 / 474.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.118, allocations: 12 kB / 474.9 MB, free: 8.359 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 (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.001275/0.1192, allocations: 1.022 MB / 476 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.1195, allocations: 47.97 kB / 476 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1195, allocations: 7.875 kB / 476 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.896e-05/0.1196, allocations: 35.97 kB / 476 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1199, allocations: 15.81 kB / 476.1 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.1214, allocations: 1.483 MB / 477.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.1217, allocations: 0.6963 MB / 478.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.661e-05/0.1218, allocations: 19.98 kB / 478.3 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.1218, allocations: 27.42 kB / 478.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1218, allocations: 0 / 478.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.1383, allocations: 2.508 MB / 480.8 MB, free: 2.594 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.432/7.57, allocations: 14.95 kB / 480.8 MB, free: 2.582 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches