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.001502/0.001502, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002211/0.002211, allocations: 198.2 kB / 16.14 MB, free: 6.645 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.362/1.362, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6766/0.6766, allocations: 93.71 MB / 383.7 MB, free: 7.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 81.06 kB / 462.7 MB, free: 22.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1303, allocations: 68.26 MB / 0.5185 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05422/0.1846, allocations: 49.7 MB / 0.5671 GB, free: 5.621 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01345/0.1981, allocations: 12.65 MB / 0.5794 GB, free: 8.93 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006428/0.1988, allocations: 27.81 kB / 0.5794 GB, free: 8.902 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007668/0.1995, allocations: 238.7 kB / 0.5797 GB, free: 8.668 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.2009, allocations: 0.5012 MB / 0.5802 GB, free: 8.164 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.2028, allocations: 0.6538 MB / 0.5808 GB, free: 7.508 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.204, allocations: 1.136 MB / 0.5819 GB, free: 6.367 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/0.2042, allocations: 156.9 kB / 0.5821 GB, free: 6.215 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2505/0.4547, allocations: 11.49 MB / 0.5933 GB, free: 10.56 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005159/0.4553, allocations: 391.9 kB / 0.5937 GB, free: 10.56 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.464e-05/0.4554, allocations: 35.97 kB / 0.5937 GB, free: 10.56 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1174/0.5727, allocations: 52.81 MB / 0.6453 GB, free: 6.625 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003036/0.5731, allocations: 132.1 kB / 0.6454 GB, free: 6.598 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004535/0.5735, allocations: 306.6 kB / 0.6457 GB, free: 6.574 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002083/0.5756, allocations: 1.066 MB / 0.6467 GB, free: 6.289 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5757, allocations: 0 / 0.6467 GB, free: 6.289 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.5757, allocations: 0 / 0.6467 GB, free: 6.289 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.958e-05/0.5757, allocations: 0 / 0.6467 GB, free: 6.289 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.002345/0.578, allocations: 1.065 MB / 0.6478 GB, free: 5.57 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.5781, allocations: 7.438 kB / 0.6478 GB, free: 5.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.5783, allocations: 67.75 kB / 0.6478 GB, free: 5.539 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006967/0.579, allocations: 486.1 kB / 0.6483 GB, free: 5.203 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.5791, allocations: 97.98 kB / 0.6484 GB, free: 5.133 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.77e-05/0.5792, allocations: 48.31 kB / 0.6484 GB, free: 5.129 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.5804, allocations: 0.6519 MB / 0.6491 GB, free: 4.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.5804, allocations: 0 / 0.6491 GB, free: 4.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-05/0.5805, allocations: 20 kB / 0.6491 GB, free: 4.75 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.156e-05/0.5805, allocations: 23.81 kB / 0.6491 GB, free: 4.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.5818, allocations: 0.6672 MB / 0.6498 GB, free: 4.07 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003857/0.5856, allocations: 2.465 MB / 0.6522 GB, free: 1.504 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.5873, allocations: 0.6929 MB / 0.6529 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006595/0.588, allocations: 370.4 kB / 0.6532 GB, free: 460 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002736/0.5908, allocations: 2.629 MB / 0.6558 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.134e-05/0.5908, allocations: 42.31 kB / 0.6558 GB, free: 13.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=63): time 3.827e-06/0.5908, allocations: 0 / 0.6558 GB, free: 13.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=65): time 0.005068/0.5959, allocations: 2.189 MB / 0.658 GB, free: 10.94 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.596, allocations: 63.91 kB / 0.658 GB, free: 10.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000494/0.5965, allocations: 430 kB / 0.6584 GB, free: 10.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/0.5965, allocations: 33.7 kB / 0.6585 GB, free: 10.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.5967, allocations: 233.7 kB / 0.6587 GB, free: 10.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.5969, allocations: 230.3 kB / 0.6589 GB, free: 9.945 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.5971, allocations: 110.1 kB / 0.659 GB, free: 9.828 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5972, allocations: 370.8 kB / 0.6594 GB, free: 9.457 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005176/0.5978, allocations: 268.2 kB / 0.6596 GB, free: 9.199 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006022/0.5984, allocations: 327.7 kB / 0.6599 GB, free: 8.867 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.5995, allocations: 0.6169 MB / 0.6605 GB, free: 8.234 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.5995, allocations: 0 / 0.6605 GB, free: 8.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001664/0.6012, allocations: 0.8476 MB / 0.6614 GB, free: 7.395 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.6012, allocations: 11.81 kB / 0.6614 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.6012, allocations: 8 kB / 0.6614 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004295/0.6017, allocations: 128.8 kB / 0.6615 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005458/0.6022, allocations: 109.8 kB / 0.6616 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/0.605, allocations: 2.257 MB / 0.6638 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004622/0.6055, allocations: 29.73 kB / 0.6638 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.712e-05/0.6056, allocations: 23.98 kB / 0.6639 GB, free: 4.73 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.0003368/0.6059, allocations: 200.2 kB / 0.664 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.6061, allocations: 63.23 kB / 0.6641 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.6082, allocations: 1.048 MB / 0.6651 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.6082, allocations: 8 kB / 0.6651 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6083, allocations: 0 / 0.6651 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.6083, allocations: 3.984 kB / 0.6651 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/0.6113, allocations: 1.66 MB / 0.6668 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.6113, allocations: 4 kB / 0.6668 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004982/0.6118, allocations: 99.28 kB / 0.6669 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004261/0.6123, allocations: 142.3 kB / 0.667 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.045e-05/0.6123, allocations: 23.97 kB / 0.667 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002487/0.6148, allocations: 2.247 MB / 0.6692 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6148, allocations: 8 kB / 0.6692 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.6171, allocations: 1.291 MB / 0.6705 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/0.6174, allocations: 195.3 kB / 0.6707 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.6176, allocations: 15.94 kB / 0.6707 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.618, allocations: 23.83 kB / 0.6707 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.6181, allocations: 44.5 kB / 0.6707 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.587e-05/0.6181, allocations: 27.97 kB / 0.6708 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003864/0.6185, allocations: 338.8 kB / 0.6711 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6185, allocations: 0 / 0.6711 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009562/0.6195, allocations: 284 kB / 0.6714 GB, free: 12.87 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.0007303/0.6202, allocations: 414.7 kB / 0.6718 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001775/0.622, allocations: 0.9002 MB / 0.6726 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.622, allocations: 0 / 0.6726 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.6231, allocations: 0.6034 MB / 0.6732 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.6242, allocations: 186.9 kB / 0.6734 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.627, allocations: 1.643 MB / 0.675 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.6275, allocations: 0.9073 MB / 0.6759 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000474/0.628, allocations: 136.2 kB / 0.676 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.6282, allocations: 67.39 kB / 0.6761 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of SimCode: time 1.734e-06/0.6282, allocations: 0 / 0.6761 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of Templates: time 0.02234/0.6505, allocations: 13.79 MB / 0.6896 GB, free: 10.45 MB / 0.5137 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches