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.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_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_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.001048/0.001048, allocations: 91.38 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.733/0.733, allocations: 89.64 MB / 380.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 13.83 kB / 460 MB, free: 24.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1344, allocations: 68.82 MB / 0.5165 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6291/0.7636, allocations: 236.7 MB / 0.7476 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01759/0.7812, allocations: 11.9 MB / 0.7592 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.7828, allocations: 19.88 kB / 0.7592 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002404/0.7852, allocations: 0.6213 MB / 0.7598 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01537/0.8006, allocations: 4.037 MB / 0.7638 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006304/0.8069, allocations: 1.687 MB / 0.7654 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003457/0.8104, allocations: 2.165 MB / 0.7675 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009326/0.8114, allocations: 291.3 kB / 0.7678 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002816/0.8142, allocations: 0.9965 MB / 0.7688 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.8157, allocations: 0.6886 MB / 0.7694 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003567/0.8161, allocations: 44 kB / 0.7695 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02431/0.8404, allocations: 8.612 MB / 0.7779 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008702/0.8413, allocations: 302.9 kB / 0.7782 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007178/0.8421, allocations: 241.1 kB / 0.7784 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.8543, allocations: 3.645 MB / 0.782 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.8544, allocations: 0 / 0.782 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8544, allocations: 0 / 0.782 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.966e-05/0.8545, allocations: 0 / 0.782 GB, free: 11.79 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.007442/0.8619, allocations: 2.237 MB / 0.7842 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.862, allocations: 8.031 kB / 0.7842 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004313/0.8624, allocations: 126.5 kB / 0.7843 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.8638, allocations: 0.5842 MB / 0.7849 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.978e-05/0.8639, allocations: 73.98 kB / 0.7849 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/0.8641, allocations: 95.89 kB / 0.785 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002581/0.8667, allocations: 1.365 MB / 0.7863 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.8667, allocations: 0 / 0.7863 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.362e-05/0.8668, allocations: 43.94 kB / 0.7864 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001329/0.867, allocations: 89.94 kB / 0.7865 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/0.8693, allocations: 1.507 MB / 0.7879 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006992/0.8763, allocations: 5.1 MB / 0.7929 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.8779, allocations: 0.8503 MB / 0.7938 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009559/0.8788, allocations: 0.6726 MB / 0.7944 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002286/0.8811, allocations: 2.418 MB / 0.7968 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.39e-05/0.8812, allocations: 43.69 kB / 0.7968 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=114): time 4.078e-06/0.8812, allocations: 4 kB / 0.7968 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=114): time 0.004205/0.8854, allocations: 2.049 MB / 0.7988 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.8855, allocations: 98.16 kB / 0.7989 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009182/0.8864, allocations: 0.6059 MB / 0.7995 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.72e-05/0.8865, allocations: 41.7 kB / 0.7995 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.8869, allocations: 396.9 kB / 0.7999 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004492/0.8873, allocations: 390.3 kB / 0.8003 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.165e-05/0.8874, allocations: 20 kB / 0.8003 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.8876, allocations: 341.9 kB / 0.8006 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000814/0.8884, allocations: 449.8 kB / 0.8011 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008687/0.8893, allocations: 0.524 MB / 0.8016 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008518/0.8902, allocations: 0.5003 MB / 0.8021 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.8902, allocations: 4 kB / 0.8021 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002416/0.8926, allocations: 1.348 MB / 0.8034 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.8926, allocations: 4 kB / 0.8034 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.8927, allocations: 0 / 0.8034 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005076/0.8932, allocations: 133.5 kB / 0.8035 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007096/0.8939, allocations: 179.8 kB / 0.8037 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003199/0.8971, allocations: 3.117 MB / 0.8067 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008754/0.898, allocations: 103.4 kB / 0.8068 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/0.8982, allocations: 59.97 kB / 0.8069 GB, free: 0.7266 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005535/0.8988, allocations: 253.6 kB / 0.8071 GB, free: 480 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/0.899, allocations: 94.88 kB / 0.8072 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3528/1.252, allocations: 2.012 MB / 0.8092 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.855e-05/1.252, allocations: 11.94 kB / 0.8092 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/1.252, allocations: 2.75 kB / 0.8092 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.221e-05/1.252, allocations: 5.891 kB / 0.8092 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005389/1.257, allocations: 2.888 MB / 0.812 GB, free: 225.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/1.257, allocations: 2.344 kB / 0.812 GB, free: 225.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006641/1.258, allocations: 171.7 kB / 0.8122 GB, free: 225.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004204/1.259, allocations: 127.2 kB / 0.8123 GB, free: 225.4 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.056e-05/1.259, allocations: 44.48 kB / 0.8124 GB, free: 225.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002496/1.261, allocations: 3.119 MB / 0.8154 GB, free: 222.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.261, allocations: 1.906 kB / 0.8154 GB, free: 222.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00373/1.265, allocations: 2.181 MB / 0.8175 GB, free: 221.4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004499/1.265, allocations: 191.1 kB / 0.8177 GB, free: 221.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/1.266, allocations: 25.92 kB / 0.8177 GB, free: 221.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005304/1.266, allocations: 49.98 kB / 0.8178 GB, free: 221.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/1.266, allocations: 91.86 kB / 0.8179 GB, free: 221.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/1.266, allocations: 59.98 kB / 0.8179 GB, free: 221.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006852/1.267, allocations: 476.8 kB / 0.8184 GB, free: 221 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/1.267, allocations: 2.844 kB / 0.8184 GB, free: 221 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003294/1.27, allocations: 0.9782 MB / 0.8194 GB, free: 220.8 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003946/1.274, allocations: 1.251 MB / 0.8206 GB, free: 220.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003246/1.278, allocations: 1.456 MB / 0.822 GB, free: 219.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.278, allocations: 0 / 0.822 GB, free: 219.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001433/1.279, allocations: 0.9323 MB / 0.8229 GB, free: 219.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/1.281, allocations: 351.2 kB / 0.8232 GB, free: 219.4 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004385/1.286, allocations: 2.508 MB / 0.8257 GB, free: 218.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008422/1.287, allocations: 1.088 MB / 0.8268 GB, free: 217.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001927/1.289, allocations: 0.6321 MB / 0.8274 GB, free: 217.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003582/1.289, allocations: 123.4 kB / 0.8275 GB, free: 217.2 MB / 0.6075 GB Notification: Performance of SimCode: time 1.313e-06/1.289, allocations: 0 / 0.8275 GB, free: 217.2 MB / 0.6075 GB Notification: Performance of Templates: time 0.05125/1.34, allocations: 33.55 MB / 0.8602 GB, free: 197.1 MB / 0.6075 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.makefile (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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Processes.Tests.Nozzle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches