Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",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.001138/0.001138, 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.001294/0.001294, 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.392/1.392, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2054/0.2054, allocations: 44.17 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 58.23 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1057, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003325/0.1091, allocations: 1.582 MB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008145/0.1099, allocations: 411.2 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.625e-05/0.11, allocations: 3.938 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.1104, allocations: 115.7 kB / 471.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.1106, allocations: 91.75 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.1109, allocations: 87.64 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.1111, allocations: 87.86 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1112, allocations: 20.17 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.967e-05/0.1113, allocations: 47.77 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1114, allocations: 87.72 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1114, allocations: 0 / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.73e-05/0.1115, allocations: 39.98 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.942e-05/0.1116, allocations: 27.92 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.1117, allocations: 39.69 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.1119, allocations: 115.8 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1119, allocations: 0 / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1119, allocations: 0 / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1119, allocations: 0 / 472.1 MB, free: 11.53 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.0004538/0.1123, allocations: 426.8 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.393e-05/0.1124, allocations: 12.03 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.1125, allocations: 34.69 kB / 472.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.1125, allocations: 8.844 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.1127, allocations: 215.9 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.1127, allocations: 384 / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.1128, allocations: 12.12 kB / 472.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.1129, allocations: 49.67 kB / 472.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1129, allocations: 0 / 472.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.1129, allocations: 0 / 472.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1129, allocations: 3.984 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1131, allocations: 35.91 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.1134, allocations: 304.7 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.1136, allocations: 42.56 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/0.1136, allocations: 20.94 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.1137, allocations: 0 / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.1137, allocations: 42.5 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1137, allocations: 0 / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009683/0.1147, allocations: 225 kB / 473.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.1147, allocations: 55.34 kB / 473.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.115, allocations: 274.2 kB / 473.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.115, allocations: 25.7 kB / 473.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.1151, allocations: 116 kB / 473.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.1152, allocations: 23.66 kB / 474 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.1152, allocations: 21.7 kB / 474 MB, free: 9.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1153, allocations: 322.8 kB / 474.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-05/0.1154, allocations: 27.98 kB / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/0.1155, allocations: 28.05 kB / 474.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.1156, allocations: 60.83 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1157, allocations: 0 / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002047/0.1159, allocations: 105.4 kB / 474.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1159, allocations: 7.984 kB / 474.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1159, allocations: 3.938 kB / 474.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1159, allocations: 0 / 474.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.617e-05/0.116, allocations: 16 kB / 474.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.116, allocations: 11.92 kB / 474.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.247e-05/0.1161, allocations: 8 kB / 474.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1161, allocations: 0 / 474.6 MB, free: 8.809 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 (8): * Single equations (assignments): 8 * 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.0001091/0.1162, allocations: 133.8 kB / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.1163, allocations: 15.81 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.1165, allocations: 119 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1165, allocations: 8 kB / 474.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.1165, allocations: 3.938 kB / 474.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1166, allocations: 0 / 474.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.1171, allocations: 415.5 kB / 475.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1171, allocations: 3.938 kB / 475.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.353e-05/0.1171, allocations: 15.98 kB / 475.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1172, allocations: 8.031 kB / 475.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.1172, allocations: 0 / 475.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1172, allocations: 0 / 475.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1172, allocations: 3.938 kB / 475.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.1174, allocations: 204.3 kB / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.1175, allocations: 100.8 kB / 475.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.1175, allocations: 11.98 kB / 475.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.1176, allocations: 4 kB / 475.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.1176, allocations: 4.406 kB / 475.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.1177, allocations: 4 kB / 475.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.1178, allocations: 199.2 kB / 475.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1178, allocations: 0 / 475.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.1181, allocations: 20 kB / 475.8 MB, free: 7.453 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001436/0.1195, allocations: 1.09 MB / 476.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.1198, allocations: 63.89 kB / 477 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1198, allocations: 4 kB / 477 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.245e-05/0.1199, allocations: 31.98 kB / 477 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.1203, allocations: 27.56 kB / 477 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.1221, allocations: 1.776 MB / 478.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.1224, allocations: 0.7197 MB / 479.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.336e-05/0.1224, allocations: 12.97 kB / 479.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.1225, allocations: 39.42 kB / 479.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1225, allocations: 4 kB / 479.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.1411, allocations: 3.206 MB / 482.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/7.839, allocations: 18.12 kB / 482.8 MB, free: 0.5703 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches