Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.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.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/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.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor") translateModel(ThermofluidStream.Processes.Tests.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001626/0.001626, allocations: 182.1 kB / 15.98 MB, free: 5.77 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.273/1.273, allocations: 205.1 MB / 221.8 MB, free: 8.48 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.001023/0.001023, allocations: 111.8 kB / 269.2 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo): time 0.6252/0.6252, allocations: 91.23 MB / 407.8 MB, free: 2.531 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 59.86 kB / 483.5 MB, free: 6.598 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2451, allocations: 64.98 MB / 0.5357 GB, free: 33.61 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.04164/0.2868, allocations: 49.51 MB / 0.584 GB, free: 4.055 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.2988, allocations: 12.53 MB / 0.5962 GB, free: 7.48 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005605/0.2994, allocations: 7.938 kB / 0.5962 GB, free: 7.473 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006847/0.3001, allocations: 234.8 kB / 0.5965 GB, free: 7.242 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.3013, allocations: 0.4895 MB / 0.597 GB, free: 6.75 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.3031, allocations: 0.6421 MB / 0.5976 GB, free: 6.105 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009927/0.3041, allocations: 1.101 MB / 0.5987 GB, free: 5 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.3044, allocations: 144.9 kB / 0.5988 GB, free: 4.855 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02698/0.3314, allocations: 11.46 MB / 0.61 GB, free: 9.309 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004741/0.3319, allocations: 390.5 kB / 0.6104 GB, free: 8.926 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.063e-05/0.332, allocations: 36 kB / 0.6104 GB, free: 8.891 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1136/0.4456, allocations: 52.82 MB / 0.662 GB, free: 3.418 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002469/0.4459, allocations: 123.5 kB / 0.6621 GB, free: 3.297 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003685/0.4463, allocations: 286.5 kB / 0.6624 GB, free: 3.016 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.4481, allocations: 1.056 MB / 0.6634 GB, free: 1.957 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4482, allocations: 0 / 0.6634 GB, free: 1.957 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.4482, allocations: 0 / 0.6634 GB, free: 1.957 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.4482, allocations: 4 kB / 0.6634 GB, free: 1.953 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002066/0.4502, allocations: 0.9976 MB / 0.6644 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.4503, allocations: 8.031 kB / 0.6644 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.4504, allocations: 64.17 kB / 0.6644 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005438/0.451, allocations: 391.7 kB / 0.6648 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.874e-05/0.4511, allocations: 88.95 kB / 0.6649 GB, free: 320 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.267e-05/0.4512, allocations: 48.12 kB / 0.6649 GB, free: 272 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.4522, allocations: 0.6433 MB / 0.6656 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.4522, allocations: 11.94 kB / 0.6656 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/0.4523, allocations: 23.94 kB / 0.6656 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.098e-05/0.4523, allocations: 17 kB / 0.6656 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.4534, allocations: 0.6636 MB / 0.6663 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00351/0.4569, allocations: 2.744 MB / 0.669 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.4586, allocations: 0.7825 MB / 0.6697 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006603/0.4593, allocations: 410.3 kB / 0.6701 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002321/0.4616, allocations: 2.647 MB / 0.6727 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.4616, allocations: 35.12 kB / 0.6727 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=65): time 2.685e-06/0.4617, allocations: 4 kB / 0.6727 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of matching and sorting (n=67): time 0.00417/0.4658, allocations: 2.362 MB / 0.675 GB, free: 5.016 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.4659, allocations: 59.97 kB / 0.6751 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.4662, allocations: 305.7 kB / 0.6754 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.848e-05/0.4662, allocations: 45.64 kB / 0.6754 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.4663, allocations: 197.4 kB / 0.6756 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.4665, allocations: 224.7 kB / 0.6758 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.4667, allocations: 122.1 kB / 0.6759 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4668, allocations: 358.8 kB / 0.6763 GB, free: 3.684 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005028/0.4673, allocations: 297 kB / 0.6766 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005555/0.4679, allocations: 357.9 kB / 0.6769 GB, free: 3.035 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.469, allocations: 0.6859 MB / 0.6776 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.469, allocations: 0 / 0.6776 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001592/0.4706, allocations: 0.9051 MB / 0.6785 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4707, allocations: 4 kB / 0.6785 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.4707, allocations: 4 kB / 0.6785 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004087/0.4711, allocations: 128.8 kB / 0.6786 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004774/0.4716, allocations: 111.9 kB / 0.6787 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1955/0.6671, allocations: 2.245 MB / 0.6809 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/0.6676, allocations: 26.72 kB / 0.6809 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.6678, allocations: 27.11 kB / 0.6809 GB, free: 139.2 MB / 0.4948 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 (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002937/0.6681, allocations: 189.7 kB / 0.6811 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.6682, allocations: 49.75 kB / 0.6812 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/0.6705, allocations: 1.071 MB / 0.6822 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.6705, allocations: 7.781 kB / 0.6822 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.6706, allocations: 2.562 kB / 0.6822 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.6706, allocations: 7.156 kB / 0.6822 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00339/0.674, allocations: 1.859 MB / 0.6841 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.674, allocations: 7.547 kB / 0.6841 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005335/0.6745, allocations: 117.4 kB / 0.6842 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004353/0.675, allocations: 141.5 kB / 0.6843 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.714e-05/0.6751, allocations: 25.03 kB / 0.6843 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002248/0.6773, allocations: 2.25 MB / 0.6865 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6773, allocations: 2.344 kB / 0.6865 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02765/0.705, allocations: 13.48 MB / 0.6997 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/0.7054, allocations: 201.6 kB / 0.6999 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.7055, allocations: 20.81 kB / 0.6999 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004128/0.7059, allocations: 26.22 kB / 0.6999 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.7061, allocations: 59.05 kB / 0.7 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.724e-05/0.7061, allocations: 32.59 kB / 0.7 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002026/0.7063, allocations: 219.4 kB / 0.7002 GB, free: 127 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7063, allocations: 1.594 kB / 0.7002 GB, free: 127 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001639/0.708, allocations: 0.5052 MB / 0.7007 GB, free: 126.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (compressor1.m_flow,compressor1.phi,compressor1.omega,splitterN.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 (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001131/0.7091, allocations: 0.5303 MB / 0.7012 GB, free: 126.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.7108, allocations: 1.034 MB / 0.7022 GB, free: 126 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7109, allocations: 0 / 0.7022 GB, free: 126 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.7119, allocations: 0.7098 MB / 0.7029 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008994/0.7128, allocations: 151.8 kB / 0.7031 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.7159, allocations: 2.276 MB / 0.7053 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.7163, allocations: 0.9037 MB / 0.7062 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005115/0.7168, allocations: 144.2 kB / 0.7063 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.717, allocations: 75.31 kB / 0.7064 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.717, allocations: 0 / 0.7064 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.02402/0.741, allocations: 19.54 MB / 0.7255 GB, free: 103.3 MB / 0.4948 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Compressor_ref.mat","../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches