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.001548/0.001548, allocations: 108.2 kB / 15.99 MB, free: 6.336 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.001651/0.001651, allocations: 199.7 kB / 16.91 MB, free: 6.176 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.421/1.421, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7922/0.7922, allocations: 93.68 MB / 384.4 MB, free: 5.48 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002528/0.002529, allocations: 79.88 kB / 463.6 MB, free: 6.512 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1511, allocations: 68.27 MB / 0.5194 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.3171/0.4683, allocations: 47.82 MB / 0.5661 GB, free: 16.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.4807, allocations: 12.47 MB / 0.5782 GB, free: 7.156 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.4817, allocations: 30.47 kB / 0.5783 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008761/0.4827, allocations: 234 kB / 0.5785 GB, free: 7.016 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.4844, allocations: 0.4979 MB / 0.579 GB, free: 6.719 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002384/0.4868, allocations: 0.6793 MB / 0.5796 GB, free: 6.363 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.4882, allocations: 0.9236 MB / 0.5805 GB, free: 5.918 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/0.4886, allocations: 171.9 kB / 0.5807 GB, free: 5.863 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0304/0.519, allocations: 11.99 MB / 0.5924 GB, free: 392 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000549/0.5195, allocations: 402.7 kB / 0.5928 GB, free: 136 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.5197, allocations: 53.53 kB / 0.5928 GB, free: 136 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1327/0.6524, allocations: 53.05 MB / 0.6447 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003877/0.6528, allocations: 151.4 kB / 0.6448 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006977/0.6535, allocations: 322.3 kB / 0.6451 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.6555, allocations: 0.8186 MB / 0.6459 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6555, allocations: 0 / 0.6459 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6555, allocations: 0 / 0.6459 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.476e-05/0.6556, allocations: 4 kB / 0.6459 GB, free: 13.5 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.002823/0.6584, allocations: 1.064 MB / 0.6469 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.6585, allocations: 8.031 kB / 0.647 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.6587, allocations: 76.09 kB / 0.647 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008619/0.6596, allocations: 481.6 kB / 0.6475 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.6597, allocations: 100.3 kB / 0.6476 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.6598, allocations: 51.89 kB / 0.6476 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.6611, allocations: 0.648 MB / 0.6483 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.6612, allocations: 0 / 0.6483 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.916e-05/0.6612, allocations: 20 kB / 0.6483 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.869e-05/0.6613, allocations: 25.94 kB / 0.6483 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.6626, allocations: 0.6597 MB / 0.649 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004284/0.6669, allocations: 2.464 MB / 0.6514 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.6687, allocations: 0.6926 MB / 0.652 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007222/0.6695, allocations: 370.9 kB / 0.6524 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003016/0.6725, allocations: 2.628 MB / 0.655 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.6726, allocations: 43.06 kB / 0.655 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=63): time 3.426e-06/0.6726, allocations: 3.938 kB / 0.655 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65): time 0.004863/0.6774, allocations: 2.191 MB / 0.6571 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.6775, allocations: 59.97 kB / 0.6572 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005653/0.6781, allocations: 430 kB / 0.6576 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.027e-05/0.6782, allocations: 37.7 kB / 0.6576 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.6784, allocations: 236.8 kB / 0.6579 GB, free: 284 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.6786, allocations: 228.7 kB / 0.6581 GB, free: 52 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.6788, allocations: 106.3 kB / 0.6582 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002065/0.6791, allocations: 370.8 kB / 0.6585 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00055/0.6796, allocations: 265.1 kB / 0.6588 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006046/0.6802, allocations: 331.7 kB / 0.6591 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.6814, allocations: 0.6212 MB / 0.6597 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.6815, allocations: 5.125 kB / 0.6597 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001781/0.6832, allocations: 0.8502 MB / 0.6605 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.6833, allocations: 4 kB / 0.6606 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.6833, allocations: 4 kB / 0.6606 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004798/0.6838, allocations: 140.8 kB / 0.6607 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005122/0.6843, allocations: 103.9 kB / 0.6608 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/0.6875, allocations: 2.478 MB / 0.6632 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000442/0.688, allocations: 27.83 kB / 0.6632 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.351e-05/0.6881, allocations: 25.44 kB / 0.6633 GB, free: 10.55 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.0003406/0.6885, allocations: 199.6 kB / 0.6635 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.6886, allocations: 59.41 kB / 0.6635 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/0.6909, allocations: 1.059 MB / 0.6645 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.6909, allocations: 8 kB / 0.6645 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6909, allocations: 0 / 0.6645 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.6909, allocations: 7.984 kB / 0.6646 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003161/0.6941, allocations: 1.659 MB / 0.6662 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/0.6941, allocations: 8 kB / 0.6662 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005002/0.6946, allocations: 95.88 kB / 0.6663 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004304/0.6951, allocations: 142.2 kB / 0.6664 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.215e-05/0.6951, allocations: 24.91 kB / 0.6664 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003105/0.6983, allocations: 2.472 MB / 0.6688 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.6983, allocations: 3.938 kB / 0.6689 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/0.7007, allocations: 1.293 MB / 0.6701 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/0.7011, allocations: 192.3 kB / 0.6703 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.7012, allocations: 24.91 kB / 0.6703 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/0.7016, allocations: 23.92 kB / 0.6703 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.7017, allocations: 42.05 kB / 0.6704 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.607e-05/0.7018, allocations: 23.98 kB / 0.6704 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004624/0.7023, allocations: 330.9 kB / 0.6707 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7023, allocations: 0 / 0.6707 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00103/0.7033, allocations: 292 kB / 0.671 GB, free: 2.363 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.0008704/0.7042, allocations: 411.6 kB / 0.6714 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002141/0.7064, allocations: 0.9896 MB / 0.6724 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.7064, allocations: 0 / 0.6724 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.7075, allocations: 0.5986 MB / 0.6729 GB, free: 340 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.7086, allocations: 211.5 kB / 0.6731 GB, free: 156 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.7118, allocations: 1.662 MB / 0.6748 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006204/0.7124, allocations: 0.9073 MB / 0.6757 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.7127, allocations: 71.39 kB / 0.6757 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of SimCode: time 1.002e-06/0.7127, allocations: 0 / 0.6757 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of Templates: time 0.02444/0.7371, allocations: 14.58 MB / 0.69 GB, free: 15.1 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