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.001016/0.001016, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007569/0.007569, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6746/0.6746, allocations: 91.32 MB / 382.7 MB, free: 9.676 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003667, allocations: 13.62 kB / 462.7 MB, free: 23.56 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1186, allocations: 69.21 MB / 0.5195 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05231/0.171, allocations: 48.62 MB / 0.5669 GB, free: 8.332 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2604/0.4314, allocations: 12.46 MB / 0.5791 GB, free: 6.789 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005996/0.432, allocations: 20.09 kB / 0.5791 GB, free: 6.789 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007132/0.4328, allocations: 243.2 kB / 0.5794 GB, free: 6.789 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.4342, allocations: 0.49 MB / 0.5798 GB, free: 6.789 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002298/0.4365, allocations: 0.6541 MB / 0.5805 GB, free: 6.789 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.4378, allocations: 1.107 MB / 0.5815 GB, free: 6.789 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003002/0.4381, allocations: 152.4 kB / 0.5817 GB, free: 6.781 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02723/0.4653, allocations: 11.48 MB / 0.5929 GB, free: 4.312 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000564/0.4659, allocations: 372.5 kB / 0.5933 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.924e-05/0.466, allocations: 27.94 kB / 0.5933 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1083/0.5743, allocations: 52.8 MB / 0.6448 GB, free: 5.527 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003417/0.5746, allocations: 129 kB / 0.645 GB, free: 5.434 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005393/0.5752, allocations: 312.4 kB / 0.6453 GB, free: 5.223 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002264/0.5775, allocations: 1.04 MB / 0.6463 GB, free: 4.324 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5775, allocations: 0 / 0.6463 GB, free: 4.324 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.5775, allocations: 0 / 0.6463 GB, free: 4.324 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.5775, allocations: 2.844 kB / 0.6463 GB, free: 4.324 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.002099/0.5796, allocations: 0.955 MB / 0.6472 GB, free: 3.344 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.5797, allocations: 8.031 kB / 0.6472 GB, free: 3.336 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.5798, allocations: 72.17 kB / 0.6473 GB, free: 3.266 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006759/0.5805, allocations: 471.8 kB / 0.6477 GB, free: 2.789 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.5806, allocations: 100.1 kB / 0.6478 GB, free: 2.684 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.5807, allocations: 55.75 kB / 0.6479 GB, free: 2.633 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.5819, allocations: 0.6549 MB / 0.6485 GB, free: 1.973 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.5819, allocations: 0 / 0.6485 GB, free: 1.973 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.523e-05/0.582, allocations: 20 kB / 0.6486 GB, free: 1.953 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/0.582, allocations: 21 kB / 0.6486 GB, free: 1.934 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.5832, allocations: 0.6731 MB / 0.6492 GB, free: 1.27 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003741/0.587, allocations: 2.474 MB / 0.6516 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.5886, allocations: 0.6962 MB / 0.6523 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006575/0.5893, allocations: 374.4 kB / 0.6527 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00256/0.5918, allocations: 2.635 MB / 0.6553 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.5919, allocations: 37.97 kB / 0.6553 GB, free: 10.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=63): time 2.425e-06/0.5919, allocations: 0 / 0.6553 GB, free: 10.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=65): time 0.004306/0.5962, allocations: 2.218 MB / 0.6575 GB, free: 8.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.5963, allocations: 59.91 kB / 0.6575 GB, free: 8.016 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000454/0.5967, allocations: 414 kB / 0.6579 GB, free: 7.605 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.953e-05/0.5968, allocations: 40.7 kB / 0.658 GB, free: 7.562 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.597, allocations: 236.8 kB / 0.6582 GB, free: 7.328 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.5972, allocations: 222 kB / 0.6584 GB, free: 7.113 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.444e-05/0.5973, allocations: 53.69 kB / 0.6584 GB, free: 7.055 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.5974, allocations: 370.8 kB / 0.6588 GB, free: 6.684 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005383/0.598, allocations: 265.1 kB / 0.659 GB, free: 6.426 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005461/0.5985, allocations: 335.7 kB / 0.6594 GB, free: 6.086 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.5996, allocations: 0.6271 MB / 0.66 GB, free: 5.445 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.5996, allocations: 0 / 0.66 GB, free: 5.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001631/0.6013, allocations: 0.8528 MB / 0.6608 GB, free: 4.598 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6013, allocations: 8 kB / 0.6608 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.6013, allocations: 7.984 kB / 0.6608 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004318/0.6018, allocations: 128.2 kB / 0.6609 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005333/0.6023, allocations: 117.6 kB / 0.6611 GB, free: 4.348 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/0.605, allocations: 2.26 MB / 0.6633 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003782/0.6054, allocations: 23.98 kB / 0.6633 GB, free: 1.953 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.204e-05/0.6055, allocations: 31.97 kB / 0.6633 GB, free: 1.922 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.0002604/0.6057, allocations: 191.3 kB / 0.6635 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.6059, allocations: 59.25 kB / 0.6636 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.6079, allocations: 1.064 MB / 0.6646 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.6079, allocations: 11.19 kB / 0.6646 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.6079, allocations: 2.734 kB / 0.6646 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.6079, allocations: 7.984 kB / 0.6646 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/0.6108, allocations: 1.664 MB / 0.6662 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.6108, allocations: 4 kB / 0.6662 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/0.6113, allocations: 106.7 kB / 0.6663 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004009/0.6117, allocations: 136.8 kB / 0.6665 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-05/0.6117, allocations: 19.98 kB / 0.6665 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002566/0.6143, allocations: 2.257 MB / 0.6687 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.6143, allocations: 3.938 kB / 0.6687 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.6166, allocations: 1.299 MB / 0.67 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002774/0.6169, allocations: 204.3 kB / 0.6702 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.878e-05/0.617, allocations: 16 kB / 0.6702 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.6173, allocations: 27.89 kB / 0.6702 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.6175, allocations: 44.48 kB / 0.6703 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.932e-05/0.6175, allocations: 19.98 kB / 0.6703 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003759/0.6179, allocations: 329.7 kB / 0.6706 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6179, allocations: 0 / 0.6706 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008981/0.6188, allocations: 295.9 kB / 0.6709 GB, free: 10 MB / 0.4981 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.0006711/0.6195, allocations: 413.3 kB / 0.6713 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001662/0.6212, allocations: 0.906 MB / 0.6721 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6212, allocations: 0 / 0.6721 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.6222, allocations: 0.6043 MB / 0.6727 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.6233, allocations: 183.3 kB / 0.6729 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.626, allocations: 1.754 MB / 0.6746 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.6265, allocations: 0.8987 MB / 0.6755 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004655/0.627, allocations: 136.7 kB / 0.6756 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.6272, allocations: 67.39 kB / 0.6757 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of SimCode: time 6.82e-07/0.6272, allocations: 0 / 0.6757 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of Templates: time 0.02293/0.6502, allocations: 13.63 MB / 0.689 GB, free: 7.574 MB / 0.5137 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