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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 100.1 kB / 15.88 MB, free: 12 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.001338/0.001338, allocations: 200.4 kB / 16.79 MB, free: 6.828 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.313/1.313, allocations: 222.9 MB / 240.5 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6522/0.6522, allocations: 89.51 MB / 380.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 83.78 kB / 458.2 MB, free: 23.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1335, allocations: 67.32 MB / 0.5132 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05276/0.1863, allocations: 49.53 MB / 0.5616 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01285/0.1992, allocations: 12.6 MB / 0.5739 GB, free: 14.59 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005729/0.1998, allocations: 7.938 kB / 0.5739 GB, free: 14.58 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000752/0.2005, allocations: 234.8 kB / 0.5741 GB, free: 14.35 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.202, allocations: 489.3 kB / 0.5746 GB, free: 13.87 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.2039, allocations: 0.6599 MB / 0.5752 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.205, allocations: 1.059 MB / 0.5763 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002493/0.2053, allocations: 148.9 kB / 0.5764 GB, free: 12 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02814/0.2334, allocations: 11.46 MB / 0.5876 GB, free: 464 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005164/0.234, allocations: 374.5 kB / 0.5879 GB, free: 88 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.183e-05/0.2341, allocations: 39.98 kB / 0.588 GB, free: 48 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3492/0.5833, allocations: 52.81 MB / 0.6396 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002511/0.5836, allocations: 126.6 kB / 0.6397 GB, free: 15.24 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003514/0.5839, allocations: 288.2 kB / 0.64 GB, free: 15.22 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.5852, allocations: 0.7517 MB / 0.6407 GB, free: 14.98 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5852, allocations: 0 / 0.6407 GB, free: 14.98 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5852, allocations: 0 / 0.6407 GB, free: 14.98 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.5852, allocations: 0 / 0.6407 GB, free: 14.98 MB / 478.1 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.001989/0.5872, allocations: 0.9982 MB / 0.6417 GB, free: 14.35 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.5872, allocations: 9.344 kB / 0.6417 GB, free: 14.35 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.5874, allocations: 57.19 kB / 0.6417 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/0.5878, allocations: 386.3 kB / 0.6421 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-05/0.5879, allocations: 98.89 kB / 0.6422 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.904e-05/0.588, allocations: 55.31 kB / 0.6422 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009746/0.589, allocations: 0.648 MB / 0.6429 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.589, allocations: 0 / 0.6429 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.058e-05/0.5891, allocations: 26.97 kB / 0.6429 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.13e-05/0.5891, allocations: 16.47 kB / 0.6429 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.5901, allocations: 0.669 MB / 0.6436 GB, free: 13.65 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003325/0.5935, allocations: 2.431 MB / 0.6459 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.595, allocations: 0.6929 MB / 0.6466 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006399/0.5957, allocations: 366.4 kB / 0.647 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002534/0.5982, allocations: 2.638 MB / 0.6496 GB, free: 8.113 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.5983, allocations: 42.31 kB / 0.6496 GB, free: 8.066 MB / 478.1 MB Notification: Performance of pre-optimization done (n=63): time 2.695e-06/0.5983, allocations: 0 / 0.6496 GB, free: 8.066 MB / 478.1 MB Notification: Performance of matching and sorting (n=65): time 0.004291/0.6026, allocations: 2.167 MB / 0.6517 GB, free: 5.82 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.6026, allocations: 55.97 kB / 0.6518 GB, free: 5.754 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.603, allocations: 353.6 kB / 0.6521 GB, free: 5.402 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.6031, allocations: 33.7 kB / 0.6521 GB, free: 5.363 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.6032, allocations: 211.9 kB / 0.6523 GB, free: 5.156 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.6034, allocations: 226.2 kB / 0.6525 GB, free: 4.938 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.6036, allocations: 110.2 kB / 0.6527 GB, free: 4.824 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.6038, allocations: 358.8 kB / 0.653 GB, free: 4.465 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004758/0.6042, allocations: 261.1 kB / 0.6532 GB, free: 4.211 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005437/0.6048, allocations: 331.7 kB / 0.6536 GB, free: 3.867 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.6059, allocations: 0.6194 MB / 0.6542 GB, free: 3.238 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6059, allocations: 4 kB / 0.6542 GB, free: 3.234 MB / 478.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001579/0.6075, allocations: 0.8377 MB / 0.655 GB, free: 2.398 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.6075, allocations: 14.19 kB / 0.655 GB, free: 2.387 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.6075, allocations: 4 kB / 0.655 GB, free: 2.383 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004411/0.608, allocations: 124.8 kB / 0.6551 GB, free: 2.258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.6085, allocations: 109.9 kB / 0.6552 GB, free: 2.156 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002646/0.6112, allocations: 2.261 MB / 0.6574 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004323/0.6116, allocations: 27.98 kB / 0.6575 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.223e-05/0.6117, allocations: 23.98 kB / 0.6575 GB, free: 15.74 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002922/0.612, allocations: 184.9 kB / 0.6577 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.6121, allocations: 51.38 kB / 0.6577 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001935/0.6141, allocations: 1.058 MB / 0.6587 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.6141, allocations: 5.078 kB / 0.6587 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.6141, allocations: 4.875 kB / 0.6588 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.6141, allocations: 3.984 kB / 0.6588 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/0.6168, allocations: 1.633 MB / 0.6604 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.6168, allocations: 8 kB / 0.6604 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004831/0.6173, allocations: 98.31 kB / 0.6605 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004128/0.6178, allocations: 137.9 kB / 0.6606 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/0.6178, allocations: 21.09 kB / 0.6606 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002466/0.6203, allocations: 2.249 MB / 0.6628 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6203, allocations: 4.062 kB / 0.6628 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.6225, allocations: 1.283 MB / 0.6641 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002597/0.6228, allocations: 188.4 kB / 0.6642 GB, free: 8.648 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.635e-05/0.6229, allocations: 16.81 kB / 0.6643 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.6232, allocations: 23.98 kB / 0.6643 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-05/0.6233, allocations: 40.5 kB / 0.6643 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.715e-05/0.6234, allocations: 21.41 kB / 0.6643 GB, free: 8.551 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003011/0.6237, allocations: 283.1 kB / 0.6646 GB, free: 8.277 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6237, allocations: 0 / 0.6646 GB, free: 8.277 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008994/0.6246, allocations: 295.8 kB / 0.6649 GB, free: 7.992 MB / 494.1 MB 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0006305/0.6253, allocations: 409.1 kB / 0.6653 GB, free: 7.629 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.6269, allocations: 0.9094 MB / 0.6662 GB, free: 6.715 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6269, allocations: 0 / 0.6662 GB, free: 6.715 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009886/0.6279, allocations: 0.598 MB / 0.6668 GB, free: 6.102 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.6289, allocations: 181.2 kB / 0.6669 GB, free: 5.934 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.6314, allocations: 1.573 MB / 0.6685 GB, free: 4.371 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.6319, allocations: 0.8681 MB / 0.6693 GB, free: 3.477 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.6321, allocations: 71.39 kB / 0.6694 GB, free: 3.406 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6321, allocations: 2.906 kB / 0.6694 GB, free: 3.406 MB / 494.1 MB Notification: Performance of Templates: time 0.0171/0.6492, allocations: 13.57 MB / 0.6826 GB, free: 6.004 MB / 0.4981 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches