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.001701/0.001701, allocations: 108.2 kB / 16.41 MB, free: 6.027 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.002072/0.002073, allocations: 186.7 kB / 17.34 MB, free: 5.633 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7653/0.7653, allocations: 91.19 MB / 382.4 MB, free: 7.496 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 83.88 kB / 0.5175 GB, free: 4.082 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4057, allocations: 67.68 MB / 0.5836 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6323/1.038, allocations: 258.9 MB / 0.8364 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01757/1.056, allocations: 12.92 MB / 0.849 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002019/1.058, allocations: 71.94 kB / 0.8491 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003284/1.061, allocations: 0.9878 MB / 0.85 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0174/1.078, allocations: 5.46 MB / 0.8554 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007765/1.086, allocations: 2.399 MB / 0.8577 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003565/1.09, allocations: 2.011 MB / 0.8597 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008802/1.091, allocations: 374.1 kB / 0.86 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003454/1.094, allocations: 1.308 MB / 0.8613 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/1.096, allocations: 0.8049 MB / 0.8621 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004027/1.096, allocations: 100 kB / 0.8622 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02209/1.118, allocations: 10.61 MB / 0.8726 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007063/1.119, allocations: 390.5 kB / 0.8729 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001497/1.121, allocations: 0.6993 MB / 0.8736 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0175/1.138, allocations: 6.033 MB / 0.8795 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/1.138, allocations: 4 kB / 0.8795 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.412e-06/1.138, allocations: 0 / 0.8795 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.299e-05/1.138, allocations: 0 / 0.8795 GB, free: 9.746 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.008099/1.146, allocations: 2.719 MB / 0.8822 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.146, allocations: 8.031 kB / 0.8822 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004621/1.147, allocations: 166 kB / 0.8823 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/1.149, allocations: 1.041 MB / 0.8833 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.83e-05/1.149, allocations: 73.98 kB / 0.8834 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/1.149, allocations: 99.98 kB / 0.8835 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/1.152, allocations: 1.397 MB / 0.8849 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/1.152, allocations: 0 / 0.8849 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.671e-05/1.152, allocations: 40 kB / 0.8849 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001394/1.152, allocations: 85.89 kB / 0.885 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/1.154, allocations: 1.53 MB / 0.8865 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008216/1.162, allocations: 5.833 MB / 0.8922 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/1.164, allocations: 0.8689 MB / 0.893 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009619/1.165, allocations: 0.6688 MB / 0.8937 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002058/1.167, allocations: 2.406 MB / 0.896 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/1.167, allocations: 47.69 kB / 0.8961 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=114): time 3.687e-06/1.167, allocations: 0 / 0.8961 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=114): time 0.004035/1.171, allocations: 2.099 MB / 0.8981 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/1.171, allocations: 94.23 kB / 0.8982 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/1.172, allocations: 0.8988 MB / 0.8991 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.319e-05/1.172, allocations: 45.69 kB / 0.8991 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000423/1.173, allocations: 0.5292 MB / 0.8997 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003299/1.173, allocations: 390.1 kB / 0.9 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002952/1.174, allocations: 186.6 kB / 0.9002 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.174, allocations: 341.9 kB / 0.9005 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007397/1.174, allocations: 457.8 kB / 0.901 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008129/1.175, allocations: 0.524 MB / 0.9015 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/1.177, allocations: 1.047 MB / 0.9025 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/1.177, allocations: 7.938 kB / 0.9025 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002372/1.179, allocations: 1.383 MB / 0.9039 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/1.179, allocations: 8 kB / 0.9039 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.179, allocations: 0 / 0.9039 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004548/1.18, allocations: 121.6 kB / 0.904 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006837/1.181, allocations: 191.7 kB / 0.9042 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/1.184, allocations: 3.353 MB / 0.9074 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000588/1.184, allocations: 75.05 kB / 0.9075 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/1.184, allocations: 63.97 kB / 0.9076 GB, free: 11.38 MB / 0.6544 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.0004915/1.185, allocations: 277.7 kB / 0.9078 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002988/1.185, allocations: 126.4 kB / 0.908 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003635/1.189, allocations: 2.057 MB / 0.91 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-05/1.189, allocations: 12 kB / 0.91 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/1.189, allocations: 7.984 kB / 0.91 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/1.189, allocations: 7.969 kB / 0.91 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004527/1.193, allocations: 2.996 MB / 0.9129 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/1.193, allocations: 4 kB / 0.9129 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006161/1.194, allocations: 167.7 kB / 0.9131 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003969/1.194, allocations: 133.6 kB / 0.9132 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.044e-05/1.195, allocations: 43.95 kB / 0.9133 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002876/1.197, allocations: 3.349 MB / 0.9165 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.197, allocations: 4.031 kB / 0.9165 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003361/1.201, allocations: 2.228 MB / 0.9187 GB, free: 15.54 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000313/1.201, allocations: 211.2 kB / 0.9189 GB, free: 15.32 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/1.201, allocations: 23.94 kB / 0.9189 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/1.202, allocations: 16 kB / 0.9189 GB, free: 15.28 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/1.202, allocations: 97 kB / 0.919 GB, free: 15.18 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/1.202, allocations: 63.88 kB / 0.9191 GB, free: 15.12 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008773/1.203, allocations: 0.6616 MB / 0.9197 GB, free: 14.46 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.01e-07/1.203, allocations: 0 / 0.9197 GB, free: 14.46 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002728/1.206, allocations: 0.9948 MB / 0.9207 GB, free: 13.46 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.003747/1.21, allocations: 1.28 MB / 0.922 GB, free: 12.18 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002908/1.212, allocations: 1.48 MB / 0.9234 GB, free: 10.67 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/1.212, allocations: 0 / 0.9234 GB, free: 10.67 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001499/1.214, allocations: 0.9331 MB / 0.9243 GB, free: 9.711 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/1.216, allocations: 423.7 kB / 0.9247 GB, free: 9.312 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/1.221, allocations: 2.488 MB / 0.9272 GB, free: 6.785 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008873/1.221, allocations: 1.195 MB / 0.9283 GB, free: 5.562 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000507/1.222, allocations: 163.4 kB / 0.9285 GB, free: 5.402 MB / 0.67 GB Notification: Performance of SimCode: time 3.3e-07/1.222, allocations: 0 / 0.9285 GB, free: 5.402 MB / 0.67 GB Notification: Performance of Templates: time 0.05688/1.279, allocations: 41.94 MB / 0.9694 GB, free: 11.44 MB / 0.7169 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches