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.001162/0.001162, allocations: 91.92 kB / 16.02 MB, free: 80 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.00136/0.001359, allocations: 180.4 kB / 16.92 MB, free: 6.652 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.289/1.289, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5995/0.5995, allocations: 89.64 MB / 381.7 MB, free: 11.27 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003899, allocations: 12.12 kB / 461.3 MB, free: 24.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1259, allocations: 68.83 MB / 0.5177 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05329/0.1792, allocations: 48.5 MB / 0.5651 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2459/0.4251, allocations: 12.41 MB / 0.5772 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004925/0.4256, allocations: 8.312 kB / 0.5772 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007403/0.4264, allocations: 241.1 kB / 0.5774 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.4279, allocations: 482.3 kB / 0.5779 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.43, allocations: 0.6485 MB / 0.5785 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001451/0.4315, allocations: 1.063 MB / 0.5796 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003211/0.4318, allocations: 147.2 kB / 0.5797 GB, free: 6.727 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02513/0.4569, allocations: 11.46 MB / 0.5909 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006066/0.4576, allocations: 356 kB / 0.5912 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.4577, allocations: 32.28 kB / 0.5913 GB, free: 4.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1011/0.5589, allocations: 52.81 MB / 0.6428 GB, free: 6.891 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003177/0.5592, allocations: 112 kB / 0.6429 GB, free: 6.809 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005145/0.5597, allocations: 296.1 kB / 0.6432 GB, free: 6.602 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.561, allocations: 0.7432 MB / 0.6439 GB, free: 5.914 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.5611, allocations: 4 kB / 0.6439 GB, free: 5.91 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5611, allocations: 0 / 0.6439 GB, free: 5.91 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.5611, allocations: 0 / 0.6439 GB, free: 5.91 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.001793/0.5629, allocations: 0.8904 MB / 0.6448 GB, free: 4.984 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.5629, allocations: 8.031 kB / 0.6448 GB, free: 4.977 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.563, allocations: 60.28 kB / 0.6449 GB, free: 4.918 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.5635, allocations: 393.9 kB / 0.6453 GB, free: 4.516 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.305e-05/0.5636, allocations: 93.83 kB / 0.6453 GB, free: 4.414 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.753e-05/0.5637, allocations: 52.28 kB / 0.6454 GB, free: 4.363 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.5647, allocations: 0.6576 MB / 0.646 GB, free: 3.703 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.5648, allocations: 0 / 0.646 GB, free: 3.703 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.5648, allocations: 16 kB / 0.6461 GB, free: 3.688 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.558e-05/0.5649, allocations: 24.98 kB / 0.6461 GB, free: 3.664 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.566, allocations: 0.6745 MB / 0.6467 GB, free: 2.996 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003414/0.5695, allocations: 2.45 MB / 0.6491 GB, free: 464 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.571, allocations: 0.7009 MB / 0.6498 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006335/0.5717, allocations: 370.4 kB / 0.6502 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002457/0.5741, allocations: 2.638 MB / 0.6527 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.5742, allocations: 41.75 kB / 0.6528 GB, free: 12.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=63): time 2.725e-06/0.5742, allocations: 0 / 0.6528 GB, free: 12.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=65): time 0.004112/0.5783, allocations: 2.191 MB / 0.6549 GB, free: 9.871 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.5784, allocations: 59.97 kB / 0.655 GB, free: 9.801 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003566/0.5787, allocations: 353.6 kB / 0.6553 GB, free: 9.449 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/0.5788, allocations: 33.7 kB / 0.6553 GB, free: 9.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.5789, allocations: 211.6 kB / 0.6556 GB, free: 9.203 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.5791, allocations: 227.5 kB / 0.6558 GB, free: 8.984 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.409e-05/0.5792, allocations: 49.69 kB / 0.6558 GB, free: 8.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.5793, allocations: 362.8 kB / 0.6562 GB, free: 8.566 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004851/0.5798, allocations: 265.1 kB / 0.6564 GB, free: 8.309 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005232/0.5804, allocations: 337.6 kB / 0.6567 GB, free: 7.965 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.5815, allocations: 0.6302 MB / 0.6574 GB, free: 7.324 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5815, allocations: 0 / 0.6574 GB, free: 7.324 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00153/0.583, allocations: 0.8555 MB / 0.6582 GB, free: 6.473 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.583, allocations: 4 kB / 0.6582 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.5831, allocations: 4 kB / 0.6582 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004165/0.5835, allocations: 132.8 kB / 0.6583 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.584, allocations: 114 kB / 0.6584 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002571/0.5866, allocations: 2.244 MB / 0.6606 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/0.5869, allocations: 24.02 kB / 0.6606 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.587, allocations: 23.98 kB / 0.6607 GB, free: 3.812 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.0002427/0.5872, allocations: 191.8 kB / 0.6609 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.205e-05/0.5873, allocations: 60.22 kB / 0.6609 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/0.5893, allocations: 1.047 MB / 0.6619 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.5893, allocations: 8 kB / 0.6619 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5893, allocations: 0 / 0.6619 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.5893, allocations: 10.98 kB / 0.6619 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/0.5919, allocations: 1.651 MB / 0.6636 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.5919, allocations: 4 kB / 0.6636 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004483/0.5924, allocations: 103.8 kB / 0.6637 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003856/0.5928, allocations: 144.8 kB / 0.6638 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.432e-05/0.5928, allocations: 19.98 kB / 0.6638 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002447/0.5953, allocations: 2.25 MB / 0.666 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5953, allocations: 0 / 0.666 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.5974, allocations: 1.3 MB / 0.6673 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.5977, allocations: 192.4 kB / 0.6675 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.098e-05/0.5977, allocations: 16 kB / 0.6675 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.5981, allocations: 26.56 kB / 0.6675 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.67e-05/0.5982, allocations: 44.5 kB / 0.6676 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.843e-05/0.5982, allocations: 27.97 kB / 0.6676 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002862/0.5985, allocations: 275.2 kB / 0.6678 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5985, allocations: 0 / 0.6678 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008606/0.5994, allocations: 291.9 kB / 0.6681 GB, free: 12.01 MB / 0.4981 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 (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.0005848/0.6, allocations: 412.1 kB / 0.6685 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001611/0.6016, allocations: 0.9146 MB / 0.6694 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.6016, allocations: 0 / 0.6694 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009642/0.6026, allocations: 0.6038 MB / 0.67 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.6037, allocations: 177.6 kB / 0.6702 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.6062, allocations: 1.686 MB / 0.6718 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.6066, allocations: 0.8759 MB / 0.6727 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.6068, allocations: 63.39 kB / 0.6727 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.6068, allocations: 0 / 0.6727 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of Templates: time 0.01684/0.6237, allocations: 13.52 MB / 0.6859 GB, free: 9.855 MB / 0.5137 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