Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_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.001009/0.001009, allocations: 105.3 kB / 16.4 MB, free: 6.457 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.0009983/0.0009983, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.217/1.217, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.1859/0.1859, allocations: 43.52 MB / 314.1 MB, free: 440 kB / 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.001559/0.001559, allocations: 73.41 kB / 441.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1051, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001856/0.107, allocations: 0.5338 MB / 499.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003275/0.1074, allocations: 68.25 kB / 499.7 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.538e-05/0.1074, allocations: 3.938 kB / 499.7 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.934e-05/0.1075, allocations: 0 / 499.7 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.1078, allocations: 15.92 kB / 499.7 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.693e-05/0.1078, allocations: 4 kB / 499.7 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.395e-05/0.1079, allocations: 0 / 499.7 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.126e-05/0.1079, allocations: 4 kB / 499.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.021e-05/0.108, allocations: 0 / 499.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.791e-05/0.108, allocations: 11.97 kB / 499.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.1081, allocations: 7.938 kB / 499.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.1082, allocations: 23.98 kB / 499.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.1082, allocations: 3.938 kB / 499.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.1082, allocations: 4 kB / 499.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.1083, allocations: 15.97 kB / 499.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1083, allocations: 3.938 kB / 499.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1083, allocations: 4 kB / 499.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1084, allocations: 0 / 499.8 MB, free: 11.55 MB / 382.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.0003785/0.1087, allocations: 319.5 kB / 0.4884 GB, free: 11.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.1088, allocations: 19.88 kB / 0.4884 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.343e-05/0.1088, allocations: 34.75 kB / 0.4885 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.1089, allocations: 16.86 kB / 0.4885 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.109, allocations: 168.3 kB / 0.4886 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.109, allocations: 384 / 0.4886 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.1091, allocations: 384 / 0.4886 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.1092, allocations: 34.25 kB / 0.4887 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1092, allocations: 11.88 kB / 0.4887 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1092, allocations: 0 / 0.4887 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1092, allocations: 0 / 0.4887 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.916e-05/0.1093, allocations: 12 kB / 0.4887 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.1095, allocations: 153.7 kB / 0.4888 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.1097, allocations: 30.61 kB / 0.4889 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.1097, allocations: 12.86 kB / 0.4889 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003843/0.1101, allocations: 121.1 kB / 0.489 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.1102, allocations: 34.5 kB / 0.489 GB, free: 10.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/0.1102, allocations: 0 / 0.489 GB, free: 10.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001357/0.1115, allocations: 185.4 kB / 0.4892 GB, free: 10.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.1116, allocations: 55.34 kB / 0.4893 GB, free: 10.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.582e-05/0.1116, allocations: 89.86 kB / 0.4894 GB, free: 10.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.1117, allocations: 25.7 kB / 0.4894 GB, free: 10.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.792e-05/0.1117, allocations: 88.14 kB / 0.4895 GB, free: 9.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.1117, allocations: 15.83 kB / 0.4895 GB, free: 9.922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.1118, allocations: 17.72 kB / 0.4895 GB, free: 9.898 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1119, allocations: 311 kB / 0.4898 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.144e-05/0.112, allocations: 23.98 kB / 0.4898 GB, free: 9.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.164e-05/0.1121, allocations: 23.97 kB / 0.4898 GB, free: 9.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.1122, allocations: 44.83 kB / 0.4899 GB, free: 9.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1122, allocations: 0 / 0.4899 GB, free: 9.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001979/0.1124, allocations: 81.5 kB / 0.49 GB, free: 9.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1125, allocations: 8 kB / 0.49 GB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1125, allocations: 7.938 kB / 0.49 GB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1125, allocations: 3.984 kB / 0.49 GB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1126, allocations: 11.98 kB / 0.49 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.1126, allocations: 3.984 kB / 0.49 GB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.266e-05/0.1127, allocations: 4.25 kB / 0.49 GB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.1127, allocations: 4 kB / 0.49 GB, free: 9.363 MB / 382.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.139e-05/0.1128, allocations: 117.8 kB / 0.4901 GB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.1128, allocations: 11.94 kB / 0.4901 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.1131, allocations: 89.16 kB / 0.4902 GB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1131, allocations: 0 / 0.4902 GB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1131, allocations: 0 / 0.4902 GB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1131, allocations: 3.984 kB / 0.4902 GB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007198/0.1139, allocations: 359.6 kB / 0.4906 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1139, allocations: 3.938 kB / 0.4906 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.273e-05/0.114, allocations: 15.98 kB / 0.4906 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.114, allocations: 48 / 0.4906 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.114, allocations: 3.984 kB / 0.4906 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.114, allocations: 0 / 0.4906 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.114, allocations: 0 / 0.4906 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.1143, allocations: 186.6 kB / 0.4908 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.1143, allocations: 81.06 kB / 0.4908 GB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.1144, allocations: 7.984 kB / 0.4908 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.597e-05/0.1145, allocations: 0 / 0.4908 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.1145, allocations: 7.938 kB / 0.4908 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.1145, allocations: 3.984 kB / 0.4908 GB, free: 8.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.071e-05/0.1145, allocations: 83.28 kB / 0.4909 GB, free: 8.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1145, allocations: 0 / 0.4909 GB, free: 8.293 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.1148, allocations: 12 kB / 0.4909 GB, free: 8.281 MB / 382.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.0005131/0.1153, allocations: 0.7056 MB / 0.4916 GB, free: 7.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.1155, allocations: 48.08 kB / 0.4917 GB, free: 7.496 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1155, allocations: 0 / 0.4917 GB, free: 7.496 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.103e-05/0.1156, allocations: 23.98 kB / 0.4917 GB, free: 7.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.1158, allocations: 8 kB / 0.4917 GB, free: 7.465 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005319/0.1164, allocations: 179.1 kB / 0.4919 GB, free: 7.246 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.1166, allocations: 0.6807 MB / 0.4925 GB, free: 6.539 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.349e-05/0.1167, allocations: 12.12 kB / 0.4926 GB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.1167, allocations: 7.438 kB / 0.4926 GB, free: 6.52 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1167, allocations: 0 / 0.4926 GB, free: 6.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.1335, allocations: 1.471 MB / 0.494 GB, free: 5.043 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.098/7.232, allocations: 15.72 kB / 0.494 GB, free: 5.031 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches