Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",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.001069/0.001068, allocations: 106.7 kB / 16.41 MB, free: 6.5 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.001204/0.001204, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.282/1.282, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.1975/0.1975, allocations: 43.52 MB / 314.1 MB, free: 444 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.001571/0.001571, allocations: 69.47 kB / 441.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1092, allocations: 57.8 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001706/0.1109, allocations: 0.565 MB / 499.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000357/0.1113, allocations: 124 kB / 499.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.1113, allocations: 0 / 499.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.111e-05/0.1114, allocations: 0 / 499.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.1116, allocations: 43.81 kB / 499.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.278e-06/0.1117, allocations: 4 kB / 499.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.39e-05/0.1117, allocations: 15.92 kB / 499.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.1118, allocations: 0 / 499.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.212e-05/0.1118, allocations: 11.94 kB / 499.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.74e-05/0.1119, allocations: 23.84 kB / 499.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.1119, allocations: 4 kB / 499.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.112, allocations: 51.94 kB / 500 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.1121, allocations: 7.938 kB / 500 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.835e-05/0.1121, allocations: 3.938 kB / 500 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.1122, allocations: 51.81 kB / 0.4883 GB, free: 11.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1122, allocations: 0 / 0.4883 GB, free: 11.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1122, allocations: 0 / 0.4883 GB, free: 11.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1123, allocations: 0 / 0.4883 GB, free: 11.35 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003749/0.1126, allocations: 339.3 kB / 0.4886 GB, free: 10.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.1127, allocations: 11.89 kB / 0.4886 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/0.1127, allocations: 46.67 kB / 0.4887 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.1128, allocations: 4.938 kB / 0.4887 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.1129, allocations: 172.3 kB / 0.4889 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1129, allocations: 384 / 0.4889 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.113, allocations: 8.359 kB / 0.4889 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1131, allocations: 66.23 kB / 0.4889 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1131, allocations: 3.938 kB / 0.4889 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1131, allocations: 3.938 kB / 0.4889 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.1132, allocations: 3.938 kB / 0.4889 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.1133, allocations: 51.95 kB / 0.489 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/0.1135, allocations: 175.9 kB / 0.4892 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.1136, allocations: 78.55 kB / 0.4892 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.579e-05/0.1137, allocations: 33.12 kB / 0.4893 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003685/0.1141, allocations: 251.2 kB / 0.4895 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.1141, allocations: 42.55 kB / 0.4895 GB, free: 9.855 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.1141, allocations: 4 kB / 0.4895 GB, free: 9.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002595/0.1144, allocations: 101.6 kB / 0.4896 GB, free: 9.746 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1144, allocations: 51.41 kB / 0.4897 GB, free: 9.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.829e-05/0.1145, allocations: 93.84 kB / 0.4898 GB, free: 9.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1145, allocations: 29.7 kB / 0.4898 GB, free: 9.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.1146, allocations: 84.09 kB / 0.4899 GB, free: 9.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.1146, allocations: 35.73 kB / 0.4899 GB, free: 9.426 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/0.1147, allocations: 21.7 kB / 0.4899 GB, free: 9.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1148, allocations: 319 kB / 0.4902 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.729e-05/0.1149, allocations: 19.98 kB / 0.4903 GB, free: 9.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.318e-05/0.1149, allocations: 20.31 kB / 0.4903 GB, free: 9.039 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.389e-05/0.115, allocations: 52.78 kB / 0.4903 GB, free: 8.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.115, allocations: 0 / 0.4903 GB, free: 8.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001644/0.1152, allocations: 89.58 kB / 0.4904 GB, free: 8.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1152, allocations: 7.938 kB / 0.4904 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1152, allocations: 0 / 0.4904 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1152, allocations: 0 / 0.4904 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1153, allocations: 19.98 kB / 0.4904 GB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.1153, allocations: 7.984 kB / 0.4905 GB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.266e-05/0.1154, allocations: 4 kB / 0.4905 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.1154, allocations: 4 kB / 0.4905 GB, free: 8.848 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 (10): * Single equations (assignments): 10 * 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.442e-05/0.1155, allocations: 113.8 kB / 0.4906 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.1155, allocations: 11.89 kB / 0.4906 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.1157, allocations: 97.56 kB / 0.4907 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1158, allocations: 0 / 0.4907 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1158, allocations: 8 kB / 0.4907 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1158, allocations: 0 / 0.4907 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.1159, allocations: 165.6 kB / 0.4908 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1159, allocations: 3.938 kB / 0.4908 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.43e-05/0.116, allocations: 31.92 kB / 0.4909 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.116, allocations: 4.312 kB / 0.4909 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.116, allocations: 0 / 0.4909 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.116, allocations: 0 / 0.4909 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1161, allocations: 0 / 0.4909 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.1162, allocations: 120.9 kB / 0.491 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.1163, allocations: 81.11 kB / 0.4911 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.1163, allocations: 7.938 kB / 0.4911 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.364e-05/0.1163, allocations: 0 / 0.4911 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/0.1163, allocations: 7.984 kB / 0.4911 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.1163, allocations: 4 kB / 0.4911 GB, free: 8.094 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.184e-05/0.1164, allocations: 79.28 kB / 0.4912 GB, free: 8.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1164, allocations: 0 / 0.4912 GB, free: 8.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001988/0.1166, allocations: 15.94 kB / 0.4912 GB, free: 8 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 (10): * Single equations (assignments): 10 * 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.0004357/0.117, allocations: 0.6593 MB / 0.4918 GB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.1172, allocations: 55.91 kB / 0.4919 GB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1172, allocations: 0 / 0.4919 GB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.309e-05/0.1172, allocations: 31.94 kB / 0.4919 GB, free: 7.227 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.1174, allocations: 7.438 kB / 0.4919 GB, free: 7.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000457/0.1179, allocations: 186.9 kB / 0.4921 GB, free: 7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.1181, allocations: 0.6807 MB / 0.4928 GB, free: 6.293 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.744e-05/0.1181, allocations: 7.984 kB / 0.4928 GB, free: 6.285 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.1182, allocations: 15.38 kB / 0.4928 GB, free: 6.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1182, allocations: 0 / 0.4928 GB, free: 6.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.1363, allocations: 1.541 MB / 0.4943 GB, free: 4.727 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.161/7.297, allocations: 11.98 kB / 0.4943 GB, free: 4.715 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches