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.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.001522/0.001522, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002008/0.002008, allocations: 220.2 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.679/1.679, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.9169/0.9169, allocations: 100.3 MB / 412.7 MB, free: 3.648 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 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.002859/0.002859, allocations: 83.09 kB / 0.5633 GB, free: 35.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.2002, allocations: 74.47 MB / 0.636 GB, free: 7.645 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.8889/1.089, allocations: 260.8 MB / 0.8907 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02281/1.112, allocations: 13.07 MB / 0.9034 GB, free: 368 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002961/1.115, allocations: 111.1 kB / 0.9035 GB, free: 256 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004424/1.119, allocations: 1.034 MB / 0.9046 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.02206/1.141, allocations: 5.575 MB / 0.91 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00916/1.151, allocations: 2.492 MB / 0.9124 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004/1.155, allocations: 2.071 MB / 0.9145 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005408/1.155, allocations: 244 kB / 0.9147 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003744/1.159, allocations: 1.421 MB / 0.9161 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/1.16, allocations: 0.8321 MB / 0.9169 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001553/1.16, allocations: 100 kB / 0.917 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02458/1.185, allocations: 11.16 MB / 0.9279 GB, free: 7.23 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008669/1.186, allocations: 386.5 kB / 0.9283 GB, free: 6.852 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00141/1.187, allocations: 0.707 MB / 0.9289 GB, free: 6.141 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02163/1.209, allocations: 6.103 MB / 0.9349 GB, free: 20 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/1.209, allocations: 4 kB / 0.9349 GB, free: 16 kB / 0.67 GB Notification: Performance of FrontEnd: time 3.035e-06/1.209, allocations: 0 / 0.9349 GB, free: 16 kB / 0.67 GB Notification: Performance of Transformations before backend: time 3.136e-05/1.209, allocations: 0 / 0.9349 GB, free: 16 kB / 0.67 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.007832/1.217, allocations: 2.767 MB / 0.9376 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.505e-05/1.217, allocations: 12.03 kB / 0.9376 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003258/1.217, allocations: 148.3 kB / 0.9378 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003956/1.217, allocations: 176.3 kB / 0.9379 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/1.22, allocations: 0.9785 MB / 0.9389 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.642e-05/1.22, allocations: 73.92 kB / 0.939 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/1.22, allocations: 99.95 kB / 0.9391 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/1.222, allocations: 1.424 MB / 0.9404 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/1.222, allocations: 0 / 0.9404 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.932e-05/1.222, allocations: 39.98 kB / 0.9405 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/1.222, allocations: 93.95 kB / 0.9406 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/1.225, allocations: 1.562 MB / 0.9421 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008983/1.234, allocations: 5.81 MB / 0.9478 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/1.235, allocations: 0.7779 MB / 0.9485 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008962/1.236, allocations: 0.5942 MB / 0.9491 GB, free: 0.8203 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/1.237, allocations: 320.7 kB / 0.9494 GB, free: 0.5078 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/1.237, allocations: 47.55 kB / 0.9495 GB, free: 460 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=114): time 6.061e-06/1.237, allocations: 4 kB / 0.9495 GB, free: 456 kB / 0.6856 GB Notification: Performance of matching and sorting (n=114): time 0.004409/1.242, allocations: 1.946 MB / 0.9514 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/1.242, allocations: 90.11 kB / 0.9515 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/1.243, allocations: 0.9198 MB / 0.9524 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.934e-05/1.243, allocations: 45.69 kB / 0.9524 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004765/1.243, allocations: 0.5455 MB / 0.9529 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003515/1.244, allocations: 400.5 kB / 0.9533 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002948/1.244, allocations: 186.6 kB / 0.9535 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002093/1.244, allocations: 345.9 kB / 0.9538 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007629/1.245, allocations: 457.8 kB / 0.9543 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009285/1.246, allocations: 0.5278 MB / 0.9548 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/1.248, allocations: 1.044 MB / 0.9558 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/1.248, allocations: 0 / 0.9558 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00256/1.25, allocations: 1.381 MB / 0.9571 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.25, allocations: 7.938 kB / 0.9571 GB, free: 8.492 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.25, allocations: 7.938 kB / 0.9572 GB, free: 8.484 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004636/1.251, allocations: 125.6 kB / 0.9573 GB, free: 8.355 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000695/1.251, allocations: 187.7 kB / 0.9575 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/1.255, allocations: 3.151 MB / 0.9605 GB, free: 4.801 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007642/1.256, allocations: 75.34 kB / 0.9606 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/1.256, allocations: 68.03 kB / 0.9607 GB, free: 4.66 MB / 0.7012 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.0005822/1.256, allocations: 274.6 kB / 0.9609 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/1.257, allocations: 139 kB / 0.9611 GB, free: 4.246 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00383/1.26, allocations: 2.056 MB / 0.9631 GB, free: 2.16 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.943e-05/1.261, allocations: 12 kB / 0.9631 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.261, allocations: 0 / 0.9631 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/1.261, allocations: 11.92 kB / 0.9631 GB, free: 2.137 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005257/1.266, allocations: 2.958 MB / 0.966 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.266, allocations: 0 / 0.966 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006656/1.266, allocations: 183.7 kB / 0.9662 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004225/1.267, allocations: 125.5 kB / 0.9663 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.64e-05/1.267, allocations: 52.02 kB / 0.9663 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003219/1.27, allocations: 3.146 MB / 0.9694 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.27, allocations: 4.031 kB / 0.9694 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003458/1.274, allocations: 2.237 MB / 0.9716 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000417/1.274, allocations: 146.8 kB / 0.9717 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/1.274, allocations: 23.94 kB / 0.9717 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/1.275, allocations: 20 kB / 0.9718 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/1.275, allocations: 88.83 kB / 0.9719 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/1.275, allocations: 68.02 kB / 0.9719 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009855/1.276, allocations: 0.674 MB / 0.9726 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.276, allocations: 0 / 0.9726 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003342/1.279, allocations: 1.028 MB / 0.9736 GB, free: 7.066 MB / 0.7169 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.007287/1.287, allocations: 3.998 MB / 0.9775 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002692/1.289, allocations: 1.404 MB / 0.9789 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.289, allocations: 0 / 0.9789 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/1.291, allocations: 0.8581 MB / 0.9797 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/1.293, allocations: 437.1 kB / 0.9801 GB, free: 304 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01833/1.311, allocations: 10.37 MB / 0.9902 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/1.312, allocations: 1.203 MB / 0.9914 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001557/1.314, allocations: 0.6832 MB / 0.9921 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000955/1.315, allocations: 0.5656 MB / 0.9926 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of SimCode: time 1.613e-06/1.315, allocations: 0 / 0.9926 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1254/1.44, allocations: 51.02 MB / 1.042 GB, free: 0.5312 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.1/18.54, allocations: 6.344 kB / 1.042 GB, free: 0.5273 MB / 0.7794 GB " [Timeout remaining time 641] (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/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: 22.910473706997436]