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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] 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=1000,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=1000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007598/0.007598, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001804/0.001804, allocations: 201.4 kB / 16.68 MB, free: 5.934 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.765/0.765, allocations: 93.7 MB / 384.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00346/0.00346, allocations: 83.86 kB / 0.5204 GB, free: 5.824 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1496, allocations: 68.27 MB / 0.5871 GB, free: 1.477 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.3282/0.4779, allocations: 47.36 MB / 0.6333 GB, free: 8.547 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01694/0.4949, allocations: 12.45 MB / 0.6455 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.4959, allocations: 25.22 kB / 0.6455 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.497, allocations: 279.6 kB / 0.6458 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.4992, allocations: 0.5491 MB / 0.6463 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002612/0.5018, allocations: 0.7412 MB / 0.647 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001474/0.5033, allocations: 0.9216 MB / 0.6479 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003461/0.5036, allocations: 170.5 kB / 0.6481 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03412/0.5378, allocations: 12.56 MB / 0.6604 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007527/0.5386, allocations: 395.5 kB / 0.6607 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.5387, allocations: 56.44 kB / 0.6608 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1273/0.666, allocations: 53 MB / 0.7126 GB, free: 1.699 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003239/0.6664, allocations: 143.5 kB / 0.7127 GB, free: 1.559 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005404/0.6669, allocations: 326.3 kB / 0.713 GB, free: 1.238 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00248/0.6694, allocations: 1.125 MB / 0.7141 GB, free: 112 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6694, allocations: 0 / 0.7141 GB, free: 112 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6694, allocations: 0 / 0.7141 GB, free: 112 kB / 0.545 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.6694, allocations: 0 / 0.7141 GB, free: 112 kB / 0.545 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.002293/0.6717, allocations: 1.09 MB / 0.7152 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.6718, allocations: 12.03 kB / 0.7152 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.672, allocations: 76.45 kB / 0.7152 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007862/0.6728, allocations: 0.5096 MB / 0.7157 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.6729, allocations: 104.3 kB / 0.7158 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.03e-05/0.673, allocations: 48 kB / 0.7159 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.6742, allocations: 0.6575 MB / 0.7165 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.6742, allocations: 0 / 0.7165 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.064e-05/0.6742, allocations: 20 kB / 0.7166 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.761e-05/0.6743, allocations: 24.98 kB / 0.7166 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.6755, allocations: 0.6644 MB / 0.7172 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003825/0.6794, allocations: 2.459 MB / 0.7196 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.6811, allocations: 0.6889 MB / 0.7203 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006939/0.6818, allocations: 374.8 kB / 0.7207 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002948/0.6848, allocations: 2.631 MB / 0.7232 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.6848, allocations: 39.06 kB / 0.7233 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=63): time 2.855e-06/0.6848, allocations: 0 / 0.7233 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65): time 0.004651/0.6895, allocations: 2.2 MB / 0.7254 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.632e-05/0.6896, allocations: 111.4 kB / 0.7255 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005321/0.6901, allocations: 426 kB / 0.7259 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.188e-05/0.6902, allocations: 37.7 kB / 0.726 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.6904, allocations: 249 kB / 0.7262 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.6906, allocations: 234 kB / 0.7264 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.6908, allocations: 110.2 kB / 0.7265 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002114/0.691, allocations: 370.8 kB / 0.7269 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005267/0.6916, allocations: 257.1 kB / 0.7271 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006193/0.6922, allocations: 353.4 kB / 0.7275 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.6934, allocations: 0.6174 MB / 0.7281 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6934, allocations: 0 / 0.7281 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001751/0.6952, allocations: 0.8584 MB / 0.7289 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.6952, allocations: 4 kB / 0.7289 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.6952, allocations: 4 kB / 0.7289 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004486/0.6957, allocations: 135.4 kB / 0.729 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005145/0.6962, allocations: 115.8 kB / 0.7292 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003103/0.6993, allocations: 2.471 MB / 0.7316 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003656/0.6997, allocations: 23.92 kB / 0.7316 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.407e-05/0.6998, allocations: 27.98 kB / 0.7316 GB, free: 12.97 MB / 0.5762 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.0002913/0.7001, allocations: 189.7 kB / 0.7318 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.7002, allocations: 63.58 kB / 0.7319 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/0.7024, allocations: 1.059 MB / 0.7329 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.7024, allocations: 8 kB / 0.7329 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.7024, allocations: 0 / 0.7329 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.445e-06/0.7024, allocations: 3.984 kB / 0.7329 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/0.7054, allocations: 1.671 MB / 0.7345 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/0.7054, allocations: 4.031 kB / 0.7345 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004713/0.7059, allocations: 99.86 kB / 0.7346 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000421/0.7063, allocations: 132.7 kB / 0.7348 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.419e-05/0.7064, allocations: 24.67 kB / 0.7348 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003029/0.7094, allocations: 2.475 MB / 0.7372 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7094, allocations: 3.938 kB / 0.7372 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.7118, allocations: 1.298 MB / 0.7385 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.7121, allocations: 200.6 kB / 0.7387 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.722e-05/0.7123, allocations: 12 kB / 0.7387 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.7126, allocations: 20.08 kB / 0.7387 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.7127, allocations: 48.48 kB / 0.7387 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.388e-05/0.7128, allocations: 27.97 kB / 0.7388 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004147/0.7132, allocations: 326.9 kB / 0.7391 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7132, allocations: 4 kB / 0.7391 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009178/0.7141, allocations: 291.4 kB / 0.7394 GB, free: 4.766 MB / 0.5762 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.0006859/0.7148, allocations: 410.3 kB / 0.7398 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001829/0.7166, allocations: 0.9075 MB / 0.7406 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7167, allocations: 0 / 0.7406 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.7177, allocations: 0.6105 MB / 0.7412 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.7188, allocations: 209 kB / 0.7414 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.7214, allocations: 1.436 MB / 0.7428 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.722, allocations: 0.9035 MB / 0.7437 GB, free: 196 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004149/0.7224, allocations: 136.7 kB / 0.7438 GB, free: 60 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.7226, allocations: 59.41 kB / 0.7439 GB, free: 0 / 0.5762 GB Notification: Performance of SimCode: time 2.414e-06/0.7226, allocations: 4.109 kB / 0.7439 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of Templates: time 0.02436/0.747, allocations: 14.42 MB / 0.758 GB, free: 1.633 MB / 0.5919 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.makefile [Timeout 660] (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) [Timeout 1200] 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) [Timeout 660] Reference file matches