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.001506/0.001506, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001517/0.001517, allocations: 215.5 kB / 22.25 MB, free: 5.082 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 8.023 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.8431/0.8431, allocations: 100.3 MB / 412.7 MB, free: 3.672 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.002468/0.002468, allocations: 82.97 kB / 0.5633 GB, free: 35.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1528, allocations: 74.46 MB / 0.636 GB, free: 7.656 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6679/0.8207, allocations: 260.8 MB / 0.8907 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01952/0.8402, allocations: 13.07 MB / 0.9034 GB, free: 344 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.842, allocations: 107.1 kB / 0.9036 GB, free: 236 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003293/0.8453, allocations: 1.041 MB / 0.9046 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01723/0.8626, allocations: 5.566 MB / 0.91 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008301/0.8709, allocations: 2.487 MB / 0.9124 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003864/0.8747, allocations: 2.083 MB / 0.9145 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005603/0.8753, allocations: 244 kB / 0.9147 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003576/0.8789, allocations: 1.417 MB / 0.9161 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.8803, allocations: 0.836 MB / 0.9169 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003126/0.8807, allocations: 100 kB / 0.917 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02389/0.9045, allocations: 11.15 MB / 0.9279 GB, free: 7.219 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006309/0.9052, allocations: 398.5 kB / 0.9283 GB, free: 6.828 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001537/0.9067, allocations: 0.7109 MB / 0.929 GB, free: 6.113 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01609/0.9228, allocations: 6.103 MB / 0.9349 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.9228, allocations: 0 / 0.9349 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9228, allocations: 0 / 0.9349 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.358e-05/0.9229, allocations: 4 kB / 0.9349 GB, free: 15.98 MB / 0.6856 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.007452/0.9303, allocations: 2.766 MB / 0.9376 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.9304, allocations: 12.03 kB / 0.9376 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002903/0.9307, allocations: 152.3 kB / 0.9378 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004255/0.9311, allocations: 178.8 kB / 0.9379 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/0.9339, allocations: 0.9785 MB / 0.9389 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-05/0.9339, allocations: 66 kB / 0.939 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.9341, allocations: 103.9 kB / 0.9391 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.9366, allocations: 1.416 MB / 0.9404 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.9366, allocations: 4 kB / 0.9405 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.9367, allocations: 43.97 kB / 0.9405 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/0.9368, allocations: 81.95 kB / 0.9406 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002623/0.9394, allocations: 1.57 MB / 0.9421 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009673/0.9491, allocations: 5.81 MB / 0.9478 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.9508, allocations: 0.7778 MB / 0.9485 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009331/0.9518, allocations: 0.5942 MB / 0.9491 GB, free: 0.7969 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/0.9529, allocations: 320.7 kB / 0.9494 GB, free: 496 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.953, allocations: 47.56 kB / 0.9495 GB, free: 436 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=114): time 3.286e-06/0.953, allocations: 0 / 0.9495 GB, free: 436 kB / 0.6856 GB Notification: Performance of matching and sorting (n=114): time 0.004431/0.9574, allocations: 1.95 MB / 0.9514 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.932e-05/0.9575, allocations: 94.05 kB / 0.9515 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.9589, allocations: 0.9198 MB / 0.9524 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.709e-05/0.9589, allocations: 41.7 kB / 0.9524 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004834/0.9594, allocations: 0.5455 MB / 0.9529 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004859/0.9599, allocations: 404.4 kB / 0.9533 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/0.9602, allocations: 186.6 kB / 0.9535 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.9604, allocations: 345.9 kB / 0.9538 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007838/0.9612, allocations: 453.8 kB / 0.9543 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009941/0.9622, allocations: 0.5239 MB / 0.9548 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/0.9641, allocations: 1.044 MB / 0.9558 GB, free: 9.875 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.9641, allocations: 3.938 kB / 0.9558 GB, free: 9.871 MB / 0.7012 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002797/0.9669, allocations: 1.385 MB / 0.9571 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.44e-05/0.9669, allocations: 7.938 kB / 0.9572 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.9669, allocations: 0 / 0.9572 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004732/0.9674, allocations: 125.6 kB / 0.9573 GB, free: 8.336 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006946/0.9681, allocations: 183.8 kB / 0.9574 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00374/0.9719, allocations: 3.152 MB / 0.9605 GB, free: 4.781 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/0.9724, allocations: 79.33 kB / 0.9606 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.9725, allocations: 59.98 kB / 0.9607 GB, free: 4.645 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.0005295/0.9731, allocations: 285.7 kB / 0.9609 GB, free: 4.355 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004864/0.9736, allocations: 143 kB / 0.9611 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004115/0.9777, allocations: 2.049 MB / 0.9631 GB, free: 2.137 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.242e-05/0.9777, allocations: 12 kB / 0.9631 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.9777, allocations: 0 / 0.9631 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/0.9777, allocations: 11.91 kB / 0.9631 GB, free: 2.113 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005632/0.9834, allocations: 2.962 MB / 0.966 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.9834, allocations: 0 / 0.966 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006476/0.984, allocations: 175.7 kB / 0.9662 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005819/0.9846, allocations: 133.5 kB / 0.9663 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-05/0.9847, allocations: 39.97 kB / 0.9663 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003472/0.9882, allocations: 3.158 MB / 0.9694 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.9882, allocations: 7.969 kB / 0.9694 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003848/0.992, allocations: 2.229 MB / 0.9716 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/0.9923, allocations: 146.8 kB / 0.9717 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.9925, allocations: 27.92 kB / 0.9718 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006476/0.9931, allocations: 20 kB / 0.9718 GB, free: 8.902 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.9933, allocations: 88.83 kB / 0.9719 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/0.9935, allocations: 59.97 kB / 0.9719 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001087/0.9945, allocations: 0.6741 MB / 0.9726 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.9945, allocations: 0 / 0.9726 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002882/0.9974, allocations: 1.032 MB / 0.9736 GB, free: 7.043 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.007921/1.005, allocations: 3.994 MB / 0.9775 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002825/1.008, allocations: 1.396 MB / 0.9788 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.008, allocations: 0 / 0.9788 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001479/1.01, allocations: 0.8658 MB / 0.9797 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/1.012, allocations: 434.4 kB / 0.9801 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/1.03, allocations: 10.39 MB / 0.9902 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/1.031, allocations: 1.203 MB / 0.9914 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00167/1.033, allocations: 0.6863 MB / 0.9921 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009789/1.034, allocations: 0.5656 MB / 0.9926 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of SimCode: time 8.71e-07/1.034, allocations: 0 / 0.9926 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.127/1.161, allocations: 51.01 MB / 1.042 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.42/16.58, allocations: 10.56 kB / 1.042 GB, free: 0.4961 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Nozzle_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.54823105200194]