Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_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_dev_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.001552/0.001552, allocations: 106 kB / 16.27 MB, free: 6.41 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.001515/0.001515, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7765/0.7765, allocations: 93.69 MB / 384.7 MB, free: 5.34 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00238/0.002381, allocations: 79.88 kB / 464.1 MB, free: 6.168 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1423, allocations: 68.27 MB / 0.5198 GB, free: 1.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.2612/0.4035, allocations: 47.35 MB / 0.5661 GB, free: 16.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.415, allocations: 12.46 MB / 0.5783 GB, free: 7.402 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006487/0.4157, allocations: 20.75 kB / 0.5783 GB, free: 7.395 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007383/0.4165, allocations: 278.4 kB / 0.5785 GB, free: 7.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.418, allocations: 0.5463 MB / 0.5791 GB, free: 6.895 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.4199, allocations: 0.7451 MB / 0.5798 GB, free: 6.504 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.421, allocations: 0.9139 MB / 0.5807 GB, free: 6.066 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.4213, allocations: 177.1 kB / 0.5809 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0299/0.4512, allocations: 12.55 MB / 0.5931 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005528/0.4518, allocations: 396.5 kB / 0.5935 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.4519, allocations: 52.47 kB / 0.5935 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1301/0.582, allocations: 53 MB / 0.6453 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003632/0.5824, allocations: 143.5 kB / 0.6454 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000572/0.583, allocations: 334.2 kB / 0.6458 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002623/0.5856, allocations: 1.102 MB / 0.6468 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5856, allocations: 0 / 0.6468 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5856, allocations: 4 kB / 0.6468 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.5857, allocations: 0 / 0.6468 GB, free: 12.77 MB / 0.4981 GB 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.002145/0.5878, allocations: 1.068 MB / 0.6479 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.5879, allocations: 8.031 kB / 0.6479 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.588, allocations: 72.09 kB / 0.648 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006867/0.5887, allocations: 481.6 kB / 0.6484 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.5888, allocations: 96.33 kB / 0.6485 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.998e-05/0.5889, allocations: 47.91 kB / 0.6486 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.59, allocations: 0.6558 MB / 0.6492 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.5901, allocations: 4.547 kB / 0.6492 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.105e-05/0.5901, allocations: 16 kB / 0.6492 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.352e-05/0.5902, allocations: 21 kB / 0.6492 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.5913, allocations: 0.6675 MB / 0.6499 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00368/0.595, allocations: 2.46 MB / 0.6523 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.5966, allocations: 0.7015 MB / 0.653 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006327/0.5973, allocations: 366.4 kB / 0.6533 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002789/0.6001, allocations: 2.628 MB / 0.6559 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/0.6001, allocations: 47.06 kB / 0.6559 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=63): time 2.404e-06/0.6001, allocations: 0 / 0.6559 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65): time 0.004388/0.6045, allocations: 2.191 MB / 0.6581 GB, free: 332 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.6046, allocations: 59.97 kB / 0.6581 GB, free: 260 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005152/0.6051, allocations: 426 kB / 0.6585 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.228e-05/0.6052, allocations: 37.7 kB / 0.6586 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.6054, allocations: 240.8 kB / 0.6588 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.6056, allocations: 220.8 kB / 0.659 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.6058, allocations: 110.2 kB / 0.6591 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.6059, allocations: 370.8 kB / 0.6595 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004892/0.6064, allocations: 265 kB / 0.6597 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/0.607, allocations: 332.5 kB / 0.66 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.6081, allocations: 0.6134 MB / 0.6606 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.6081, allocations: 3.938 kB / 0.6606 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001622/0.6098, allocations: 0.8542 MB / 0.6615 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.6098, allocations: 8.031 kB / 0.6615 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.6098, allocations: 4 kB / 0.6615 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004284/0.6102, allocations: 138.4 kB / 0.6616 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.6107, allocations: 112.6 kB / 0.6617 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002913/0.6137, allocations: 2.467 MB / 0.6641 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000375/0.6141, allocations: 23.95 kB / 0.6642 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.193e-05/0.6141, allocations: 28.48 kB / 0.6642 GB, free: 9.824 MB / 0.5137 GB 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.0003081/0.6144, allocations: 198.4 kB / 0.6644 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.6146, allocations: 59.25 kB / 0.6644 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/0.6166, allocations: 1.052 MB / 0.6655 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.6166, allocations: 8 kB / 0.6655 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.6166, allocations: 0 / 0.6655 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.6167, allocations: 7.984 kB / 0.6655 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/0.6195, allocations: 1.674 MB / 0.6671 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.6195, allocations: 4 kB / 0.6671 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004719/0.62, allocations: 95.88 kB / 0.6672 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003915/0.6204, allocations: 137.4 kB / 0.6673 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-05/0.6205, allocations: 24.66 kB / 0.6674 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002955/0.6234, allocations: 2.481 MB / 0.6698 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6235, allocations: 0 / 0.6698 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002569/0.626, allocations: 1.286 MB / 0.671 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003762/0.6264, allocations: 192.2 kB / 0.6712 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.305e-05/0.6265, allocations: 12 kB / 0.6712 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.6269, allocations: 19.98 kB / 0.6713 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.627, allocations: 48.5 kB / 0.6713 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.662e-05/0.6271, allocations: 23.98 kB / 0.6713 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004697/0.6276, allocations: 334.9 kB / 0.6716 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.6276, allocations: 0 / 0.6716 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001162/0.6288, allocations: 295.9 kB / 0.6719 GB, free: 1.637 MB / 0.5137 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.0007598/0.6295, allocations: 407.3 kB / 0.6723 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002174/0.6317, allocations: 0.9855 MB / 0.6733 GB, free: 240 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6317, allocations: 0 / 0.6733 GB, free: 240 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.6328, allocations: 0.6107 MB / 0.6739 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.6338, allocations: 200.3 kB / 0.6741 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.6365, allocations: 1.47 MB / 0.6755 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006093/0.6372, allocations: 0.8996 MB / 0.6764 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.6374, allocations: 71.39 kB / 0.6764 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of SimCode: time 6.91e-07/0.6374, allocations: 4 kB / 0.6765 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of Templates: time 0.02052/0.6579, allocations: 14.57 MB / 0.6907 GB, free: 14.59 MB / 0.545 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches