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.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.0009393/0.0009393, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.0009857/0.0009857, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9386/0.9386, allocations: 177.1 MB / 203.7 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6861/0.6861, allocations: 118.6 MB / 378.9 MB, free: 1.402 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/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_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_ThermofluidStream.Processes.Tests.Nozzle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 484.1 MB, free: 8.133 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152e-05/1.306e-05, allocations: 3.406 kB / 484.1 MB, free: 8.129 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.1361/0.1361, allocations: 147.4 MB / 0.6166 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.00421/0.1404, allocations: 2.666 MB / 0.6192 GB, free: 9.914 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000667/0.141, allocations: 118.9 kB / 0.6193 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0006536/0.1417, allocations: 289.4 kB / 0.6196 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.00303/0.1447, allocations: 1.755 MB / 0.6213 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.146, allocations: 0.7477 MB / 0.6221 GB, free: 6.996 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001921/0.1479, allocations: 2.334 MB / 0.6243 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003634/0.1483, allocations: 244.3 kB / 0.6246 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001952/0.1503, allocations: 1.476 MB / 0.626 GB, free: 2.91 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006129/0.1509, allocations: 0.7048 MB / 0.6267 GB, free: 2.203 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.151, allocations: 100 kB / 0.6268 GB, free: 2.105 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.1532, allocations: 1.653 MB / 0.6284 GB, free: 460 kB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002498/0.1534, allocations: 434.4 kB / 0.6288 GB, free: 24 kB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003514/0.1538, allocations: 0.4987 MB / 0.6293 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002354/0.1561, allocations: 2.34 MB / 0.6316 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1561, allocations: 0 / 0.6316 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of FrontEnd: time 8.62e-07/0.1561, allocations: 0 / 0.6316 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.1561, allocations: 4 kB / 0.6316 GB, free: 13.17 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.002419/0.1586, allocations: 2.27 MB / 0.6338 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.1586, allocations: 12.03 kB / 0.6338 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002649/0.1589, allocations: 279.6 kB / 0.6341 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.16, allocations: 1.124 MB / 0.6352 GB, free: 9.395 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/0.16, allocations: 77.92 kB / 0.6353 GB, free: 9.316 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.913e-05/0.1601, allocations: 95.98 kB / 0.6354 GB, free: 9.223 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008308/0.161, allocations: 0.7938 MB / 0.6361 GB, free: 8.383 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.161, allocations: 4 kB / 0.6361 GB, free: 8.379 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.573e-05/0.1611, allocations: 39.98 kB / 0.6362 GB, free: 8.34 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.858e-05/0.1611, allocations: 85.95 kB / 0.6363 GB, free: 8.254 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005816/0.1617, allocations: 0.4936 MB / 0.6367 GB, free: 7.762 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003776/0.1655, allocations: 3.597 MB / 0.6403 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/0.1661, allocations: 490.1 kB / 0.6407 GB, free: 3.582 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.1664, allocations: 298 kB / 0.641 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002775/0.1666, allocations: 134.8 kB / 0.6411 GB, free: 3.156 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1667, allocations: 50.33 kB / 0.6412 GB, free: 3.098 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=114): time 2.986e-06/0.1667, allocations: 0 / 0.6412 GB, free: 3.098 MB / 0.5573 GB Notification: Performance of matching and sorting (n=114): time 0.001582/0.1682, allocations: 1.193 MB / 0.6424 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.1683, allocations: 94.05 kB / 0.6424 GB, free: 1.777 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005668/0.1689, allocations: 0.857 MB / 0.6433 GB, free: 0.9062 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/0.1689, allocations: 41.7 kB / 0.6433 GB, free: 0.8594 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.1692, allocations: 0.6422 MB / 0.6439 GB, free: 216 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.2774/0.4466, allocations: 408.8 kB / 0.6443 GB, free: 40.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003791/0.447, allocations: 202.1 kB / 0.6445 GB, free: 40.28 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.925e-05/0.4471, allocations: 0.5227 MB / 0.645 GB, free: 39.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.4474, allocations: 178 kB / 0.6452 GB, free: 39.79 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004497/0.4478, allocations: 274.9 kB / 0.6455 GB, free: 39.74 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008049/0.4486, allocations: 0.5218 MB / 0.646 GB, free: 39.69 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.4487, allocations: 0.8438 kB / 0.646 GB, free: 39.69 MB / 0.5573 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001503/0.4502, allocations: 0.8903 MB / 0.6469 GB, free: 39.61 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.4502, allocations: 7.875 kB / 0.6469 GB, free: 39.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.4502, allocations: 1.781 kB / 0.6469 GB, free: 39.61 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004118/0.4506, allocations: 125.1 kB / 0.647 GB, free: 39.58 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004595/0.4511, allocations: 186.3 kB / 0.6472 GB, free: 39.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.4526, allocations: 3.757 MB / 0.6508 GB, free: 36.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.453, allocations: 70.47 kB / 0.6509 GB, free: 36.15 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.4531, allocations: 54.38 kB / 0.6509 GB, free: 36.15 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.0003091/0.4534, allocations: 212.1 kB / 0.6511 GB, free: 35.99 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.4536, allocations: 181.7 kB / 0.6513 GB, free: 35.91 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.4554, allocations: 1.481 MB / 0.6528 GB, free: 35.71 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.4554, allocations: 12.62 kB / 0.6528 GB, free: 35.71 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4554, allocations: 6.75 kB / 0.6528 GB, free: 35.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.4554, allocations: 6.469 kB / 0.6528 GB, free: 35.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/0.4573, allocations: 1.974 MB / 0.6547 GB, free: 35.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4573, allocations: 2.688 kB / 0.6547 GB, free: 35.22 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/0.4576, allocations: 174.7 kB / 0.6549 GB, free: 35.22 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002614/0.4579, allocations: 134 kB / 0.655 GB, free: 35.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.036e-05/0.458, allocations: 41.98 kB / 0.6551 GB, free: 35.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.4591, allocations: 3.755 MB / 0.6587 GB, free: 31.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4591, allocations: 3.156 kB / 0.6587 GB, free: 31.78 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.4603, allocations: 1.412 MB / 0.6601 GB, free: 31.31 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.4606, allocations: 251.8 kB / 0.6603 GB, free: 31.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.443e-05/0.4606, allocations: 26.06 kB / 0.6604 GB, free: 31.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.4609, allocations: 23.73 kB / 0.6604 GB, free: 31.23 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.461, allocations: 98.41 kB / 0.6605 GB, free: 31.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/0.461, allocations: 48 kB / 0.6605 GB, free: 31.23 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003053/0.4613, allocations: 0.5386 MB / 0.6611 GB, free: 31.07 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.4613, allocations: 0 / 0.6611 GB, free: 31.07 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001019/0.4623, allocations: 0.5602 MB / 0.6616 GB, free: 31.05 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.0005656/0.4629, allocations: 433 kB / 0.662 GB, free: 30.96 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000865/0.4638, allocations: 1.002 MB / 0.663 GB, free: 30.58 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4638, allocations: 0 / 0.663 GB, free: 30.58 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004562/0.4642, allocations: 0.7536 MB / 0.6637 GB, free: 30.21 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.4654, allocations: 0.5482 MB / 0.6643 GB, free: 30.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.4685, allocations: 2.31 MB / 0.6665 GB, free: 29.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.4687, allocations: 268.6 kB / 0.6668 GB, free: 29.07 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008524/0.4696, allocations: 0.5345 MB / 0.6673 GB, free: 28.98 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008248/0.4704, allocations: 0.4897 MB / 0.6678 GB, free: 28.91 MB / 0.5573 GB Notification: Performance of SimCode: time 1.052e-06/0.4704, allocations: 0.9062 kB / 0.6678 GB, free: 28.91 MB / 0.5573 GB Notification: Performance of Templates: time 0.03574/0.5061, allocations: 27.87 MB / 0.695 GB, free: 23.32 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.makefile [Timeout 660] (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 & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.627177310641855]