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.001161/0.001161, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.001069/0.001069, allocations: 165 kB / 23.02 MB, free: 1.555 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 1.004/1.004, allocations: 177.1 MB / 203.4 MB, free: 5.09 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.87/0.87, allocations: 118.6 MB / 378.6 MB, free: 1.438 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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: translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle") translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 483.6 MB, free: 8.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.515e-05/3.695e-05, allocations: 2.312 kB / 483.6 MB, free: 8.316 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.1954/0.1954, allocations: 150.7 MB / 0.6194 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.006923/0.2024, allocations: 2.674 MB / 0.622 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.2046, allocations: 115 kB / 0.6221 GB, free: 6.754 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.2059, allocations: 289.3 kB / 0.6224 GB, free: 6.469 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.006515/0.2124, allocations: 1.755 MB / 0.6241 GB, free: 4.703 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002804/0.2152, allocations: 0.7478 MB / 0.6248 GB, free: 3.953 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004241/0.2194, allocations: 2.334 MB / 0.6271 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006618/0.2201, allocations: 248.3 kB / 0.6273 GB, free: 1.348 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003741/0.2238, allocations: 1.464 MB / 0.6288 GB, free: 15.88 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.225, allocations: 0.7087 MB / 0.6295 GB, free: 15.17 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0002282/0.2252, allocations: 100 kB / 0.6296 GB, free: 15.07 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004827/0.23, allocations: 1.653 MB / 0.6312 GB, free: 13.41 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.0005508/0.2306, allocations: 426.4 kB / 0.6316 GB, free: 13 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.0008952/0.2315, allocations: 0.4987 MB / 0.6321 GB, free: 12.5 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.007303/0.2388, allocations: 2.344 MB / 0.6344 GB, free: 10.14 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 1.338e-05/0.2388, allocations: 0 / 0.6344 GB, free: 10.14 MB / 0.5574 GB Notification: Performance of FrontEnd: time 4.027e-06/0.2388, allocations: 0 / 0.6344 GB, free: 10.14 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 3.052e-05/0.2388, allocations: 4 kB / 0.6344 GB, free: 10.14 MB / 0.5574 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.004762/0.2436, allocations: 2.25 MB / 0.6366 GB, free: 7.848 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 9.248e-05/0.2437, allocations: 8.031 kB / 0.6366 GB, free: 7.84 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005243/0.2442, allocations: 287.6 kB / 0.6368 GB, free: 7.559 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/0.2461, allocations: 1.14 MB / 0.638 GB, free: 6.363 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.459e-05/0.2462, allocations: 73.94 kB / 0.638 GB, free: 6.289 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.2464, allocations: 95.98 kB / 0.6381 GB, free: 6.195 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.2477, allocations: 0.8799 MB / 0.639 GB, free: 5.27 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.2477, allocations: 8 kB / 0.639 GB, free: 5.262 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.909e-05/0.2478, allocations: 43.92 kB / 0.639 GB, free: 5.219 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.2479, allocations: 85.95 kB / 0.6391 GB, free: 5.133 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.2492, allocations: 0.6596 MB / 0.6397 GB, free: 4.477 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005355/0.2545, allocations: 3.778 MB / 0.6434 GB, free: 0.6055 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.2556, allocations: 0.5468 MB / 0.644 GB, free: 40 kB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4509/0.7066, allocations: 368.3 kB / 0.6443 GB, free: 37.92 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006741/0.7072, allocations: 103.8 kB / 0.6444 GB, free: 37.92 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.473e-05/0.7073, allocations: 48.3 kB / 0.6445 GB, free: 37.88 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=114): time 8.195e-06/0.7073, allocations: 0 / 0.6445 GB, free: 37.88 MB / 0.5574 GB Notification: Performance of matching and sorting (n=114): time 0.004437/0.7117, allocations: 1.371 MB / 0.6458 GB, free: 37.8 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.457e-05/0.7118, allocations: 91.92 kB / 0.6459 GB, free: 37.7 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.7135, allocations: 0.8744 MB / 0.6467 GB, free: 37.5 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 8.533e-05/0.7136, allocations: 44.95 kB / 0.6468 GB, free: 37.47 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005561/0.7142, allocations: 0.6288 MB / 0.6474 GB, free: 37.34 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.003472/0.7176, allocations: 413.5 kB / 0.6478 GB, free: 37.14 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003699/0.718, allocations: 196.3 kB / 0.648 GB, free: 37.11 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.7181, allocations: 0.5189 MB / 0.6485 GB, free: 36.63 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006681/0.7188, allocations: 235.9 kB / 0.6487 GB, free: 36.63 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007266/0.7195, allocations: 338.7 kB / 0.649 GB, free: 36.57 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.7209, allocations: 0.6362 MB / 0.6497 GB, free: 36.5 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.7209, allocations: 0.9375 kB / 0.6497 GB, free: 36.5 MB / 0.5574 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.005298/0.7262, allocations: 1.024 MB / 0.6507 GB, free: 36.35 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.7262, allocations: 7.984 kB / 0.6507 GB, free: 36.35 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.7263, allocations: 2.219 kB / 0.6507 GB, free: 36.35 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005596/0.7268, allocations: 123.3 kB / 0.6508 GB, free: 36.32 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003581/0.7304, allocations: 189 kB / 0.651 GB, free: 36.32 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/0.733, allocations: 3.819 MB / 0.6547 GB, free: 32.86 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003728/0.7367, allocations: 65.09 kB / 0.6548 GB, free: 32.84 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.7368, allocations: 65.86 kB / 0.6548 GB, free: 32.84 MB / 0.5574 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.0004559/0.7373, allocations: 205.5 kB / 0.655 GB, free: 32.68 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004305/0.7377, allocations: 197.8 kB / 0.6552 GB, free: 32.6 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005691/0.7434, allocations: 1.586 MB / 0.6568 GB, free: 32.38 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.909e-05/0.7434, allocations: 11.5 kB / 0.6568 GB, free: 32.38 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.7434, allocations: 2.625 kB / 0.6568 GB, free: 32.38 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.7435, allocations: 6.844 kB / 0.6568 GB, free: 32.38 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00397/0.7474, allocations: 2.253 MB / 0.659 GB, free: 31.87 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.7474, allocations: 0 / 0.659 GB, free: 31.87 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.7478, allocations: 173.6 kB / 0.6591 GB, free: 31.87 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000427/0.7483, allocations: 131 kB / 0.6593 GB, free: 31.85 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.893e-05/0.7483, allocations: 40.66 kB / 0.6593 GB, free: 31.85 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/0.7503, allocations: 3.833 MB / 0.6631 GB, free: 28.38 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.7503, allocations: 3.422 kB / 0.6631 GB, free: 28.38 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.7526, allocations: 1.599 MB / 0.6646 GB, free: 27.91 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004379/0.753, allocations: 253.5 kB / 0.6649 GB, free: 27.84 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.7531, allocations: 28.08 kB / 0.6649 GB, free: 27.83 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.7534, allocations: 20.59 kB / 0.6649 GB, free: 27.83 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.7535, allocations: 94.61 kB / 0.665 GB, free: 27.83 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.491e-05/0.7536, allocations: 59.56 kB / 0.6651 GB, free: 27.83 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0006358/0.7543, allocations: 0.5763 MB / 0.6656 GB, free: 27.68 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7543, allocations: 0 / 0.6656 GB, free: 27.68 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.001673/0.756, allocations: 0.5566 MB / 0.6662 GB, free: 27.66 MB / 0.5574 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.001041/0.757, allocations: 429.5 kB / 0.6666 GB, free: 27.57 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.002048/0.759, allocations: 1.124 MB / 0.6677 GB, free: 27.18 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.759, allocations: 0 / 0.6677 GB, free: 27.18 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0009807/0.76, allocations: 0.8064 MB / 0.6685 GB, free: 26.82 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/0.7619, allocations: 0.5467 MB / 0.669 GB, free: 26.77 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005033/0.7669, allocations: 2.328 MB / 0.6713 GB, free: 25.76 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.7674, allocations: 274 kB / 0.6715 GB, free: 25.67 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.001785/0.7691, allocations: 0.5555 MB / 0.6721 GB, free: 25.58 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004456/0.7696, allocations: 147 kB / 0.6722 GB, free: 25.57 MB / 0.5574 GB Notification: Performance of SimCode: time 2.956e-06/0.7696, allocations: 0 / 0.6722 GB, free: 25.57 MB / 0.5574 GB Notification: Performance of Templates: time 0.03915/0.8087, allocations: 24.83 MB / 0.6965 GB, free: 20.93 MB / 0.5574 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.makefile [Timeout 660] (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 & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.723837265744805]