Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",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.001838/0.001838, 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.002246/0.002246, 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.356/1.356, 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.1998/0.1998, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 57.31 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1026, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001599/0.1042, allocations: 495.7 kB / 469.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002776/0.1045, allocations: 111.5 kB / 469.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.82e-05/0.1045, allocations: 4 kB / 469.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.086e-05/0.1046, allocations: 0 / 469.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.1048, allocations: 15.92 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.555e-05/0.1048, allocations: 0 / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.3e-05/0.1048, allocations: 11.92 kB / 470 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.962e-05/0.1049, allocations: 4 kB / 470 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.654e-05/0.1049, allocations: 0 / 470 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.214e-05/0.105, allocations: 11.92 kB / 470 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.105, allocations: 0 / 470 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.05e-05/0.1051, allocations: 23.97 kB / 470 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.207e-06/0.1051, allocations: 4 kB / 470 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.857e-05/0.1051, allocations: 0 / 470 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.827e-05/0.1052, allocations: 23.92 kB / 470 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1052, allocations: 0 / 470 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1052, allocations: 0 / 470 MB, free: 13.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1052, allocations: 0 / 470 MB, free: 13.58 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000286/0.1055, allocations: 318.5 kB / 470.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1055, allocations: 8.031 kB / 470.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.89e-05/0.1056, allocations: 34.75 kB / 470.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.161e-05/0.1056, allocations: 0.9375 kB / 470.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.984e-05/0.1057, allocations: 168.4 kB / 470.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.1057, allocations: 4.312 kB / 470.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.1057, allocations: 4.359 kB / 470.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.894e-05/0.1058, allocations: 32.77 kB / 470.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1058, allocations: 3.938 kB / 470.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.1059, allocations: 4 kB / 470.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.1059, allocations: 4 kB / 470.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.449e-05/0.1059, allocations: 7.984 kB / 470.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.1061, allocations: 161.8 kB / 470.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.1062, allocations: 46.53 kB / 470.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.459e-05/0.1063, allocations: 8.859 kB / 470.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003446/0.1066, allocations: 113.1 kB / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.1067, allocations: 38.56 kB / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1067, allocations: 0 / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001252/0.1079, allocations: 177.4 kB / 471.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.108, allocations: 55.41 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.302e-05/0.108, allocations: 97.84 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.1081, allocations: 25.7 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.1081, allocations: 84.14 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.1081, allocations: 11.81 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.1082, allocations: 21.66 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1083, allocations: 314.8 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.189e-05/0.1084, allocations: 19.98 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.002e-05/0.1085, allocations: 28.05 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.1086, allocations: 40.83 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1086, allocations: 7.938 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002406/0.1089, allocations: 85.75 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1089, allocations: 4 kB / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1089, allocations: 0 / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1089, allocations: 0 / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1091, allocations: 19.98 kB / 472 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1091, allocations: 0 / 472 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.568e-05/0.1092, allocations: 7.984 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1092, allocations: 0 / 472 MB, free: 11.41 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 6.837e-05/0.1093, allocations: 113.8 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.1093, allocations: 3.938 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.1095, allocations: 93.14 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1095, allocations: 4 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1096, allocations: 0 / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1096, allocations: 0 / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006591/0.1102, allocations: 355.3 kB / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1102, allocations: 4 kB / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.358e-05/0.1103, allocations: 11.98 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1104, allocations: 0 / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1104, allocations: 7.984 kB / 472.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1104, allocations: 0 / 472.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1104, allocations: 0 / 472.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.1106, allocations: 188.3 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.1107, allocations: 81.02 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.1107, allocations: 0 / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1108, allocations: 7.984 kB / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.1109, allocations: 4 kB / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.1109, allocations: 4.125 kB / 472.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.756e-05/0.1109, allocations: 75.28 kB / 472.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1109, allocations: 8.094 kB / 472.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.1111, allocations: 12 kB / 472.9 MB, free: 10.35 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 (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.0005027/0.1117, allocations: 0.717 MB / 473.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.1119, allocations: 51.91 kB / 473.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1119, allocations: 0 / 473.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.325e-05/0.112, allocations: 27.91 kB / 473.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.1122, allocations: 11.94 kB / 473.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000542/0.1127, allocations: 163.4 kB / 473.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.113, allocations: 0.6807 MB / 474.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.403e-05/0.113, allocations: 0 / 474.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.1131, allocations: 19.42 kB / 474.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1131, allocations: 0 / 474.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.1301, allocations: 1.447 MB / 476 MB, free: 7.203 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.165/7.295, allocations: 5.031 kB / 476 MB, free: 7.199 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.csv --start-time 0 --stop-time 1.3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00052 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches