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.001937/0.001937, allocations: 79.28 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002102/0.002102, allocations: 167.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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.445/1.445, allocations: 177.2 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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.9542/0.9542, allocations: 116 MB / 375.2 MB, free: 7.488 MB / 350.1 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: 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.383e-06/1.383e-06, allocations: 0 / 0.5537 GB, free: 13.76 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.79e-05, allocations: 2.281 kB / 0.5537 GB, free: 13.76 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6111/0.6111, allocations: 233.6 MB / 0.7819 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009244/0.6204, allocations: 5.567 MB / 0.7873 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.6218, allocations: 117 kB / 0.7874 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002619/0.6244, allocations: 0.9007 MB / 0.7883 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01519/0.6396, allocations: 5.705 MB / 0.7939 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007382/0.647, allocations: 2.527 MB / 0.7963 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003608/0.6506, allocations: 2.338 MB / 0.7986 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005354/0.6511, allocations: 249.1 kB / 0.7989 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003704/0.6548, allocations: 1.762 MB / 0.8006 GB, free: 328 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.656, allocations: 0.7032 MB / 0.8013 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.6562, allocations: 100.5 kB / 0.8014 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01836/0.6745, allocations: 8.826 MB / 0.81 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007303/0.6753, allocations: 426.4 kB / 0.8104 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.6764, allocations: 0.4948 MB / 0.8109 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01765/0.694, allocations: 6.591 MB / 0.8173 GB, free: 92 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.694, allocations: 4 kB / 0.8173 GB, free: 88 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.693e-06/0.694, allocations: 0 / 0.8173 GB, free: 88 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.377e-05/0.6941, allocations: 0 / 0.8173 GB, free: 88 kB / 0.6231 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.00671/0.7008, allocations: 2.795 MB / 0.82 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.7008, allocations: 12.03 kB / 0.82 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003907/0.7012, allocations: 186.8 kB / 0.8202 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/0.7033, allocations: 1.029 MB / 0.8212 GB, free: 12 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-05/0.7034, allocations: 77.98 kB / 0.8213 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.7036, allocations: 99.94 kB / 0.8214 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/0.7059, allocations: 1.439 MB / 0.8228 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.7059, allocations: 0 / 0.8228 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.493e-05/0.706, allocations: 39.98 kB / 0.8228 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001354/0.7062, allocations: 89.95 kB / 0.8229 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.7085, allocations: 1.553 MB / 0.8244 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00736/0.7159, allocations: 3.856 MB / 0.8282 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.7175, allocations: 0.7576 MB / 0.829 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009019/0.7184, allocations: 0.5524 MB / 0.8295 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/0.7195, allocations: 304.7 kB / 0.8298 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.879e-05/0.7195, allocations: 51.55 kB / 0.8298 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=114): time 4.088e-06/0.7195, allocations: 4 kB / 0.8298 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of matching and sorting (n=114): time 0.004391/0.7239, allocations: 1.896 MB / 0.8317 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/0.724, allocations: 94.11 kB / 0.8318 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.7251, allocations: 0.8516 MB / 0.8326 GB, free: 228 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.7252, allocations: 53.69 kB / 0.8327 GB, free: 168 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005047/0.7257, allocations: 0.5764 MB / 0.8332 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003922/0.7261, allocations: 407.5 kB / 0.8336 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003355/0.7265, allocations: 182.6 kB / 0.8338 GB, free: 15 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.7266, allocations: 345.9 kB / 0.8341 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000803/0.7274, allocations: 442.9 kB / 0.8345 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009362/0.7284, allocations: 0.5177 MB / 0.835 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/0.7302, allocations: 1.03 MB / 0.836 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.7302, allocations: 3.938 kB / 0.8361 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002852/0.7331, allocations: 1.381 MB / 0.8374 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.7331, allocations: 8 kB / 0.8374 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.7331, allocations: 0 / 0.8374 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005227/0.7336, allocations: 125.7 kB / 0.8375 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007546/0.7344, allocations: 184.7 kB / 0.8377 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003281/0.7377, allocations: 3.084 MB / 0.8407 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006517/0.7383, allocations: 59.55 kB / 0.8408 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/0.7385, allocations: 63.97 kB / 0.8408 GB, free: 7.574 MB / 0.6544 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.0006429/0.7391, allocations: 293.5 kB / 0.8411 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004837/0.7396, allocations: 143.1 kB / 0.8413 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004073/0.7437, allocations: 1.935 MB / 0.8431 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.58e-05/0.7437, allocations: 12 kB / 0.8432 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.7437, allocations: 2.812 kB / 0.8432 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.7438, allocations: 3.984 kB / 0.8432 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0051/0.7489, allocations: 2.571 MB / 0.8457 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.7489, allocations: 0 / 0.8457 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007061/0.7496, allocations: 181.4 kB / 0.8458 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004651/0.75, allocations: 124.6 kB / 0.846 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.7501, allocations: 44.03 kB / 0.846 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003267/0.7534, allocations: 3.082 MB / 0.849 GB, free: 14.96 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.7534, allocations: 4.125 kB / 0.849 GB, free: 14.96 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00395/0.7574, allocations: 2.163 MB / 0.8511 GB, free: 12.78 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006481/0.758, allocations: 262.6 kB / 0.8514 GB, free: 12.52 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.7582, allocations: 23.94 kB / 0.8514 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005937/0.7588, allocations: 23.98 kB / 0.8514 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.759, allocations: 88.83 kB / 0.8515 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/0.7592, allocations: 55.97 kB / 0.8516 GB, free: 12.34 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009239/0.7601, allocations: 0.6324 MB / 0.8522 GB, free: 11.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.7601, allocations: 0 / 0.8522 GB, free: 11.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002946/0.763, allocations: 1.063 MB / 0.8532 GB, free: 10.63 MB / 0.67 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.003793/0.7668, allocations: 1.364 MB / 0.8546 GB, free: 9.262 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003675/0.7705, allocations: 1.335 MB / 0.8559 GB, free: 7.906 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.7705, allocations: 0 / 0.8559 GB, free: 7.906 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001811/0.7723, allocations: 0.835 MB / 0.8567 GB, free: 7.066 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003/0.7753, allocations: 0.5147 MB / 0.8572 GB, free: 6.566 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006442/0.7818, allocations: 2.559 MB / 0.8597 GB, free: 3.977 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.7828, allocations: 0.6061 MB / 0.8603 GB, free: 3.34 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001742/0.7845, allocations: 0.5682 MB / 0.8608 GB, free: 2.773 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005063/0.785, allocations: 144.4 kB / 0.861 GB, free: 2.633 MB / 0.67 GB Notification: Performance of SimCode: time 1.102e-06/0.785, allocations: 0 / 0.861 GB, free: 2.633 MB / 0.67 GB Notification: Performance of Templates: time 0.06588/0.8509, allocations: 37.94 MB / 0.898 GB, free: 13.2 MB / 0.7169 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 1200] 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: 8.169232551008463]