Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 111.8 kB / 18.13 MB, free: 3.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002154/0.002154, allocations: 202 kB / 21.43 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 250.2 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.8767/0.8767, allocations: 94.59 MB / 400 MB, free: 15.73 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/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(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002462/0.002462, allocations: 78.72 kB / 0.5457 GB, free: 43.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1854, allocations: 71.86 MB / 0.6159 GB, free: 8.949 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.8637/1.049, allocations: 260.7 MB / 0.8704 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02073/1.07, allocations: 13.06 MB / 0.8832 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002061/1.072, allocations: 75.56 kB / 0.8832 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003246/1.075, allocations: 1.041 MB / 0.8843 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01883/1.094, allocations: 5.542 MB / 0.8897 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007752/1.102, allocations: 2.428 MB / 0.892 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003939/1.106, allocations: 2.068 MB / 0.8941 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005658/1.106, allocations: 244.2 kB / 0.8943 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003327/1.11, allocations: 1.335 MB / 0.8956 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/1.111, allocations: 0.8399 MB / 0.8964 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001652/1.111, allocations: 104 kB / 0.8965 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02437/1.135, allocations: 10.96 MB / 0.9072 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007419/1.136, allocations: 394.4 kB / 0.9076 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001225/1.137, allocations: 0.7109 MB / 0.9083 GB, free: 352 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02051/1.158, allocations: 6.088 MB / 0.9142 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.158, allocations: 0 / 0.9142 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.182e-06/1.158, allocations: 0 / 0.9142 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.165e-05/1.158, allocations: 0 / 0.9142 GB, free: 10.24 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.00741/1.165, allocations: 2.833 MB / 0.917 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.165, allocations: 11.97 kB / 0.917 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002061/1.166, allocations: 156.2 kB / 0.9172 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003705/1.166, allocations: 170.9 kB / 0.9173 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/1.168, allocations: 1.077 MB / 0.9184 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.293e-05/1.169, allocations: 69.98 kB / 0.9184 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/1.169, allocations: 99.95 kB / 0.9185 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/1.171, allocations: 1.404 MB / 0.9199 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/1.171, allocations: 0 / 0.9199 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.253e-05/1.171, allocations: 43.97 kB / 0.9199 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/1.171, allocations: 89.89 kB / 0.92 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/1.174, allocations: 1.527 MB / 0.9215 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01077/1.185, allocations: 5.853 MB / 0.9272 GB, free: 12.26 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/1.187, allocations: 0.7837 MB / 0.928 GB, free: 11.46 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/1.188, allocations: 0.5907 MB / 0.9286 GB, free: 10.87 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002705/1.19, allocations: 2.406 MB / 0.9309 GB, free: 7.945 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.611e-05/1.19, allocations: 47.62 kB / 0.931 GB, free: 7.891 MB / 0.67 GB Notification: Performance of pre-optimization done (n=114): time 4.469e-06/1.19, allocations: 0 / 0.931 GB, free: 7.891 MB / 0.67 GB Notification: Performance of matching and sorting (n=114): time 0.005095/1.196, allocations: 2.104 MB / 0.933 GB, free: 5.734 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/1.196, allocations: 90.23 kB / 0.9331 GB, free: 5.629 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/1.197, allocations: 0.912 MB / 0.934 GB, free: 4.703 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/1.197, allocations: 45.7 kB / 0.9341 GB, free: 4.652 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00058/1.198, allocations: 0.5415 MB / 0.9346 GB, free: 4.105 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005584/1.199, allocations: 404.5 kB / 0.935 GB, free: 3.707 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003546/1.199, allocations: 186.6 kB / 0.9351 GB, free: 3.52 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000234/1.199, allocations: 345.9 kB / 0.9355 GB, free: 3.176 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008451/1.2, allocations: 461.8 kB / 0.9359 GB, free: 2.727 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/1.201, allocations: 0.5239 MB / 0.9364 GB, free: 2.195 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/1.203, allocations: 1.043 MB / 0.9374 GB, free: 1.148 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/1.203, allocations: 0 / 0.9374 GB, free: 1.148 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003112/1.206, allocations: 1.395 MB / 0.9388 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/1.206, allocations: 7.938 kB / 0.9388 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/1.206, allocations: 0 / 0.9388 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005232/1.207, allocations: 130.3 kB / 0.9389 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007722/1.208, allocations: 183.8 kB / 0.9391 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004011/1.212, allocations: 3.357 MB / 0.9424 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008442/1.212, allocations: 76.27 kB / 0.9425 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/1.213, allocations: 71.89 kB / 0.9425 GB, free: 11.64 MB / 0.6856 GB 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 (108): * Single equations (assignments): 98 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006113/1.213, allocations: 273.6 kB / 0.9428 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003333/1.214, allocations: 139.2 kB / 0.9429 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004062/1.218, allocations: 2.046 MB / 0.9449 GB, free: 9.148 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/1.218, allocations: 12 kB / 0.9449 GB, free: 9.137 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/1.218, allocations: 4 kB / 0.9449 GB, free: 9.133 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.242e-05/1.218, allocations: 7.922 kB / 0.9449 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005277/1.223, allocations: 3.005 MB / 0.9479 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/1.223, allocations: 0 / 0.9479 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006674/1.224, allocations: 171.8 kB / 0.948 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004324/1.224, allocations: 125.6 kB / 0.9482 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.19e-05/1.224, allocations: 39.97 kB / 0.9482 GB, free: 5.711 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00363/1.228, allocations: 3.369 MB / 0.9515 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.228, allocations: 0 / 0.9515 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004148/1.232, allocations: 2.237 MB / 0.9537 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004106/1.232, allocations: 223.9 kB / 0.9539 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/1.232, allocations: 23.89 kB / 0.9539 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/1.233, allocations: 20 kB / 0.9539 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/1.233, allocations: 81.02 kB / 0.954 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/1.233, allocations: 59.97 kB / 0.9541 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001095/1.234, allocations: 0.674 MB / 0.9547 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9.1e-08/1.234, allocations: 4.062 kB / 0.9547 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003174/1.237, allocations: 1.016 MB / 0.9557 GB, free: 13.69 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (dynamicPressureOutflow1.inlet.m_flow,dynamicPressureOutflow.inlet.m_flow) * 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 (102): * Single equations (assignments): 92 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008125/1.246, allocations: 4.012 MB / 0.9596 GB, free: 9.641 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002865/1.248, allocations: 1.394 MB / 0.961 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/1.248, allocations: 3.938 kB / 0.961 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001474/1.25, allocations: 0.8627 MB / 0.9618 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/1.252, allocations: 442.8 kB / 0.9623 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01884/1.271, allocations: 10.38 MB / 0.9724 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/1.272, allocations: 1.199 MB / 0.9736 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001663/1.274, allocations: 0.6688 MB / 0.9742 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009144/1.275, allocations: 0.5656 MB / 0.9748 GB, free: 9.914 MB / 0.7169 GB Notification: Performance of SimCode: time 1.112e-06/1.275, allocations: 0 / 0.9748 GB, free: 9.914 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1245/1.399, allocations: 50.28 MB / 1.024 GB, free: 7.883 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/16.6, allocations: 10.97 kB / 1.024 GB, free: 7.875 MB / 0.7637 GB " [Timeout remaining time 643] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.csv --start-time 0 --stop-time 10 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Nozzle.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.csv failed! Error: Could not read variable nozzle.inlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.csv. Warning: Get data of variable nozzle.inlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.csv failed! Error: Could not read variable nozzle1.inlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.csv. Warning: Get data of variable nozzle1.inlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.653748536016792]