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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008368/0.0008368, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008585/0.0008585, allocations: 178.2 kB / 23.21 MB, free: 1.34 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8587/0.8587, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.4873/0.4873, allocations: 80.18 MB / 340.1 MB, free: 7.539 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.4936 GB, free: 6.336 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.458e-05, allocations: 8.188 kB / 0.4936 GB, free: 6.328 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.02819/0.02821, allocations: 44.34 MB / 0.5369 GB, free: 11.5 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006396/0.0346, allocations: 10.07 MB / 0.5467 GB, free: 1.398 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/0.03484, allocations: 31.69 kB / 0.5468 GB, free: 1.367 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000485/0.03533, allocations: 250.1 kB / 0.547 GB, free: 1.121 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008193/0.03614, allocations: 0.6053 MB / 0.5476 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009802/0.03712, allocations: 0.762 MB / 0.5483 GB, free: 15.75 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006289/0.03775, allocations: 1.011 MB / 0.5493 GB, free: 14.73 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.03792, allocations: 102 kB / 0.5494 GB, free: 14.63 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01467/0.05258, allocations: 12.73 MB / 0.5619 GB, free: 1.816 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.05292, allocations: 355.1 kB / 0.5622 GB, free: 1.469 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 5.411e-05/0.05298, allocations: 52 kB / 0.5622 GB, free: 1.418 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0498/0.1028, allocations: 52.66 MB / 0.6137 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.1029, allocations: 163.3 kB / 0.6138 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.1031, allocations: 231.4 kB / 0.614 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.1043, allocations: 1.172 MB / 0.6152 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.1043, allocations: 0 / 0.6152 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1043, allocations: 0 / 0.6152 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.1044, allocations: 0 / 0.6152 GB, free: 10.64 MB / 0.5261 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.001363/0.1057, allocations: 1.018 MB / 0.6162 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1057, allocations: 10.06 kB / 0.6162 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.1059, allocations: 96.45 kB / 0.6163 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.1064, allocations: 446 kB / 0.6167 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.928e-05/0.1065, allocations: 140.4 kB / 0.6168 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.403e-05/0.1066, allocations: 60 kB / 0.6169 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007073/0.1073, allocations: 0.706 MB / 0.6176 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1073, allocations: 4 kB / 0.6176 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.1073, allocations: 16 kB / 0.6176 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.1073, allocations: 24.98 kB / 0.6176 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006979/0.108, allocations: 0.6753 MB / 0.6183 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.1101, allocations: 1.908 MB / 0.6202 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008999/0.111, allocations: 0.6422 MB / 0.6208 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003906/0.1114, allocations: 348 kB / 0.6211 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007122/0.1121, allocations: 320.2 kB / 0.6214 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.1121, allocations: 39.06 kB / 0.6215 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=63): time 1.903e-06/0.1121, allocations: 0 / 0.6215 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65): time 0.002549/0.1146, allocations: 2.005 MB / 0.6234 GB, free: 2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.1147, allocations: 56.06 kB / 0.6235 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.1149, allocations: 365.9 kB / 0.6238 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.1149, allocations: 37.7 kB / 0.6239 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.1151, allocations: 249.5 kB / 0.6241 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.1152, allocations: 237.9 kB / 0.6243 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.1153, allocations: 114.3 kB / 0.6244 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.703e-05/0.1154, allocations: 366.7 kB / 0.6248 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.1157, allocations: 261.2 kB / 0.625 GB, free: 304 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.116, allocations: 340.2 kB / 0.6254 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006831/0.1167, allocations: 0.6266 MB / 0.626 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1167, allocations: 0 / 0.626 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009881/0.1177, allocations: 0.8528 MB / 0.6268 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1177, allocations: 11.94 kB / 0.6268 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.1177, allocations: 4 kB / 0.6268 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002529/0.118, allocations: 131.2 kB / 0.6269 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.1182, allocations: 111.9 kB / 0.627 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/0.1199, allocations: 2.324 MB / 0.6293 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.12, allocations: 16.03 kB / 0.6293 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.1201, allocations: 31.97 kB / 0.6294 GB, free: 11.72 MB / 0.5417 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.0001593/0.1202, allocations: 181.8 kB / 0.6295 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.1203, allocations: 75.59 kB / 0.6296 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.1215, allocations: 1.05 MB / 0.6306 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1215, allocations: 7.984 kB / 0.6306 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.1215, allocations: 4 kB / 0.6306 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1215, allocations: 0 / 0.6306 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.1231, allocations: 1.492 MB / 0.6321 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.1231, allocations: 4 kB / 0.6321 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.1233, allocations: 99.8 kB / 0.6322 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000225/0.1236, allocations: 136.7 kB / 0.6323 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.1236, allocations: 27.92 kB / 0.6324 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/0.1252, allocations: 2.313 MB / 0.6346 GB, free: 6.152 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1252, allocations: 11.98 kB / 0.6346 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.1265, allocations: 1.301 MB / 0.6359 GB, free: 4.82 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.1267, allocations: 115.6 kB / 0.636 GB, free: 4.707 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.1267, allocations: 16 kB / 0.636 GB, free: 4.691 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.1269, allocations: 19.98 kB / 0.636 GB, free: 4.672 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.1269, allocations: 52.34 kB / 0.6361 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.127, allocations: 23.98 kB / 0.6361 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001935/0.1272, allocations: 295.1 kB / 0.6364 GB, free: 4.309 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.1272, allocations: 0 / 0.6364 GB, free: 4.309 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005112/0.1277, allocations: 299.4 kB / 0.6367 GB, free: 4.016 MB / 0.5417 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.0004268/0.1281, allocations: 432.6 kB / 0.6371 GB, free: 3.582 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009856/0.1291, allocations: 0.8697 MB / 0.6379 GB, free: 2.688 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1291, allocations: 4.25 kB / 0.6379 GB, free: 2.684 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000527/0.1296, allocations: 0.575 MB / 0.6385 GB, free: 2.082 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006091/0.1302, allocations: 224.6 kB / 0.6387 GB, free: 1.867 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.1317, allocations: 1.335 MB / 0.64 GB, free: 0.4922 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.1319, allocations: 301.2 kB / 0.6403 GB, free: 176 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.132, allocations: 72.45 kB / 0.6404 GB, free: 104 kB / 0.5417 GB Notification: Performance of SimCode: time 3.31e-07/0.132, allocations: 0 / 0.6404 GB, free: 104 kB / 0.5417 GB Notification: Performance of Templates: time 0.1689/0.3009, allocations: 14.85 MB / 0.6549 GB, free: 140.9 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.makefile [Timeout 660] (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) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.792512473650277]