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.001296/0.001296, allocations: 107 kB / 16.45 MB, free: 6.508 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.001304/0.001304, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.435/1.435, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.7903/0.7903, allocations: 100.3 MB / 409.1 MB, free: 4.75 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.002395/0.002395, allocations: 86.11 kB / 0.5582 GB, free: 36.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1343, allocations: 74.43 MB / 0.6309 GB, free: 9.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6157/0.75, allocations: 260 MB / 0.8848 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01819/0.7682, allocations: 13.01 MB / 0.8975 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.7695, allocations: 107.1 kB / 0.8976 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002865/0.7724, allocations: 1.034 MB / 0.8986 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01479/0.7872, allocations: 5.54 MB / 0.904 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006665/0.7939, allocations: 2.408 MB / 0.9063 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003244/0.7971, allocations: 2.067 MB / 0.9084 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005229/0.7976, allocations: 267.6 kB / 0.9086 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003265/0.8009, allocations: 1.409 MB / 0.91 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.802, allocations: 0.8398 MB / 0.9108 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.8022, allocations: 100 kB / 0.9109 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02135/0.8236, allocations: 11.05 MB / 0.9217 GB, free: 10.03 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006598/0.8242, allocations: 394.5 kB / 0.9221 GB, free: 9.645 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.8253, allocations: 0.7031 MB / 0.9228 GB, free: 8.938 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.017/0.8423, allocations: 6.103 MB / 0.9287 GB, free: 2.816 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.8423, allocations: 0 / 0.9287 GB, free: 2.816 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8423, allocations: 0 / 0.9287 GB, free: 2.816 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.8424, allocations: 3.938 kB / 0.9287 GB, free: 2.812 MB / 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.006534/0.8489, allocations: 2.834 MB / 0.9315 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.8489, allocations: 16.03 kB / 0.9315 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001766/0.8491, allocations: 148.3 kB / 0.9316 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002939/0.8494, allocations: 178.9 kB / 0.9318 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/0.8513, allocations: 1.077 MB / 0.9329 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.206e-05/0.8513, allocations: 77.94 kB / 0.9329 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.8515, allocations: 95.98 kB / 0.933 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.8537, allocations: 1.4 MB / 0.9344 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.8537, allocations: 0 / 0.9344 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.803e-05/0.8538, allocations: 43.92 kB / 0.9344 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001237/0.8539, allocations: 89.95 kB / 0.9345 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.8562, allocations: 1.53 MB / 0.936 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008308/0.8645, allocations: 5.847 MB / 0.9417 GB, free: 4.828 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.866, allocations: 0.7752 MB / 0.9425 GB, free: 4.039 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009956/0.867, allocations: 0.5874 MB / 0.9431 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002197/0.8692, allocations: 2.414 MB / 0.9454 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.8692, allocations: 48.38 kB / 0.9455 GB, free: 468 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=114): time 3.336e-06/0.8692, allocations: 0 / 0.9455 GB, free: 468 kB / 0.6856 GB Notification: Performance of matching and sorting (n=114): time 0.004328/0.8735, allocations: 2.1 MB / 0.9475 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.8736, allocations: 90.23 kB / 0.9476 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.8747, allocations: 0.9159 MB / 0.9485 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.949e-05/0.8748, allocations: 45.7 kB / 0.9485 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004931/0.8753, allocations: 0.5454 MB / 0.9491 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003343/0.8756, allocations: 404.4 kB / 0.9495 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003275/0.8759, allocations: 186.6 kB / 0.9496 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.8761, allocations: 349.9 kB / 0.95 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008033/0.8769, allocations: 457.8 kB / 0.9504 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008289/0.8777, allocations: 0.5201 MB / 0.9509 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.8795, allocations: 1.047 MB / 0.9519 GB, free: 9.711 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.8795, allocations: 4 kB / 0.9519 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002595/0.8821, allocations: 1.389 MB / 0.9533 GB, free: 8.309 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.8821, allocations: 13.86 kB / 0.9533 GB, free: 8.297 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.8821, allocations: 0 / 0.9533 GB, free: 8.297 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000455/0.8826, allocations: 121.6 kB / 0.9534 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007113/0.8833, allocations: 183.7 kB / 0.9536 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003476/0.8868, allocations: 3.369 MB / 0.9569 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005198/0.8873, allocations: 79.36 kB / 0.957 GB, free: 4.266 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.8874, allocations: 59.97 kB / 0.957 GB, free: 4.207 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.0004802/0.8879, allocations: 273.7 kB / 0.9573 GB, free: 3.93 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/0.8882, allocations: 139 kB / 0.9574 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004011/0.8922, allocations: 2.057 MB / 0.9594 GB, free: 1.707 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.232e-05/0.8922, allocations: 12 kB / 0.9594 GB, free: 1.695 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8922, allocations: 4 kB / 0.9594 GB, free: 1.691 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.8922, allocations: 11.92 kB / 0.9594 GB, free: 1.68 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004877/0.8971, allocations: 2.989 MB / 0.9624 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.8971, allocations: 11.92 kB / 0.9624 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006553/0.8978, allocations: 163.8 kB / 0.9625 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004611/0.8982, allocations: 125.5 kB / 0.9627 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.623e-05/0.8983, allocations: 43.97 kB / 0.9627 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003249/0.9016, allocations: 3.374 MB / 0.966 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.9016, allocations: 0 / 0.966 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003829/0.9054, allocations: 2.233 MB / 0.9682 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/0.9058, allocations: 219.9 kB / 0.9684 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002686/0.906, allocations: 27.98 kB / 0.9684 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/0.9065, allocations: 16 kB / 0.9684 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.9066, allocations: 88.94 kB / 0.9685 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/0.9068, allocations: 59.97 kB / 0.9686 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009636/0.9077, allocations: 0.674 MB / 0.9692 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9077, allocations: 4.062 kB / 0.9692 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003217/0.9109, allocations: 1.028 MB / 0.9702 GB, free: 6.23 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.007033/0.918, allocations: 4.002 MB / 0.9741 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002587/0.9206, allocations: 1.402 MB / 0.9755 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.9206, allocations: 4 kB / 0.9755 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.9219, allocations: 0.8666 MB / 0.9764 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/0.9239, allocations: 427.1 kB / 0.9768 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01723/0.9411, allocations: 10.38 MB / 0.9869 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009605/0.9421, allocations: 1.199 MB / 0.9881 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001371/0.9435, allocations: 0.6813 MB / 0.9887 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008942/0.9443, allocations: 0.5656 MB / 0.9893 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of SimCode: time 9.11e-07/0.9443, allocations: 0 / 0.9893 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/1.046, allocations: 50.23 MB / 1.038 GB, free: 496 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.29, allocations: 14.34 kB / 1.038 GB, free: 484 kB / 0.7794 GB " [Timeout remaining time 646] (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: 17.978062636917457]