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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 193 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7074/0.7074, allocations: 93.72 MB / 384.1 MB, free: 6.949 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 81.89 kB / 463.4 MB, free: 22.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1235, allocations: 68.26 MB / 0.5192 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5478/0.6714, allocations: 258.9 MB / 0.772 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01633/0.6878, allocations: 12.94 MB / 0.7846 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.6891, allocations: 79.5 kB / 0.7847 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00252/0.6916, allocations: 0.9906 MB / 0.7857 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01338/0.7051, allocations: 5.469 MB / 0.791 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006055/0.7112, allocations: 2.414 MB / 0.7934 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002886/0.7141, allocations: 2.044 MB / 0.7954 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006742/0.7148, allocations: 405.1 kB / 0.7958 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002621/0.7174, allocations: 1.3 MB / 0.797 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000998/0.7184, allocations: 0.7971 MB / 0.7978 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.7186, allocations: 104 kB / 0.7979 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01867/0.7373, allocations: 10.56 MB / 0.8082 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000653/0.738, allocations: 386.5 kB / 0.8086 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009301/0.7389, allocations: 0.7109 MB / 0.8093 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01551/0.7545, allocations: 5.986 MB / 0.8151 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.7545, allocations: 4 kB / 0.8151 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.235e-06/0.7545, allocations: 0 / 0.8151 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.92e-05/0.7546, allocations: 0 / 0.8151 GB, free: 11.47 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.007164/0.7617, allocations: 2.74 MB / 0.8178 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.7618, allocations: 8.031 kB / 0.8178 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000434/0.7622, allocations: 162 kB / 0.818 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.764, allocations: 0.9513 MB / 0.8189 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.548e-05/0.7641, allocations: 81.92 kB / 0.819 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.7642, allocations: 95.98 kB / 0.8191 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/0.7664, allocations: 1.397 MB / 0.8204 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.7665, allocations: 3.938 kB / 0.8204 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.7666, allocations: 36 kB / 0.8205 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001324/0.7667, allocations: 89.95 kB / 0.8206 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/0.769, allocations: 1.53 MB / 0.8221 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2451/1.014, allocations: 5.858 MB / 0.8278 GB, free: 236.5 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/1.016, allocations: 0.8599 MB / 0.8286 GB, free: 236.4 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/1.017, allocations: 0.6749 MB / 0.8293 GB, free: 236.2 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002083/1.02, allocations: 2.405 MB / 0.8316 GB, free: 233.5 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/1.02, allocations: 48.08 kB / 0.8317 GB, free: 233.4 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=114): time 4.459e-06/1.02, allocations: 0 / 0.8317 GB, free: 233.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=114): time 0.004416/1.024, allocations: 2.108 MB / 0.8337 GB, free: 232.6 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/1.024, allocations: 88.92 kB / 0.8338 GB, free: 232.5 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/1.025, allocations: 0.9184 MB / 0.8347 GB, free: 232.1 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.973e-05/1.025, allocations: 42.89 kB / 0.8347 GB, free: 232.1 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/1.026, allocations: 0.5426 MB / 0.8353 GB, free: 231.7 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002818/1.026, allocations: 391.8 kB / 0.8357 GB, free: 231.4 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003055/1.026, allocations: 186.1 kB / 0.8358 GB, free: 231.3 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 6.789e-05/1.027, allocations: 343 kB / 0.8362 GB, free: 231 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007415/1.027, allocations: 457.7 kB / 0.8366 GB, free: 230.8 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008429/1.028, allocations: 0.5228 MB / 0.8371 GB, free: 230.6 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/1.03, allocations: 1.049 MB / 0.8381 GB, free: 230.1 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/1.03, allocations: 3.281 kB / 0.8381 GB, free: 230.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002319/1.032, allocations: 1.387 MB / 0.8395 GB, free: 229.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/1.032, allocations: 5.344 kB / 0.8395 GB, free: 229.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/1.032, allocations: 0 / 0.8395 GB, free: 229.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004681/1.033, allocations: 122.7 kB / 0.8396 GB, free: 229.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/1.033, allocations: 189 kB / 0.8398 GB, free: 229.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/1.036, allocations: 3.355 MB / 0.8431 GB, free: 226.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007193/1.036, allocations: 76.16 kB / 0.8431 GB, free: 226.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/1.036, allocations: 62.83 kB / 0.8432 GB, free: 226.2 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (108): * Single equations (assignments): 98 * 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.00055/1.037, allocations: 280.8 kB / 0.8435 GB, free: 226 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003221/1.037, allocations: 128 kB / 0.8436 GB, free: 226 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004105/1.041, allocations: 2.057 MB / 0.8456 GB, free: 225.2 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.786e-05/1.042, allocations: 12.42 kB / 0.8456 GB, free: 225.2 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/1.042, allocations: 9 kB / 0.8456 GB, free: 225.2 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/1.042, allocations: 9.234 kB / 0.8456 GB, free: 225.2 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005041/1.047, allocations: 3.003 MB / 0.8486 GB, free: 223.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/1.047, allocations: 5.688 kB / 0.8486 GB, free: 223.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/1.047, allocations: 167.9 kB / 0.8487 GB, free: 223.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004364/1.048, allocations: 133.4 kB / 0.8489 GB, free: 223.6 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/1.048, allocations: 39.09 kB / 0.8489 GB, free: 223.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002495/1.05, allocations: 3.356 MB / 0.8522 GB, free: 220.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.05, allocations: 3.812 kB / 0.8522 GB, free: 220.5 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003939/1.054, allocations: 2.239 MB / 0.8544 GB, free: 219.4 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004307/1.055, allocations: 206.1 kB / 0.8546 GB, free: 219.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002977/1.055, allocations: 26.84 kB / 0.8546 GB, free: 219.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006465/1.056, allocations: 17.34 kB / 0.8546 GB, free: 219.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/1.056, allocations: 91.27 kB / 0.8547 GB, free: 219.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/1.056, allocations: 65.89 kB / 0.8547 GB, free: 219.1 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001314/1.058, allocations: 0.6742 MB / 0.8554 GB, free: 218.9 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/1.058, allocations: 0.5625 kB / 0.8554 GB, free: 218.9 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004061/1.062, allocations: 0.996 MB / 0.8564 GB, free: 218.7 MB / 0.6231 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.004157/1.066, allocations: 1.281 MB / 0.8576 GB, free: 218.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003575/1.069, allocations: 1.555 MB / 0.8591 GB, free: 217.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.069, allocations: 2.625 kB / 0.8591 GB, free: 217.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001575/1.071, allocations: 0.9343 MB / 0.8601 GB, free: 217.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/1.073, allocations: 429.1 kB / 0.8605 GB, free: 217.1 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004849/1.078, allocations: 2.498 MB / 0.8629 GB, free: 216 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008997/1.079, allocations: 1.199 MB / 0.8641 GB, free: 215.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001688/1.081, allocations: 0.6724 MB / 0.8647 GB, free: 215.1 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004973/1.081, allocations: 142.3 kB / 0.8649 GB, free: 215.1 MB / 0.6231 GB Notification: Performance of SimCode: time 8.52e-07/1.082, allocations: 0 / 0.8649 GB, free: 215.1 MB / 0.6231 GB Notification: Performance of Templates: time 0.04666/1.128, allocations: 36.25 MB / 0.9003 GB, free: 186.2 MB / 0.6231 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.makefile (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) 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) Reference file matches