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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 111.7 kB / 19.69 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 217.2 kB / 23 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2144/0.2144, allocations: 44.24 MB / 330.3 MB, free: 9.523 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 67.89 kB / 467.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1256, allocations: 61.05 MB / 0.5162 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001805/0.1274, allocations: 0.5909 MB / 0.5168 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004063/0.1278, allocations: 127.5 kB / 0.5169 GB, free: 6.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.1278, allocations: 0 / 0.5169 GB, free: 6.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.1278, allocations: 3.938 kB / 0.5169 GB, free: 6.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.1281, allocations: 35.83 kB / 0.5169 GB, free: 6.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.098e-06/0.1281, allocations: 0 / 0.5169 GB, free: 6.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.757e-05/0.1282, allocations: 23.92 kB / 0.517 GB, free: 6.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.613e-05/0.1282, allocations: 0 / 0.517 GB, free: 6.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.518e-05/0.1283, allocations: 15.92 kB / 0.517 GB, free: 6.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.741e-05/0.1284, allocations: 11.92 kB / 0.517 GB, free: 6.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.1284, allocations: 0 / 0.517 GB, free: 6.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.1285, allocations: 47.95 kB / 0.517 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.1285, allocations: 15.92 kB / 0.5171 GB, free: 6.395 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.1285, allocations: 15.86 kB / 0.5171 GB, free: 6.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.1287, allocations: 47.81 kB / 0.5171 GB, free: 6.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1287, allocations: 0 / 0.5171 GB, free: 6.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1287, allocations: 0 / 0.5171 GB, free: 6.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1287, allocations: 0 / 0.5171 GB, free: 6.332 MB / 398.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.0003486/0.129, allocations: 266.2 kB / 0.5174 GB, free: 6.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1291, allocations: 8.031 kB / 0.5174 GB, free: 6.031 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.1291, allocations: 34.75 kB / 0.5174 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.447e-05/0.1291, allocations: 0.9375 kB / 0.5174 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.1292, allocations: 118.5 kB / 0.5175 GB, free: 5.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1292, allocations: 384 / 0.5175 GB, free: 5.848 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.1293, allocations: 4.375 kB / 0.5175 GB, free: 5.844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1294, allocations: 70.11 kB / 0.5176 GB, free: 5.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1294, allocations: 3.938 kB / 0.5176 GB, free: 5.766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.1294, allocations: 0 / 0.5176 GB, free: 5.766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.1294, allocations: 0 / 0.5176 GB, free: 5.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.1295, allocations: 55.95 kB / 0.5177 GB, free: 5.711 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.1297, allocations: 138.5 kB / 0.5178 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.1299, allocations: 74.59 kB / 0.5179 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.954e-05/0.1299, allocations: 28.84 kB / 0.5179 GB, free: 5.422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002375/0.1302, allocations: 23.97 kB / 0.5179 GB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.1302, allocations: 42.5 kB / 0.518 GB, free: 5.348 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.1302, allocations: 0 / 0.518 GB, free: 5.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002398/0.1304, allocations: 109.7 kB / 0.5181 GB, free: 5.234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.1305, allocations: 51.41 kB / 0.5181 GB, free: 5.172 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.351e-05/0.1306, allocations: 93.86 kB / 0.5182 GB, free: 5.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.1306, allocations: 25.7 kB / 0.5182 GB, free: 5.039 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.1306, allocations: 84.09 kB / 0.5183 GB, free: 4.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.1307, allocations: 35.73 kB / 0.5183 GB, free: 4.918 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.1307, allocations: 17.72 kB / 0.5183 GB, free: 4.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1308, allocations: 322.9 kB / 0.5187 GB, free: 4.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.723e-05/0.1309, allocations: 19.98 kB / 0.5187 GB, free: 4.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.215e-05/0.1309, allocations: 19.98 kB / 0.5187 GB, free: 4.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.029e-05/0.131, allocations: 49.36 kB / 0.5187 GB, free: 4.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.131, allocations: 0 / 0.5187 GB, free: 4.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001295/0.1311, allocations: 89.58 kB / 0.5188 GB, free: 4.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1312, allocations: 7.938 kB / 0.5188 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1312, allocations: 0 / 0.5188 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1312, allocations: 0 / 0.5188 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1313, allocations: 19.98 kB / 0.5189 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.1313, allocations: 4 kB / 0.5189 GB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.697e-05/0.1313, allocations: 11.88 kB / 0.5189 GB, free: 4.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.1313, allocations: 4 kB / 0.5189 GB, free: 4.34 MB / 398.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.044e-05/0.1314, allocations: 109.8 kB / 0.519 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.1314, allocations: 11.89 kB / 0.519 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/0.1316, allocations: 101.5 kB / 0.5191 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1316, allocations: 0 / 0.5191 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1316, allocations: 4 kB / 0.5191 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1316, allocations: 4 kB / 0.5191 GB, free: 4.094 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.1318, allocations: 140.7 kB / 0.5192 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1318, allocations: 0 / 0.5192 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.02e-05/0.1318, allocations: 19.98 kB / 0.5192 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1318, allocations: 3.938 kB / 0.5193 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.1318, allocations: 0 / 0.5193 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.1318, allocations: 4 kB / 0.5193 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1318, allocations: 0 / 0.5193 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.132, allocations: 121.1 kB / 0.5194 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-06/0.132, allocations: 15.88 kB / 0.5194 GB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.132, allocations: 3.938 kB / 0.5194 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.389e-05/0.1321, allocations: 0 / 0.5194 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.1321, allocations: 7.984 kB / 0.5194 GB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.1321, allocations: 8 kB / 0.5194 GB, free: 3.715 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.784e-05/0.1321, allocations: 75.28 kB / 0.5195 GB, free: 3.641 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1321, allocations: 0 / 0.5195 GB, free: 3.641 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000205/0.1323, allocations: 12 kB / 0.5195 GB, free: 3.629 MB / 398.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.0004958/0.1328, allocations: 0.667 MB / 0.5201 GB, free: 2.934 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.133, allocations: 51.91 kB / 0.5202 GB, free: 2.883 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.133, allocations: 0 / 0.5202 GB, free: 2.883 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.576e-05/0.133, allocations: 31.98 kB / 0.5202 GB, free: 2.852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.1332, allocations: 0 / 0.5202 GB, free: 2.852 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.1336, allocations: 178.4 kB / 0.5204 GB, free: 2.637 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.1339, allocations: 0.6807 MB / 0.5211 GB, free: 1.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.053e-05/0.134, allocations: 4.562 kB / 0.5211 GB, free: 1.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.134, allocations: 19.42 kB / 0.5211 GB, free: 1.906 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.134, allocations: 0 / 0.5211 GB, free: 1.906 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.1613, allocations: 1.705 MB / 0.5227 GB, free: 204 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.63, allocations: 3.984 kB / 0.5227 GB, free: 200 kB / 398.1 MB " [Timeout remaining time 649] (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.000201919 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable x2_a in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x2_a from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x3 in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x3 from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x3_a in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x3_a from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x2err in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x2err from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x3err in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x3err from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.610934246993565]