Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001274/0.001274, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001375/0.001375, allocations: 215.3 kB / 23.04 MB, free: 5.074 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.397/1.397, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7286/0.7286, allocations: 94.57 MB / 407.8 MB, free: 9.207 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/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_ThermofluidStream_Processes_Tests_Nozzle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle",fmuType="cs",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.002384/0.002384, allocations: 85.48 kB / 0.5557 GB, free: 38.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1131, allocations: 73.04 MB / 0.6271 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5719/0.685, allocations: 260.8 MB / 0.8818 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01788/0.7029, allocations: 13.07 MB / 0.8945 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.7043, allocations: 107.1 kB / 0.8946 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003229/0.7076, allocations: 1.037 MB / 0.8957 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01618/0.7237, allocations: 5.572 MB / 0.9011 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007332/0.7311, allocations: 2.486 MB / 0.9035 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00407/0.7351, allocations: 2.06 MB / 0.9055 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000954/0.7361, allocations: 244 kB / 0.9058 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003374/0.7395, allocations: 1.393 MB / 0.9071 GB, free: 268 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.7409, allocations: 0.8438 MB / 0.908 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003078/0.7412, allocations: 100 kB / 0.9081 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02172/0.7629, allocations: 11.16 MB / 0.919 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006589/0.7636, allocations: 394.5 kB / 0.9193 GB, free: 3.754 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.7647, allocations: 0.707 MB / 0.92 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01492/0.7796, allocations: 6.107 MB / 0.926 GB, free: 12.91 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.7796, allocations: 0 / 0.926 GB, free: 12.91 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.552e-06/0.7796, allocations: 0 / 0.926 GB, free: 12.91 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.711e-05/0.7797, allocations: 0 / 0.926 GB, free: 12.91 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.006785/0.7865, allocations: 2.758 MB / 0.9287 GB, free: 10.11 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.7865, allocations: 12.03 kB / 0.9287 GB, free: 10.1 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.157e-05/0.7866, allocations: 26 kB / 0.9287 GB, free: 10.07 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002288/0.7868, allocations: 156.3 kB / 0.9289 GB, free: 9.914 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003798/0.7872, allocations: 174.9 kB / 0.929 GB, free: 9.742 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/0.7893, allocations: 0.974 MB / 0.93 GB, free: 8.719 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.156e-05/0.7894, allocations: 77.98 kB / 0.9301 GB, free: 8.645 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.7896, allocations: 95.98 kB / 0.9301 GB, free: 8.551 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/0.7921, allocations: 1.42 MB / 0.9315 GB, free: 7.109 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/0.7921, allocations: 0 / 0.9315 GB, free: 7.109 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.7922, allocations: 39.98 kB / 0.9316 GB, free: 7.07 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001474/0.7924, allocations: 85.95 kB / 0.9317 GB, free: 6.988 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002795/0.7952, allocations: 1.562 MB / 0.9332 GB, free: 5.422 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009965/0.8051, allocations: 5.816 MB / 0.9389 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.8069, allocations: 0.7864 MB / 0.9396 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.8079, allocations: 0.5942 MB / 0.9402 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/0.809, allocations: 316.7 kB / 0.9405 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.809, allocations: 51.48 kB / 0.9406 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=114): time 3.807e-06/0.809, allocations: 3.938 kB / 0.9406 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of matching and sorting (n=114): time 0.004495/0.8135, allocations: 1.946 MB / 0.9425 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.8136, allocations: 90.11 kB / 0.9425 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.815, allocations: 0.9159 MB / 0.9434 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001509/0.8151, allocations: 41.7 kB / 0.9435 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005334/0.8157, allocations: 0.5532 MB / 0.944 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004686/0.8161, allocations: 412.4 kB / 0.9444 GB, free: 9.32 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003929/0.8165, allocations: 186.6 kB / 0.9446 GB, free: 9.133 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.8167, allocations: 345.9 kB / 0.9449 GB, free: 8.789 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008692/0.8176, allocations: 453.8 kB / 0.9454 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.8187, allocations: 0.5277 MB / 0.9459 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/0.8207, allocations: 1.044 MB / 0.9469 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.8207, allocations: 0 / 0.9469 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002968/0.8237, allocations: 1.381 MB / 0.9482 GB, free: 5.367 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.8237, allocations: 10.34 kB / 0.9482 GB, free: 5.359 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.8237, allocations: 0 / 0.9482 GB, free: 5.359 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005311/0.8243, allocations: 133.5 kB / 0.9484 GB, free: 5.227 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007571/0.825, allocations: 179.8 kB / 0.9485 GB, free: 5.051 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003397/0.8284, allocations: 3.148 MB / 0.9516 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007125/0.8291, allocations: 79.39 kB / 0.9517 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002232/0.8293, allocations: 64.72 kB / 0.9518 GB, free: 1.535 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.0006333/0.83, allocations: 281.7 kB / 0.952 GB, free: 1.25 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004197/0.8304, allocations: 143 kB / 0.9522 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004097/0.8345, allocations: 2.037 MB / 0.9542 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-05/0.8345, allocations: 15.98 kB / 0.9542 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.859e-05/0.8346, allocations: 8 kB / 0.9542 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.8346, allocations: 7.922 kB / 0.9542 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005402/0.84, allocations: 2.969 MB / 0.9571 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.84, allocations: 0 / 0.9571 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006948/0.8407, allocations: 167.8 kB / 0.9572 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004489/0.8411, allocations: 129.5 kB / 0.9574 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.8412, allocations: 43.97 kB / 0.9574 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003304/0.8446, allocations: 3.154 MB / 0.9605 GB, free: 8.262 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8446, allocations: 4.062 kB / 0.9605 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003999/0.8486, allocations: 2.24 MB / 0.9627 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/0.8489, allocations: 134.8 kB / 0.9628 GB, free: 5.859 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/0.8491, allocations: 35.86 kB / 0.9628 GB, free: 5.824 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005363/0.8497, allocations: 16 kB / 0.9629 GB, free: 5.809 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.8498, allocations: 92.83 kB / 0.9629 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/0.85, allocations: 59.97 kB / 0.963 GB, free: 5.66 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001019/0.851, allocations: 0.6701 MB / 0.9637 GB, free: 4.984 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.851, allocations: 4.062 kB / 0.9637 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002952/0.854, allocations: 1.028 MB / 0.9647 GB, free: 3.949 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.00754/0.8615, allocations: 4.002 MB / 0.9686 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002957/0.8645, allocations: 1.388 MB / 0.9699 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.8645, allocations: 4 kB / 0.9699 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001571/0.866, allocations: 0.862 MB / 0.9708 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/0.8683, allocations: 432.5 kB / 0.9712 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01976/0.8881, allocations: 10.38 MB / 0.9813 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.8891, allocations: 1.203 MB / 0.9825 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001652/0.8908, allocations: 0.6853 MB / 0.9832 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009631/0.8918, allocations: 0.5656 MB / 0.9837 GB, free: 172 kB / 0.7169 GB Notification: Performance of SimCode: time 9.82e-07/0.8918, allocations: 0 / 0.9837 GB, free: 172 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1057/0.9975, allocations: 51.07 MB / 1.034 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.62, allocations: 15.42 kB / 1.034 GB, free: 13.37 MB / 0.7794 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.673565616016276]