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.001557/0.001557, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001467/0.001467, allocations: 195.2 kB / 16.14 MB, free: 6.691 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7189/0.7189, allocations: 91.2 MB / 381.2 MB, free: 9.582 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 81.14 kB / 459.6 MB, free: 23.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1276, allocations: 67.7 MB / 0.515 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05583/0.1835, allocations: 49.67 MB / 0.5635 GB, free: 8.805 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.197, allocations: 12.65 MB / 0.5758 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006393/0.1977, allocations: 19.88 kB / 0.5758 GB, free: 12.1 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008424/0.1985, allocations: 242.6 kB / 0.5761 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.2006, allocations: 0.4973 MB / 0.5766 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002754/0.2034, allocations: 0.6422 MB / 0.5772 GB, free: 10.72 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.205, allocations: 1.113 MB / 0.5783 GB, free: 9.602 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003439/0.2053, allocations: 152.9 kB / 0.5784 GB, free: 9.453 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3038/0.5092, allocations: 11.48 MB / 0.5896 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006017/0.5098, allocations: 387.6 kB / 0.59 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.247e-05/0.5099, allocations: 35.53 kB / 0.59 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1139/0.6238, allocations: 52.81 MB / 0.6416 GB, free: 11.26 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003934/0.6242, allocations: 131.7 kB / 0.6417 GB, free: 11.23 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005887/0.6248, allocations: 302.4 kB / 0.642 GB, free: 11.21 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002464/0.6273, allocations: 1.066 MB / 0.6431 GB, free: 10.92 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.6273, allocations: 0 / 0.6431 GB, free: 10.92 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6274, allocations: 4 kB / 0.6431 GB, free: 10.92 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.535e-05/0.6274, allocations: 3.656 kB / 0.6431 GB, free: 10.92 MB / 478.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.002497/0.6299, allocations: 1.05 MB / 0.6441 GB, free: 10.24 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.63, allocations: 10.22 kB / 0.6441 GB, free: 10.24 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.6301, allocations: 72.86 kB / 0.6442 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000615/0.6308, allocations: 477 kB / 0.6446 GB, free: 9.875 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-05/0.6309, allocations: 91.14 kB / 0.6447 GB, free: 9.809 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.898e-05/0.631, allocations: 51.34 kB / 0.6448 GB, free: 9.801 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.6321, allocations: 0.6538 MB / 0.6454 GB, free: 9.602 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.6321, allocations: 0 / 0.6454 GB, free: 9.602 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.805e-05/0.6322, allocations: 20.03 kB / 0.6454 GB, free: 9.602 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.408e-05/0.6322, allocations: 16.75 kB / 0.6454 GB, free: 9.602 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.6333, allocations: 0.662 MB / 0.6461 GB, free: 9.492 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003558/0.6369, allocations: 2.466 MB / 0.6485 GB, free: 7.391 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.6386, allocations: 0.7019 MB / 0.6492 GB, free: 6.688 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006311/0.6392, allocations: 366.4 kB / 0.6495 GB, free: 6.328 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002674/0.6419, allocations: 2.628 MB / 0.6521 GB, free: 3.133 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.642, allocations: 43 kB / 0.6521 GB, free: 3.086 MB / 478.1 MB Notification: Performance of pre-optimization done (n=63): time 3.456e-06/0.642, allocations: 4 kB / 0.6521 GB, free: 3.082 MB / 478.1 MB Notification: Performance of matching and sorting (n=65): time 0.004829/0.6468, allocations: 2.186 MB / 0.6543 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.6469, allocations: 63.91 kB / 0.6543 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005656/0.6474, allocations: 418 kB / 0.6547 GB, free: 336 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/0.6475, allocations: 33.7 kB / 0.6548 GB, free: 296 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.6477, allocations: 236.9 kB / 0.655 GB, free: 56 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.6479, allocations: 225.5 kB / 0.6552 GB, free: 15.83 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.6482, allocations: 110.2 kB / 0.6553 GB, free: 15.72 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6483, allocations: 366.8 kB / 0.6557 GB, free: 15.35 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005283/0.6489, allocations: 264 kB / 0.6559 GB, free: 15.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005932/0.6495, allocations: 331.7 kB / 0.6562 GB, free: 14.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.6506, allocations: 0.6172 MB / 0.6568 GB, free: 14.13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.6506, allocations: 0 / 0.6568 GB, free: 14.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001739/0.6524, allocations: 0.8518 MB / 0.6577 GB, free: 13.28 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.6524, allocations: 4 kB / 0.6577 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.6524, allocations: 4 kB / 0.6577 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004628/0.6529, allocations: 136.8 kB / 0.6578 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/0.6535, allocations: 110.5 kB / 0.6579 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002744/0.6562, allocations: 2.246 MB / 0.6601 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004672/0.6567, allocations: 24.02 kB / 0.6601 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.107e-05/0.6568, allocations: 27.83 kB / 0.6601 GB, free: 10.62 MB / 494.1 MB 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.0003343/0.6571, allocations: 199.7 kB / 0.6603 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.6573, allocations: 59.25 kB / 0.6604 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.6593, allocations: 1.047 MB / 0.6614 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/0.6594, allocations: 13.08 kB / 0.6614 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.6594, allocations: 7.984 kB / 0.6614 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.6594, allocations: 0 / 0.6614 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/0.6624, allocations: 1.659 MB / 0.6631 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.6624, allocations: 4.875 kB / 0.6631 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004972/0.6629, allocations: 98.88 kB / 0.6632 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004252/0.6634, allocations: 145.5 kB / 0.6633 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.864e-05/0.6634, allocations: 23.81 kB / 0.6633 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002617/0.6661, allocations: 2.246 MB / 0.6655 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.6661, allocations: 7.969 kB / 0.6655 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.6684, allocations: 1.29 MB / 0.6668 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002961/0.6687, allocations: 188.4 kB / 0.667 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.6689, allocations: 12 kB / 0.667 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.6693, allocations: 31.83 kB / 0.667 GB, free: 3.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.6694, allocations: 45.11 kB / 0.667 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-05/0.6695, allocations: 27.97 kB / 0.6671 GB, free: 3.359 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004283/0.6699, allocations: 329.8 kB / 0.6674 GB, free: 3.043 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6699, allocations: 0 / 0.6674 GB, free: 3.043 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001023/0.6709, allocations: 287.8 kB / 0.6677 GB, free: 2.762 MB / 494.1 MB 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.0008932/0.6718, allocations: 410.1 kB / 0.6681 GB, free: 2.391 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001878/0.6737, allocations: 0.8964 MB / 0.6689 GB, free: 1.488 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.6737, allocations: 8.062 kB / 0.6689 GB, free: 1.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.6748, allocations: 0.6001 MB / 0.6695 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.6759, allocations: 191.2 kB / 0.6697 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.6786, allocations: 1.627 MB / 0.6713 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.6791, allocations: 0.8986 MB / 0.6722 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000448/0.6796, allocations: 135.5 kB / 0.6723 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.6798, allocations: 63.39 kB / 0.6724 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of SimCode: time 1.192e-06/0.6798, allocations: 4 kB / 0.6724 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.02261/0.7024, allocations: 13.77 MB / 0.6858 GB, free: 408 kB / 0.4981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches