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.0009113/0.0009113, allocations: 85.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001297/0.001297, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.981/0.981, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.6878/0.6878, allocations: 118.6 MB / 378.9 MB, free: 1.348 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 2.535e-06/2.535e-06, allocations: 0 / 484 MB, free: 8.094 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.915e-05, allocations: 2.312 kB / 484 MB, free: 8.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.1373/0.1373, allocations: 147.4 MB / 0.6166 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.003908/0.1412, allocations: 2.658 MB / 0.6192 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006318/0.1419, allocations: 118.9 kB / 0.6193 GB, free: 9.773 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0008228/0.1427, allocations: 297.3 kB / 0.6196 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003174/0.1459, allocations: 1.767 MB / 0.6213 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.1475, allocations: 0.7361 MB / 0.6221 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002014/0.1495, allocations: 2.33 MB / 0.6243 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003361/0.1498, allocations: 244.3 kB / 0.6246 GB, free: 4.363 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.1515, allocations: 1.484 MB / 0.626 GB, free: 2.875 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006251/0.1522, allocations: 0.7009 MB / 0.6267 GB, free: 2.172 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.1523, allocations: 103.9 kB / 0.6268 GB, free: 2.07 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002249/0.1545, allocations: 1.653 MB / 0.6284 GB, free: 424 kB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.1547, allocations: 418.4 kB / 0.6288 GB, free: 4 kB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0004978/0.1552, allocations: 0.5064 MB / 0.6293 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.1574, allocations: 2.34 MB / 0.6316 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1574, allocations: 4 kB / 0.6316 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1574, allocations: 0 / 0.6316 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.1574, allocations: 0 / 0.6316 GB, free: 13.14 MB / 0.5573 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.002878/0.1603, allocations: 2.27 MB / 0.6338 GB, free: 10.83 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1603, allocations: 8.031 kB / 0.6338 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002697/0.1606, allocations: 279.6 kB / 0.6341 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.1618, allocations: 1.128 MB / 0.6352 GB, free: 9.367 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.651e-05/0.1618, allocations: 77.94 kB / 0.6353 GB, free: 9.289 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.734e-05/0.1619, allocations: 103.9 kB / 0.6354 GB, free: 9.188 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008397/0.1627, allocations: 0.7822 MB / 0.6361 GB, free: 8.359 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.1628, allocations: 0 / 0.6361 GB, free: 8.359 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.1628, allocations: 36 kB / 0.6362 GB, free: 8.324 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.529e-05/0.1629, allocations: 97.83 kB / 0.6363 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005446/0.1634, allocations: 0.4936 MB / 0.6367 GB, free: 7.734 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003887/0.1673, allocations: 3.605 MB / 0.6403 GB, free: 4.043 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005957/0.1679, allocations: 486.3 kB / 0.6407 GB, free: 3.547 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.1682, allocations: 299.6 kB / 0.641 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005367/0.1687, allocations: 138.8 kB / 0.6411 GB, free: 3.121 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1688, allocations: 46.39 kB / 0.6412 GB, free: 3.066 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=114): time 2.715e-06/0.1688, allocations: 4 kB / 0.6412 GB, free: 3.062 MB / 0.5573 GB Notification: Performance of matching and sorting (n=114): time 0.001554/0.1703, allocations: 1.197 MB / 0.6424 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.1704, allocations: 86.11 kB / 0.6424 GB, free: 1.746 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005219/0.1709, allocations: 0.8569 MB / 0.6433 GB, free: 0.875 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/0.1709, allocations: 49.7 kB / 0.6433 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.1712, allocations: 0.6421 MB / 0.6439 GB, free: 176 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.2398/0.411, allocations: 412 kB / 0.6443 GB, free: 40.56 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003164/0.4113, allocations: 200.7 kB / 0.6445 GB, free: 40.54 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.112e-05/0.4114, allocations: 0.5168 MB / 0.645 GB, free: 40.05 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/0.4118, allocations: 174.4 kB / 0.6452 GB, free: 40.05 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/0.4122, allocations: 276.2 kB / 0.6455 GB, free: 40 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007428/0.413, allocations: 0.5202 MB / 0.646 GB, free: 39.95 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.413, allocations: 1.469 kB / 0.646 GB, free: 39.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001583/0.4146, allocations: 0.8914 MB / 0.6468 GB, free: 39.86 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.4146, allocations: 9.047 kB / 0.6469 GB, free: 39.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.4146, allocations: 1.031 kB / 0.6469 GB, free: 39.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000395/0.415, allocations: 118.7 kB / 0.647 GB, free: 39.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/0.4154, allocations: 190.6 kB / 0.6472 GB, free: 39.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.417, allocations: 3.764 MB / 0.6508 GB, free: 36.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004022/0.4174, allocations: 66.64 kB / 0.6509 GB, free: 36.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.179e-05/0.4175, allocations: 54.2 kB / 0.6509 GB, free: 36.4 MB / 0.5573 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.0003202/0.4179, allocations: 210.9 kB / 0.6511 GB, free: 36.23 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/0.4181, allocations: 185.1 kB / 0.6513 GB, free: 36.16 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/0.4199, allocations: 1.484 MB / 0.6528 GB, free: 35.95 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/0.4199, allocations: 11.47 kB / 0.6528 GB, free: 35.95 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4199, allocations: 7.781 kB / 0.6528 GB, free: 35.95 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.42, allocations: 3.375 kB / 0.6528 GB, free: 35.95 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.4219, allocations: 1.971 MB / 0.6547 GB, free: 35.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.422, allocations: 3.875 kB / 0.6547 GB, free: 35.47 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.4223, allocations: 170.9 kB / 0.6549 GB, free: 35.47 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002795/0.4225, allocations: 134.4 kB / 0.655 GB, free: 35.44 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.449e-05/0.4226, allocations: 41.95 kB / 0.655 GB, free: 35.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.4239, allocations: 3.757 MB / 0.6587 GB, free: 32.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4239, allocations: 2.625 kB / 0.6587 GB, free: 32.02 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.4252, allocations: 1.42 MB / 0.6601 GB, free: 31.55 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003413/0.4256, allocations: 249.4 kB / 0.6603 GB, free: 31.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.402e-05/0.4256, allocations: 22.03 kB / 0.6604 GB, free: 31.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.4259, allocations: 20.78 kB / 0.6604 GB, free: 31.48 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.426, allocations: 96.28 kB / 0.6605 GB, free: 31.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-05/0.4261, allocations: 49.11 kB / 0.6605 GB, free: 31.48 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003491/0.4264, allocations: 0.5388 MB / 0.6611 GB, free: 31.32 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.4264, allocations: 3.406 kB / 0.6611 GB, free: 31.32 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001177/0.4276, allocations: 0.5562 MB / 0.6616 GB, free: 31.3 MB / 0.5573 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.0006776/0.4283, allocations: 426.6 kB / 0.662 GB, free: 31.19 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001067/0.4293, allocations: 1.004 MB / 0.663 GB, free: 30.81 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4293, allocations: 0 / 0.663 GB, free: 30.81 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005195/0.4299, allocations: 0.7587 MB / 0.6637 GB, free: 30.44 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.4311, allocations: 0.5478 MB / 0.6643 GB, free: 30.39 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.4344, allocations: 2.309 MB / 0.6665 GB, free: 29.38 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.4346, allocations: 271.5 kB / 0.6668 GB, free: 29.29 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000964/0.4356, allocations: 0.5316 MB / 0.6673 GB, free: 29.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008494/0.4364, allocations: 0.4905 MB / 0.6678 GB, free: 29.13 MB / 0.5573 GB Notification: Performance of SimCode: time 9.92e-07/0.4364, allocations: 0.875 kB / 0.6678 GB, free: 29.13 MB / 0.5573 GB Notification: Performance of Templates: time 0.04042/0.4768, allocations: 27.87 MB / 0.695 GB, free: 23.57 MB / 0.5573 GB " [Timeout remaining time 660] 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: 4.881837027147412]