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.001296/0.001296, allocations: 112.6 kB / 16.37 MB, free: 6 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.001373/0.001373, allocations: 196 kB / 17.31 MB, free: 5.613 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6535/0.6535, allocations: 89.5 MB / 380.7 MB, free: 8.719 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 79.89 kB / 459.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1111, allocations: 67.31 MB / 0.5146 GB, free: 7.227 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.2318/0.3429, allocations: 47.24 MB / 0.5608 GB, free: 22.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.353, allocations: 12.41 MB / 0.5729 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004312/0.3535, allocations: 10.38 kB / 0.5729 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008561/0.3543, allocations: 269.3 kB / 0.5731 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001528/0.356, allocations: 0.5129 MB / 0.5736 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.3582, allocations: 0.7455 MB / 0.5744 GB, free: 13.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.3592, allocations: 0.8513 MB / 0.5752 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002733/0.3595, allocations: 172.9 kB / 0.5754 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03125/0.3908, allocations: 12.53 MB / 0.5876 GB, free: 6.977 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004928/0.3913, allocations: 376.8 kB / 0.588 GB, free: 6.746 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.718e-05/0.3914, allocations: 52.12 kB / 0.588 GB, free: 6.746 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.133/0.5244, allocations: 53 MB / 0.6398 GB, free: 6.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002615/0.5247, allocations: 147.4 kB / 0.6399 GB, free: 6.605 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004846/0.5252, allocations: 298.6 kB / 0.6402 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.5274, allocations: 1.052 MB / 0.6412 GB, free: 5.258 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5275, allocations: 0 / 0.6412 GB, free: 5.258 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.5275, allocations: 0 / 0.6412 GB, free: 5.258 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.5275, allocations: 0 / 0.6412 GB, free: 5.258 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.5296, allocations: 0.9875 MB / 0.6422 GB, free: 4.223 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.5296, allocations: 12.03 kB / 0.6422 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.5298, allocations: 60.19 kB / 0.6423 GB, free: 4.152 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005275/0.5303, allocations: 391.7 kB / 0.6426 GB, free: 3.727 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-05/0.5304, allocations: 88.97 kB / 0.6427 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.5305, allocations: 48.36 kB / 0.6428 GB, free: 3.582 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.5316, allocations: 0.6614 MB / 0.6434 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.5317, allocations: 3.938 kB / 0.6434 GB, free: 2.887 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.594e-05/0.5317, allocations: 20 kB / 0.6434 GB, free: 2.867 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/0.5318, allocations: 21 kB / 0.6434 GB, free: 2.848 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.5329, allocations: 0.6675 MB / 0.6441 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00355/0.5365, allocations: 2.428 MB / 0.6465 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.5381, allocations: 0.6911 MB / 0.6471 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006213/0.5387, allocations: 371.4 kB / 0.6475 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002481/0.5412, allocations: 2.631 MB / 0.6501 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.5412, allocations: 43.06 kB / 0.6501 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=63): time 2.224e-06/0.5412, allocations: 0 / 0.6501 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65): time 0.004158/0.5454, allocations: 2.168 MB / 0.6522 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.5455, allocations: 111.4 kB / 0.6523 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.5458, allocations: 349.6 kB / 0.6527 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/0.5459, allocations: 45.62 kB / 0.6527 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.546, allocations: 204.9 kB / 0.6529 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.5462, allocations: 224.7 kB / 0.6531 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.5464, allocations: 114.2 kB / 0.6532 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5465, allocations: 354.8 kB / 0.6536 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004813/0.547, allocations: 265.1 kB / 0.6538 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005544/0.5476, allocations: 345.5 kB / 0.6542 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.5486, allocations: 0.6212 MB / 0.6548 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.5487, allocations: 4.562 kB / 0.6548 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001572/0.5502, allocations: 0.8425 MB / 0.6556 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.5503, allocations: 8 kB / 0.6556 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.5503, allocations: 4.547 kB / 0.6556 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004162/0.5507, allocations: 135.7 kB / 0.6557 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.5512, allocations: 107.9 kB / 0.6558 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002722/0.554, allocations: 2.469 MB / 0.6582 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.5543, allocations: 20.02 kB / 0.6583 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.116e-05/0.5544, allocations: 28.48 kB / 0.6583 GB, free: 2.59 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.0002464/0.5547, allocations: 193.6 kB / 0.6585 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.5548, allocations: 51.34 kB / 0.6585 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001915/0.5567, allocations: 1.042 MB / 0.6595 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.5567, allocations: 11.94 kB / 0.6595 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5567, allocations: 0 / 0.6595 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.5567, allocations: 5.297 kB / 0.6596 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002629/0.5594, allocations: 1.632 MB / 0.6611 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.5594, allocations: 4 kB / 0.6612 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/0.5599, allocations: 107.8 kB / 0.6613 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000395/0.5603, allocations: 143.7 kB / 0.6614 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/0.5603, allocations: 15.98 kB / 0.6614 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002509/0.5629, allocations: 2.464 MB / 0.6638 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.5629, allocations: 0.625 kB / 0.6638 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002104/0.565, allocations: 1.302 MB / 0.6651 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/0.5653, allocations: 184.5 kB / 0.6653 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.182e-05/0.5653, allocations: 15.94 kB / 0.6653 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.5657, allocations: 19.98 kB / 0.6653 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/0.5658, allocations: 44.48 kB / 0.6653 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.5658, allocations: 28.61 kB / 0.6654 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002824/0.5661, allocations: 275.2 kB / 0.6656 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5661, allocations: 0 / 0.6656 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000866/0.567, allocations: 287.8 kB / 0.6659 GB, free: 10.53 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.0005944/0.5676, allocations: 407.2 kB / 0.6663 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001617/0.5692, allocations: 0.9114 MB / 0.6672 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5693, allocations: 0 / 0.6672 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.5703, allocations: 0.6027 MB / 0.6678 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009116/0.5712, allocations: 195.7 kB / 0.668 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.5735, allocations: 1.328 MB / 0.6693 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.574, allocations: 0.872 MB / 0.6701 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003928/0.5744, allocations: 130.9 kB / 0.6702 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.5745, allocations: 55.41 kB / 0.6703 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.5745, allocations: 0 / 0.6703 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of Templates: time 0.02168/0.5962, allocations: 14.12 MB / 0.6841 GB, free: 8.141 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 cvode -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