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.0009511/0.0009511, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.001059/0.001059, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8369/0.8369, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.6033/0.6033, allocations: 116 MB / 375.2 MB, free: 4.207 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5533 GB, free: 13.36 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.184e-05, allocations: 6.219 kB / 0.5533 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.4472/0.4472, allocations: 233.6 MB / 0.7814 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006353/0.4536, allocations: 5.571 MB / 0.7868 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.4548, allocations: 115 kB / 0.7869 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.4568, allocations: 0.9043 MB / 0.7878 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01097/0.4678, allocations: 5.698 MB / 0.7934 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004784/0.4726, allocations: 2.531 MB / 0.7959 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002733/0.4753, allocations: 2.334 MB / 0.7981 GB, free: 3 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004905/0.4758, allocations: 244.2 kB / 0.7984 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003052/0.4789, allocations: 1.768 MB / 0.8001 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009305/0.4798, allocations: 0.697 MB / 0.8008 GB, free: 268 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.48, allocations: 100 kB / 0.8009 GB, free: 168 kB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01245/0.4924, allocations: 8.828 MB / 0.8095 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005174/0.493, allocations: 426.4 kB / 0.8099 GB, free: 6.898 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0006899/0.4937, allocations: 0.5026 MB / 0.8104 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01275/0.5064, allocations: 6.576 MB / 0.8168 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.5064, allocations: 0 / 0.8168 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.532e-06/0.5064, allocations: 0 / 0.8168 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.476e-05/0.5064, allocations: 7.938 kB / 0.8168 GB, free: 15.79 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.004882/0.5113, allocations: 2.799 MB / 0.8195 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.5114, allocations: 8.031 kB / 0.8196 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001478/0.5115, allocations: 156.3 kB / 0.8197 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003882/0.5119, allocations: 186.8 kB / 0.8199 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.5135, allocations: 1.022 MB / 0.8209 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.72e-05/0.5135, allocations: 75.48 kB / 0.821 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.5137, allocations: 107.9 kB / 0.8211 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.5152, allocations: 1.43 MB / 0.8225 GB, free: 9.883 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.5152, allocations: 3.938 kB / 0.8225 GB, free: 9.879 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.158e-05/0.5153, allocations: 47.92 kB / 0.8225 GB, free: 9.832 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.293e-05/0.5154, allocations: 89.94 kB / 0.8226 GB, free: 9.742 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.5169, allocations: 1.558 MB / 0.8241 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005689/0.5226, allocations: 4.012 MB / 0.828 GB, free: 4.082 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.5237, allocations: 0.7597 MB / 0.8288 GB, free: 3.309 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/0.5243, allocations: 0.5449 MB / 0.8293 GB, free: 2.758 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006096/0.5249, allocations: 306.3 kB / 0.8296 GB, free: 2.461 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.5249, allocations: 47.56 kB / 0.8296 GB, free: 2.406 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=114): time 4.068e-06/0.5249, allocations: 0 / 0.8296 GB, free: 2.406 MB / 0.6667 GB Notification: Performance of matching and sorting (n=114): time 0.002707/0.5276, allocations: 1.918 MB / 0.8315 GB, free: 484 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.5277, allocations: 90.11 kB / 0.8316 GB, free: 376 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.5288, allocations: 0.9747 MB / 0.8325 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.456e-05/0.5289, allocations: 45.69 kB / 0.8326 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/0.5292, allocations: 0.5654 MB / 0.8331 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000268/0.5294, allocations: 408.4 kB / 0.8335 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.5296, allocations: 186.6 kB / 0.8337 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.088e-05/0.5297, allocations: 345.9 kB / 0.834 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005047/0.5302, allocations: 449.8 kB / 0.8345 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005797/0.5308, allocations: 0.5138 MB / 0.835 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.5319, allocations: 1.026 MB / 0.836 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.5319, allocations: 4 kB / 0.836 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001771/0.5337, allocations: 1.381 MB / 0.8373 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.5337, allocations: 7.938 kB / 0.8373 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.5337, allocations: 11.88 kB / 0.8373 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003368/0.5341, allocations: 125.6 kB / 0.8375 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.5345, allocations: 191.8 kB / 0.8376 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.5368, allocations: 3.124 MB / 0.8407 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005717/0.5373, allocations: 87.44 kB / 0.8408 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.5375, allocations: 64.67 kB / 0.8408 GB, free: 6.594 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (110): * Single equations (assignments): 100 * 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.0004394/0.5379, allocations: 273.6 kB / 0.8411 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/0.5382, allocations: 159 kB / 0.8413 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.5405, allocations: 1.938 MB / 0.8432 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.5405, allocations: 12 kB / 0.8432 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.5405, allocations: 0 / 0.8432 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.5405, allocations: 3.984 kB / 0.8432 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003454/0.544, allocations: 2.702 MB / 0.8458 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.544, allocations: 0 / 0.8458 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.5443, allocations: 175.7 kB / 0.846 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002754/0.5446, allocations: 121.6 kB / 0.8461 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.9e-05/0.5446, allocations: 47.95 kB / 0.8461 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.5465, allocations: 3.131 MB / 0.8492 GB, free: 13.72 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5465, allocations: 4.031 kB / 0.8492 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/0.549, allocations: 2.178 MB / 0.8513 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004749/0.5495, allocations: 274.5 kB / 0.8516 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.5496, allocations: 24 kB / 0.8516 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.5499, allocations: 16 kB / 0.8516 GB, free: 11.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.55, allocations: 96.81 kB / 0.8517 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.438e-05/0.5501, allocations: 55.97 kB / 0.8518 GB, free: 11.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006489/0.5507, allocations: 0.7074 MB / 0.8525 GB, free: 10.35 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/0.5507, allocations: 0 / 0.8525 GB, free: 10.35 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002426/0.5531, allocations: 1.059 MB / 0.8535 GB, free: 9.285 MB / 0.698 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.00505/0.5582, allocations: 3.996 MB / 0.8574 GB, free: 5.238 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002126/0.5603, allocations: 1.346 MB / 0.8587 GB, free: 3.863 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5603, allocations: 0 / 0.8587 GB, free: 3.863 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.5613, allocations: 0.8268 MB / 0.8595 GB, free: 3.016 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/0.5634, allocations: 0.5847 MB / 0.8601 GB, free: 2.445 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.5766, allocations: 10.51 MB / 0.8704 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.577, allocations: 0.6104 MB / 0.871 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001036/0.5781, allocations: 0.5861 MB / 0.8715 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005848/0.5787, allocations: 0.5706 MB / 0.8721 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of SimCode: time 1.402e-06/0.5787, allocations: 0 / 0.8721 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06465/0.6433, allocations: 56.06 MB / 0.9268 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/9.016, allocations: 0 / 0.9268 GB, free: 14.49 MB / 0.7761 GB " [Timeout remaining time 651] (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/jenkins/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: 11.500434965826571]