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.001758/0.001758, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001895/0.001895, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.379/1.379, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6788/0.6788, allocations: 91.2 MB / 381.2 MB, free: 9.598 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 81.5 kB / 459.6 MB, free: 23.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1318, allocations: 67.69 MB / 0.5149 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05319/0.1851, allocations: 49.68 MB / 0.5635 GB, free: 8.816 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01421/0.1993, allocations: 12.65 MB / 0.5758 GB, free: 12.13 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008074/0.2001, allocations: 23.81 kB / 0.5758 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009634/0.2011, allocations: 238.7 kB / 0.5761 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.2029, allocations: 0.4934 MB / 0.5766 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002379/0.2053, allocations: 0.6499 MB / 0.5772 GB, free: 10.72 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.2067, allocations: 1.109 MB / 0.5783 GB, free: 9.609 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/0.207, allocations: 144.9 kB / 0.5784 GB, free: 9.469 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2619/0.4689, allocations: 11.49 MB / 0.5896 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000618/0.4696, allocations: 391.8 kB / 0.59 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.472e-05/0.4697, allocations: 35.19 kB / 0.59 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1142/0.5839, allocations: 52.82 MB / 0.6416 GB, free: 11.93 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004137/0.5844, allocations: 132.4 kB / 0.6417 GB, free: 11.9 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000494/0.5849, allocations: 302.1 kB / 0.642 GB, free: 11.88 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002115/0.587, allocations: 1.055 MB / 0.6431 GB, free: 11.6 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.587, allocations: 0 / 0.6431 GB, free: 11.6 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.587, allocations: 0 / 0.6431 GB, free: 11.6 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.587, allocations: 5 kB / 0.6431 GB, free: 11.6 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.002486/0.5895, allocations: 1.052 MB / 0.6441 GB, free: 10.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.5896, allocations: 10.97 kB / 0.6441 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.5897, allocations: 73.47 kB / 0.6442 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006646/0.5904, allocations: 472.1 kB / 0.6446 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.901e-05/0.5905, allocations: 96.98 kB / 0.6447 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.714e-05/0.5906, allocations: 56.09 kB / 0.6448 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.5917, allocations: 0.6457 MB / 0.6454 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.5917, allocations: 0 / 0.6454 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-05/0.5918, allocations: 18.86 kB / 0.6454 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.718e-05/0.5918, allocations: 21.95 kB / 0.6454 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.593, allocations: 0.6672 MB / 0.6461 GB, free: 9.852 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003818/0.5968, allocations: 2.461 MB / 0.6485 GB, free: 7.625 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.5984, allocations: 0.6962 MB / 0.6492 GB, free: 6.926 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006292/0.599, allocations: 370.3 kB / 0.6495 GB, free: 6.562 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002662/0.6017, allocations: 2.63 MB / 0.6521 GB, free: 3.363 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.6017, allocations: 42.22 kB / 0.6521 GB, free: 3.316 MB / 478.1 MB Notification: Performance of pre-optimization done (n=63): time 2.324e-06/0.6018, allocations: 0 / 0.6521 GB, free: 3.316 MB / 478.1 MB Notification: Performance of matching and sorting (n=65): time 0.004234/0.606, allocations: 2.193 MB / 0.6543 GB, free: 1.055 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.606, allocations: 63.91 kB / 0.6543 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004545/0.6065, allocations: 417.9 kB / 0.6547 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.991e-05/0.6066, allocations: 33.7 kB / 0.6548 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.6067, allocations: 232.9 kB / 0.655 GB, free: 300 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.6069, allocations: 226.5 kB / 0.6552 GB, free: 76 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.6071, allocations: 114.2 kB / 0.6553 GB, free: 15.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.6073, allocations: 370.8 kB / 0.6557 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/0.6078, allocations: 261.1 kB / 0.6559 GB, free: 15.33 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005581/0.6083, allocations: 331.7 kB / 0.6562 GB, free: 14.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.6094, allocations: 0.6198 MB / 0.6568 GB, free: 14.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6094, allocations: 0 / 0.6568 GB, free: 14.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001596/0.611, allocations: 0.8538 MB / 0.6577 GB, free: 13.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.6111, allocations: 8.156 kB / 0.6577 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.6111, allocations: 4 kB / 0.6577 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004348/0.6115, allocations: 132.8 kB / 0.6578 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005031/0.6121, allocations: 109.5 kB / 0.6579 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/0.6147, allocations: 2.237 MB / 0.6601 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/0.6151, allocations: 24.02 kB / 0.6601 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.078e-05/0.6152, allocations: 32.56 kB / 0.6602 GB, free: 10.86 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.0002897/0.6155, allocations: 191.3 kB / 0.6603 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.6156, allocations: 59.25 kB / 0.6604 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/0.6176, allocations: 1.057 MB / 0.6614 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.006e-06/0.6176, allocations: 8.703 kB / 0.6614 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.6177, allocations: 4 kB / 0.6614 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.6177, allocations: 3.984 kB / 0.6614 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002729/0.6204, allocations: 1.652 MB / 0.6631 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.6204, allocations: 10.98 kB / 0.6631 GB, free: 7.836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004773/0.6209, allocations: 98.88 kB / 0.6632 GB, free: 7.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004127/0.6213, allocations: 142.6 kB / 0.6633 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.856e-05/0.6214, allocations: 16.86 kB / 0.6633 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002461/0.6239, allocations: 2.245 MB / 0.6655 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.6239, allocations: 8.031 kB / 0.6655 GB, free: 5.219 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/0.6261, allocations: 1.299 MB / 0.6668 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.6263, allocations: 184.4 kB / 0.667 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.6264, allocations: 23.89 kB / 0.667 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.6268, allocations: 23.92 kB / 0.667 GB, free: 3.664 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/0.6269, allocations: 43.27 kB / 0.667 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.792e-05/0.627, allocations: 27.83 kB / 0.6671 GB, free: 3.602 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003616/0.6273, allocations: 334.8 kB / 0.6674 GB, free: 3.277 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6273, allocations: 0 / 0.6674 GB, free: 3.277 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009197/0.6283, allocations: 287.8 kB / 0.6677 GB, free: 2.996 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.0006508/0.6289, allocations: 403.5 kB / 0.6681 GB, free: 2.633 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.6306, allocations: 0.9034 MB / 0.6689 GB, free: 1.723 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6306, allocations: 4 kB / 0.6689 GB, free: 1.719 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009654/0.6316, allocations: 0.6008 MB / 0.6695 GB, free: 1.105 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.6326, allocations: 188.3 kB / 0.6697 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.6353, allocations: 1.624 MB / 0.6713 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.6357, allocations: 0.8957 MB / 0.6722 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004389/0.6362, allocations: 141.5 kB / 0.6723 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.6364, allocations: 67.39 kB / 0.6724 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.6364, allocations: 0 / 0.6724 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.02147/0.6579, allocations: 13.77 MB / 0.6858 GB, free: 0.6328 MB / 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