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.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.002232/0.002232, allocations: 109 kB / 16.45 MB, free: 6.035 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.00252/0.00252, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.581/1.581, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.8477/0.8477, allocations: 94.59 MB / 397.3 MB, free: 260 kB / 302.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_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00338/0.00338, allocations: 86.64 kB / 0.5416 GB, free: 42.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2094, allocations: 71.87 MB / 0.6118 GB, free: 10.08 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.9514/1.161, allocations: 259.9 MB / 0.8656 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02221/1.183, allocations: 12.99 MB / 0.8782 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002876/1.186, allocations: 79.5 kB / 0.8783 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004145/1.19, allocations: 1.03 MB / 0.8793 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.02462/1.215, allocations: 5.547 MB / 0.8847 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01029/1.225, allocations: 2.428 MB / 0.8871 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004481/1.229, allocations: 2.06 MB / 0.8891 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007708/1.23, allocations: 260.2 kB / 0.8894 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004452/1.235, allocations: 1.347 MB / 0.8907 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/1.236, allocations: 0.8321 MB / 0.8915 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004329/1.237, allocations: 104 kB / 0.8916 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0292/1.266, allocations: 10.96 MB / 0.9023 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001152/1.267, allocations: 398.5 kB / 0.9027 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001552/1.269, allocations: 0.7148 MB / 0.9034 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02528/1.294, allocations: 6.08 MB / 0.9093 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/1.294, allocations: 0 / 0.9093 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.994e-06/1.294, allocations: 0 / 0.9093 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.476e-05/1.294, allocations: 0 / 0.9093 GB, free: 12.45 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.008956/1.303, allocations: 2.827 MB / 0.9121 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.511e-05/1.303, allocations: 15.97 kB / 0.9121 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002239/1.303, allocations: 153.9 kB / 0.9122 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003699/1.304, allocations: 170.9 kB / 0.9124 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002623/1.306, allocations: 1.073 MB / 0.9134 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.82e-05/1.306, allocations: 73.98 kB / 0.9135 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/1.306, allocations: 103.9 kB / 0.9136 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/1.309, allocations: 1.401 MB / 0.915 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/1.309, allocations: 3.938 kB / 0.915 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-05/1.309, allocations: 39.98 kB / 0.915 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001318/1.309, allocations: 85.95 kB / 0.9151 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002507/1.312, allocations: 1.53 MB / 0.9166 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01012/1.322, allocations: 5.854 MB / 0.9223 GB, free: 14.47 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/1.323, allocations: 0.779 MB / 0.9231 GB, free: 13.67 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/1.324, allocations: 0.5984 MB / 0.9237 GB, free: 13.07 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00262/1.327, allocations: 2.398 MB / 0.926 GB, free: 10.15 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/1.327, allocations: 47.62 kB / 0.926 GB, free: 10.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=114): time 3.517e-06/1.327, allocations: 0 / 0.926 GB, free: 10.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=114): time 0.004575/1.332, allocations: 2.112 MB / 0.9281 GB, free: 7.938 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/1.332, allocations: 86.23 kB / 0.9282 GB, free: 7.836 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/1.333, allocations: 0.9159 MB / 0.9291 GB, free: 6.906 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.317e-05/1.333, allocations: 45.7 kB / 0.9291 GB, free: 6.855 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000526/1.334, allocations: 0.5376 MB / 0.9297 GB, free: 6.312 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004402/1.334, allocations: 412.5 kB / 0.93 GB, free: 5.906 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003342/1.335, allocations: 186.6 kB / 0.9302 GB, free: 5.719 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002507/1.335, allocations: 349.8 kB / 0.9306 GB, free: 5.371 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008041/1.336, allocations: 457.8 kB / 0.931 GB, free: 4.922 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009996/1.337, allocations: 0.5201 MB / 0.9315 GB, free: 4.395 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/1.339, allocations: 1.047 MB / 0.9325 GB, free: 3.34 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/1.339, allocations: 0 / 0.9325 GB, free: 3.34 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002897/1.341, allocations: 1.384 MB / 0.9339 GB, free: 1.945 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/1.341, allocations: 11.94 kB / 0.9339 GB, free: 1.934 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.341, allocations: 3.938 kB / 0.9339 GB, free: 1.93 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004738/1.342, allocations: 117.6 kB / 0.934 GB, free: 1.809 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007544/1.343, allocations: 183.8 kB / 0.9342 GB, free: 1.629 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003978/1.347, allocations: 3.369 MB / 0.9375 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008988/1.348, allocations: 75.39 kB / 0.9375 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/1.348, allocations: 59.98 kB / 0.9376 GB, free: 13.85 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.0008454/1.349, allocations: 283.7 kB / 0.9379 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003519/1.349, allocations: 143.1 kB / 0.938 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00413/1.353, allocations: 2.037 MB / 0.94 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.765e-05/1.353, allocations: 16 kB / 0.94 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/1.353, allocations: 4 kB / 0.94 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/1.353, allocations: 11.91 kB / 0.94 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005924/1.359, allocations: 3.005 MB / 0.943 GB, free: 8.254 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/1.359, allocations: 8 kB / 0.943 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006648/1.36, allocations: 167.8 kB / 0.9431 GB, free: 8.082 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000488/1.36, allocations: 129.6 kB / 0.9432 GB, free: 7.949 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-05/1.36, allocations: 43.91 kB / 0.9433 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003785/1.364, allocations: 3.353 MB / 0.9466 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.364, allocations: 3.938 kB / 0.9466 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004621/1.369, allocations: 2.237 MB / 0.9488 GB, free: 2.012 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005702/1.369, allocations: 223.9 kB / 0.949 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/1.37, allocations: 23.94 kB / 0.949 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006865/1.37, allocations: 19.98 kB / 0.949 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/1.37, allocations: 89 kB / 0.9491 GB, free: 1.645 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/1.371, allocations: 59.97 kB / 0.9492 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001041/1.372, allocations: 0.6741 MB / 0.9498 GB, free: 0.9062 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8.1e-08/1.372, allocations: 0 / 0.9498 GB, free: 0.9062 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003848/1.375, allocations: 1.016 MB / 0.9508 GB, free: 15.88 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.008718/1.384, allocations: 4.021 MB / 0.9547 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003721/1.388, allocations: 1.394 MB / 0.9561 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.388, allocations: 0 / 0.9561 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001817/1.39, allocations: 0.8627 MB / 0.9569 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/1.392, allocations: 434.3 kB / 0.9573 GB, free: 9.109 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02137/1.413, allocations: 10.37 MB / 0.9675 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/1.415, allocations: 1.199 MB / 0.9686 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002132/1.417, allocations: 0.6803 MB / 0.9693 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/1.418, allocations: 0.5617 MB / 0.9699 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of SimCode: time 2.164e-06/1.418, allocations: 0 / 0.9699 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1328/1.551, allocations: 50.12 MB / 1.019 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.34/17.89, allocations: 7.031 kB / 1.019 GB, free: 10.24 MB / 0.7637 GB " [Timeout remaining time 642] (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_2/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: 22.19102558027953]