Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",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.001158/0.001159, allocations: 104.8 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.001039/0.001039, allocations: 192.2 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.316/1.316, 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.2086/0.2086, allocations: 43.53 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.001344/0.001344, allocations: 64.47 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1066, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.00175/0.1084, allocations: 0.5141 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003116/0.1087, allocations: 88.3 kB / 499.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.1087, allocations: 0 / 499.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.315e-05/0.1088, allocations: 3.938 kB / 499.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.301e-05/0.1088, allocations: 0 / 499.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.109, allocations: 19.91 kB / 499.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.151e-05/0.1091, allocations: 19.92 kB / 499.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.241e-05/0.1092, allocations: 0 / 499.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.146e-05/0.1092, allocations: 7.984 kB / 499.7 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.047e-05/0.1093, allocations: 7.938 kB / 499.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.1093, allocations: 0 / 499.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.509e-05/0.1094, allocations: 39.97 kB / 499.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.1094, allocations: 3.984 kB / 499.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.1095, allocations: 7.938 kB / 499.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.1096, allocations: 27.95 kB / 499.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1096, allocations: 0 / 499.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1096, allocations: 0 / 499.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1096, allocations: 0 / 499.8 MB, free: 11.56 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003688/0.11, allocations: 331.4 kB / 0.4884 GB, free: 11.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.11, allocations: 15.89 kB / 0.4884 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/0.1101, allocations: 34.75 kB / 0.4885 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.1101, allocations: 0.9375 kB / 0.4885 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.1102, allocations: 160.4 kB / 0.4886 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1102, allocations: 4.375 kB / 0.4886 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.1102, allocations: 4.375 kB / 0.4886 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.1104, allocations: 55.91 kB / 0.4887 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1104, allocations: 3.938 kB / 0.4887 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.1104, allocations: 7.875 kB / 0.4887 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.1104, allocations: 3.984 kB / 0.4887 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.547e-05/0.1105, allocations: 16 kB / 0.4887 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.1108, allocations: 317.1 kB / 0.489 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.434e-05/0.1109, allocations: 34.55 kB / 0.489 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.1109, allocations: 16.86 kB / 0.4891 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.1109, allocations: 0 / 0.4891 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.1109, allocations: 34.56 kB / 0.4891 GB, free: 10.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.111, allocations: 0 / 0.4891 GB, free: 10.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001891/0.1111, allocations: 61.67 kB / 0.4892 GB, free: 10.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.1112, allocations: 55.41 kB / 0.4892 GB, free: 10.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.811e-05/0.1113, allocations: 93.84 kB / 0.4893 GB, free: 10.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.1113, allocations: 25.7 kB / 0.4893 GB, free: 10.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.1113, allocations: 88.14 kB / 0.4894 GB, free: 10 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.1114, allocations: 15.97 kB / 0.4894 GB, free: 9.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.1114, allocations: 17.72 kB / 0.4894 GB, free: 9.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1115, allocations: 314.8 kB / 0.4897 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.362e-05/0.1116, allocations: 4 kB / 0.4897 GB, free: 9.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.73e-05/0.1116, allocations: 21.72 kB / 0.4898 GB, free: 9.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.616e-05/0.1116, allocations: 33.77 kB / 0.4898 GB, free: 9.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.1117, allocations: 7.938 kB / 0.4898 GB, free: 9.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.086e-05/0.1118, allocations: 53.69 kB / 0.4898 GB, free: 9.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1118, allocations: 8 kB / 0.4899 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1118, allocations: 0 / 0.4899 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1118, allocations: 0 / 0.4899 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.584e-05/0.1119, allocations: 11.94 kB / 0.4899 GB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1119, allocations: 0 / 0.4899 GB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.419e-05/0.1119, allocations: 3.953 kB / 0.4899 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.112, allocations: 8 kB / 0.4899 GB, free: 9.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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.125e-05/0.112, allocations: 121.7 kB / 0.49 GB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.1121, allocations: 4 kB / 0.49 GB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.1122, allocations: 57.42 kB / 0.4901 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1122, allocations: 4 kB / 0.4901 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1122, allocations: 0 / 0.4901 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.1123, allocations: 3.984 kB / 0.4901 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.1124, allocations: 161.5 kB / 0.4902 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.1124, allocations: 0 / 0.4902 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.347e-05/0.1125, allocations: 11.94 kB / 0.4902 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1125, allocations: 0 / 0.4902 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.1125, allocations: 0 / 0.4902 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1125, allocations: 4 kB / 0.4902 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1125, allocations: 0 / 0.4902 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.1127, allocations: 163.4 kB / 0.4904 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.1127, allocations: 85.03 kB / 0.4905 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.1127, allocations: 0 / 0.4905 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.916e-05/0.1128, allocations: 4.125 kB / 0.4905 GB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.1128, allocations: 4 kB / 0.4905 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1128, allocations: 4 kB / 0.4905 GB, free: 8.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.587e-05/0.1129, allocations: 79.28 kB / 0.4906 GB, free: 8.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1129, allocations: 0 / 0.4906 GB, free: 8.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002239/0.1131, allocations: 8 kB / 0.4906 GB, free: 8.672 MB / 382.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.000492/0.1136, allocations: 0.6928 MB / 0.4912 GB, free: 7.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.1138, allocations: 28.03 kB / 0.4913 GB, free: 7.922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1138, allocations: 0 / 0.4913 GB, free: 7.922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.245e-05/0.1138, allocations: 15.98 kB / 0.4913 GB, free: 7.906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.114, allocations: 3.609 kB / 0.4913 GB, free: 7.906 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/0.1144, allocations: 140.7 kB / 0.4914 GB, free: 7.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.1147, allocations: 0.6807 MB / 0.4921 GB, free: 7.023 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.377e-05/0.1147, allocations: 4.062 kB / 0.4921 GB, free: 7.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.1148, allocations: 15.44 kB / 0.4921 GB, free: 7.004 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1148, allocations: 0 / 0.4921 GB, free: 7.004 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.1322, allocations: 1.297 MB / 0.4934 GB, free: 5.703 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.088/7.22, allocations: 0 / 0.4934 GB, free: 5.703 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches