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.001454/0.001454, allocations: 108 kB / 16.36 MB, free: 5.824 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.001635/0.001635, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6688/0.6688, allocations: 89.5 MB / 380.6 MB, free: 8.645 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 75.88 kB / 459.7 MB, free: 10.58 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1203, allocations: 67.3 MB / 0.5146 GB, free: 7.195 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.2447/0.365, allocations: 47.25 MB / 0.5607 GB, free: 22.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.3755, allocations: 12.41 MB / 0.5729 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004633/0.376, allocations: 10.19 kB / 0.5729 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007028/0.3767, allocations: 273.2 kB / 0.5731 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.378, allocations: 0.5044 MB / 0.5736 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.3799, allocations: 0.7446 MB / 0.5744 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008472/0.3808, allocations: 0.8474 MB / 0.5752 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002826/0.3811, allocations: 182 kB / 0.5754 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03163/0.4127, allocations: 12.52 MB / 0.5876 GB, free: 6.801 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005328/0.4133, allocations: 383.8 kB / 0.588 GB, free: 6.562 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.472e-05/0.4134, allocations: 52.66 kB / 0.588 GB, free: 6.562 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1269/0.5403, allocations: 53 MB / 0.6398 GB, free: 6.738 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.5406, allocations: 143.5 kB / 0.6399 GB, free: 6.598 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000449/0.5411, allocations: 298.5 kB / 0.6402 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001967/0.5431, allocations: 1.048 MB / 0.6412 GB, free: 5.254 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5431, allocations: 4 kB / 0.6412 GB, free: 5.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5431, allocations: 0 / 0.6412 GB, free: 5.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.5431, allocations: 0 / 0.6412 GB, free: 5.25 MB / 494.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.002084/0.5452, allocations: 0.9836 MB / 0.6422 GB, free: 4.219 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.5453, allocations: 8.031 kB / 0.6422 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.5454, allocations: 68.12 kB / 0.6422 GB, free: 4.145 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005943/0.546, allocations: 391.6 kB / 0.6426 GB, free: 3.719 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.5462, allocations: 96.95 kB / 0.6427 GB, free: 3.613 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.5463, allocations: 48.38 kB / 0.6428 GB, free: 3.566 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.5474, allocations: 0.6575 MB / 0.6434 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.5474, allocations: 0 / 0.6434 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.851e-05/0.5475, allocations: 16.98 kB / 0.6434 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/0.5475, allocations: 28.98 kB / 0.6434 GB, free: 2.836 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.5486, allocations: 0.6597 MB / 0.6441 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003462/0.5521, allocations: 2.438 MB / 0.6465 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.5537, allocations: 0.6956 MB / 0.6472 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006265/0.5543, allocations: 370.4 kB / 0.6475 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002377/0.5567, allocations: 2.631 MB / 0.6501 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.5567, allocations: 43.12 kB / 0.6501 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=63): time 2.325e-06/0.5567, allocations: 0 / 0.6501 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65): time 0.004062/0.5608, allocations: 2.167 MB / 0.6522 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.5609, allocations: 111.4 kB / 0.6523 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.5612, allocations: 349.6 kB / 0.6527 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.5613, allocations: 37.7 kB / 0.6527 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.5614, allocations: 204.9 kB / 0.6529 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.5616, allocations: 220.8 kB / 0.6531 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.5618, allocations: 110.2 kB / 0.6532 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.5619, allocations: 358.8 kB / 0.6536 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004939/0.5624, allocations: 261.1 kB / 0.6538 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005497/0.563, allocations: 349.4 kB / 0.6541 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.5641, allocations: 0.6174 MB / 0.6547 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5641, allocations: 0 / 0.6547 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001552/0.5656, allocations: 0.8464 MB / 0.6556 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.5657, allocations: 4 kB / 0.6556 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.5657, allocations: 4 kB / 0.6556 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004167/0.5661, allocations: 139.5 kB / 0.6557 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/0.5666, allocations: 103.9 kB / 0.6558 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00264/0.5693, allocations: 2.481 MB / 0.6582 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.5696, allocations: 19.98 kB / 0.6583 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.948e-05/0.5697, allocations: 23.98 kB / 0.6583 GB, free: 2.582 MB / 0.4981 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.0002647/0.57, allocations: 189.6 kB / 0.6585 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.5701, allocations: 59.28 kB / 0.6585 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/0.572, allocations: 1.049 MB / 0.6595 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.5721, allocations: 4 kB / 0.6595 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5721, allocations: 4 kB / 0.6595 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.5721, allocations: 3.984 kB / 0.6595 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/0.5748, allocations: 1.636 MB / 0.6611 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.5748, allocations: 12.52 kB / 0.6612 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004699/0.5753, allocations: 91.88 kB / 0.6612 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003908/0.5757, allocations: 142.2 kB / 0.6614 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.003e-05/0.5757, allocations: 24.73 kB / 0.6614 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002598/0.5784, allocations: 2.465 MB / 0.6638 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.5784, allocations: 4.562 kB / 0.6638 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.5805, allocations: 1.294 MB / 0.6651 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002374/0.5807, allocations: 176.5 kB / 0.6652 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.138e-05/0.5808, allocations: 15.94 kB / 0.6653 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.5812, allocations: 20.92 kB / 0.6653 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.84e-05/0.5813, allocations: 48.48 kB / 0.6653 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.712e-05/0.5813, allocations: 19.98 kB / 0.6653 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002838/0.5816, allocations: 275.2 kB / 0.6656 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5816, allocations: 4 kB / 0.6656 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000861/0.5825, allocations: 291.8 kB / 0.6659 GB, free: 10.52 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.0006081/0.5831, allocations: 414.4 kB / 0.6663 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.5847, allocations: 0.9076 MB / 0.6672 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5847, allocations: 0 / 0.6672 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009614/0.5857, allocations: 0.6065 MB / 0.6678 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009295/0.5866, allocations: 192.3 kB / 0.6679 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.5889, allocations: 1.329 MB / 0.6692 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.5893, allocations: 0.8759 MB / 0.6701 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003704/0.5897, allocations: 123.7 kB / 0.6702 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.5899, allocations: 59.34 kB / 0.6703 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of SimCode: time 4.1e-07/0.5899, allocations: 0 / 0.6703 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of Templates: time 0.02089/0.6108, allocations: 14.12 MB / 0.6841 GB, free: 8.125 MB / 0.5294 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 -s gbode -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