Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_OM_adaptions_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_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004758/0.004758, allocations: 168.3 kB / 15.13 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.4 MB / 221.3 MB, free: 13.8 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007693/0.0007693, allocations: 78.31 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7342/0.7342, allocations: 90.6 MB / 408.5 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002923, allocations: 12 kB / 485.2 MB, free: 2.031 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3566, allocations: 66.28 MB / 0.5386 GB, free: 45.6 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6379/0.9946, allocations: 249.7 MB / 0.7825 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01782/1.012, allocations: 14.92 MB / 0.7971 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/1.014, allocations: 15.03 kB / 0.7971 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00171/1.015, allocations: 0.6259 MB / 0.7977 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.01193/1.027, allocations: 4.023 MB / 0.8016 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.009356/1.037, allocations: 3.068 MB / 0.8046 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002949/1.04, allocations: 2.127 MB / 0.8067 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005175/1.04, allocations: 279.4 kB / 0.807 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001938/1.042, allocations: 0.9805 MB / 0.8079 GB, free: 5.094 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008175/1.043, allocations: 0.6784 MB / 0.8086 GB, free: 5.094 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/1.043, allocations: 43.19 kB / 0.8086 GB, free: 5.094 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02052/1.063, allocations: 11.68 MB / 0.82 GB, free: 4 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004308/1.064, allocations: 304 kB / 0.8203 GB, free: 3.902 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006571/1.065, allocations: 237.8 kB / 0.8205 GB, free: 19.87 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.008856/1.073, allocations: 4.742 MB / 0.8252 GB, free: 18.12 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.074, allocations: 0 / 0.8252 GB, free: 18.12 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.465e-06/1.074, allocations: 3.094 kB / 0.8252 GB, free: 18.12 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.153e-05/1.074, allocations: 0 / 0.8252 GB, free: 18.12 MB / 0.573 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.005974/1.08, allocations: 2.668 MB / 0.8278 GB, free: 16.43 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/1.08, allocations: 9.938 kB / 0.8278 GB, free: 16.43 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003213/1.08, allocations: 127.2 kB / 0.8279 GB, free: 16.36 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009321/1.081, allocations: 0.5655 MB / 0.8285 GB, free: 16 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.785e-05/1.081, allocations: 69.75 kB / 0.8285 GB, free: 16 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/1.081, allocations: 91.06 kB / 0.8286 GB, free: 16 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/1.083, allocations: 1.421 MB / 0.83 GB, free: 15.68 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/1.083, allocations: 4 kB / 0.83 GB, free: 15.68 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-05/1.083, allocations: 35.06 kB / 0.83 GB, free: 15.68 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.586e-05/1.083, allocations: 80.42 kB / 0.8301 GB, free: 15.66 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/1.085, allocations: 1.555 MB / 0.8316 GB, free: 15.45 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006373/1.091, allocations: 5.311 MB / 0.8368 GB, free: 11.72 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/1.093, allocations: 0.9436 MB / 0.8377 GB, free: 11.57 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009645/1.094, allocations: 0.7705 MB / 0.8385 GB, free: 11.47 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004384/1.098, allocations: 4.609 MB / 0.843 GB, free: 6.914 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/1.098, allocations: 47.88 kB / 0.843 GB, free: 6.871 MB / 0.573 GB Notification: Performance of pre-optimization done (n=122): time 4.649e-06/1.098, allocations: 4 kB / 0.843 GB, free: 6.867 MB / 0.573 GB Notification: Performance of matching and sorting (n=122): time 0.004154/1.103, allocations: 2.334 MB / 0.8453 GB, free: 6.305 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/1.103, allocations: 88.55 kB / 0.8454 GB, free: 6.211 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/1.103, allocations: 493.2 kB / 0.8459 GB, free: 6.023 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.866e-05/1.103, allocations: 42.98 kB / 0.8459 GB, free: 5.992 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/1.103, allocations: 363 kB / 0.8463 GB, free: 5.789 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003435/1.104, allocations: 412.9 kB / 0.8467 GB, free: 5.488 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.611e-05/1.104, allocations: 22.11 kB / 0.8467 GB, free: 5.488 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001765/1.104, allocations: 392.6 kB / 0.847 GB, free: 5.148 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007768/1.105, allocations: 0.5246 MB / 0.8476 GB, free: 5.09 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007905/1.106, allocations: 0.5991 MB / 0.8481 GB, free: 4.992 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008194/1.107, allocations: 0.5915 MB / 0.8487 GB, free: 4.945 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.107, allocations: 1.781 kB / 0.8487 GB, free: 4.945 MB / 0.573 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002353/1.109, allocations: 1.523 MB / 0.8502 GB, free: 3.953 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/1.109, allocations: 8 kB / 0.8502 GB, free: 3.945 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/1.109, allocations: 1.75 kB / 0.8502 GB, free: 3.945 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004536/1.109, allocations: 123.2 kB / 0.8503 GB, free: 3.848 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007056/1.11, allocations: 191.2 kB / 0.8505 GB, free: 3.68 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002732/1.113, allocations: 3.115 MB / 0.8536 GB, free: 0.6719 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006084/1.113, allocations: 94.58 kB / 0.8537 GB, free: 0.5938 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/1.114, allocations: 97.3 kB / 0.8537 GB, free: 0.5117 MB / 0.573 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): 96 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 2 * 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.0004228/1.114, allocations: 261.6 kB / 0.854 GB, free: 340 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/1.114, allocations: 86.97 kB / 0.8541 GB, free: 252 kB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003707/1.118, allocations: 1.983 MB / 0.856 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-05/1.118, allocations: 15.98 kB / 0.856 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/1.118, allocations: 4 kB / 0.856 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/1.118, allocations: 7.969 kB / 0.856 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004735/1.123, allocations: 3.253 MB / 0.8592 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/1.123, allocations: 0 / 0.8592 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00068/1.124, allocations: 200 kB / 0.8594 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000373/1.124, allocations: 130.4 kB / 0.8595 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/1.124, allocations: 50.34 kB / 0.8596 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002551/1.127, allocations: 3.123 MB / 0.8626 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.127, allocations: 3.953 kB / 0.8626 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003605/1.13, allocations: 2.609 MB / 0.8652 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/1.131, allocations: 175.1 kB / 0.8654 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/1.131, allocations: 28.11 kB / 0.8654 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005748/1.131, allocations: 54.05 kB / 0.8654 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/1.131, allocations: 107 kB / 0.8655 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/1.132, allocations: 103.8 kB / 0.8656 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003846/1.132, allocations: 343.5 kB / 0.866 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.362e-06/1.132, allocations: 4 kB / 0.866 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003609/1.136, allocations: 1.378 MB / 0.8673 GB, free: 5.734 MB / 0.5886 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 (110): * Single equations (assignments): 98 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 2 * 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.006051/1.142, allocations: 1.931 MB / 0.8692 GB, free: 4.027 MB / 0.5886 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Processes_Tests_Nozzle_source1_outlet_Medium_ThermodynamicState1.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow.inlet.state.X[1], dynamicPressureInflow.inlet.state.X[2]} = $TMP_ThermofluidStream_Processes_Tests_Nozzle_source_outlet_Medium_ThermodynamicState76.X Notification: Performance of simCode: created initialization part: time 0.002903/1.145, allocations: 1.845 MB / 0.871 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.145, allocations: 2.438 kB / 0.871 GB, free: 2.672 MB / 0.5886 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow.inlet.state.X[1], dynamicPressureInflow.inlet.state.X[2]} = $TMP_ThermofluidStream_Processes_Tests_Nozzle_source_outlet_Medium_ThermodynamicState153.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Processes_Tests_Nozzle_source1_outlet_Medium_ThermodynamicState228.X Notification: Performance of simCode: created simulation system equations: time 0.001772/1.146, allocations: 1.205 MB / 0.8722 GB, free: 1.754 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/1.148, allocations: 345.9 kB / 0.8725 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003919/1.152, allocations: 2.503 MB / 0.8749 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008128/1.153, allocations: 1.096 MB / 0.876 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00159/1.154, allocations: 369.6 kB / 0.8764 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005351/1.155, allocations: 154.2 kB / 0.8765 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of SimCode: time 7.41e-07/1.155, allocations: 0 / 0.8765 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.06469/1.22, allocations: 43.89 MB / 0.9194 GB, free: 2.105 MB / 0.6355 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches