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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] 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: 225.6 MB / 249.9 MB, free: 3.227 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5749/0.5749, allocations: 94.58 MB / 399.6 MB, free: 15.84 MB / 334.1 MB [Timeout remaining time 89] 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=1000,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=1000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 83.86 kB / 0.5452 GB, free: 12.26 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.339, allocations: 71.84 MB / 0.6153 GB, free: 4.109 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05111/0.3901, allocations: 47.62 MB / 0.6618 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01381/0.4039, allocations: 12.52 MB / 0.6741 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005186/0.4044, allocations: 20.5 kB / 0.6741 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007449/0.4052, allocations: 275.2 kB / 0.6744 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.4065, allocations: 0.5484 MB / 0.6749 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.4085, allocations: 0.754 MB / 0.6756 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000987/0.4094, allocations: 0.9257 MB / 0.6765 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.4097, allocations: 110.5 kB / 0.6766 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03123/0.4409, allocations: 12.58 MB / 0.6889 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005886/0.4415, allocations: 410.3 kB / 0.6893 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.925e-05/0.4416, allocations: 56 kB / 0.6894 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1222/0.5638, allocations: 53.12 MB / 0.7412 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002818/0.5641, allocations: 151.4 kB / 0.7414 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004508/0.5645, allocations: 322.3 kB / 0.7417 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002214/0.5667, allocations: 1.129 MB / 0.7428 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5667, allocations: 0 / 0.7428 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5667, allocations: 0 / 0.7428 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.5667, allocations: 0 / 0.7428 GB, free: 1.688 MB / 0.5606 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.002024/0.5688, allocations: 1.086 MB / 0.7439 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.5688, allocations: 12.03 kB / 0.7439 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.5689, allocations: 72.52 kB / 0.7439 GB, free: 476 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000764/0.5697, allocations: 0.5059 MB / 0.7444 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.5698, allocations: 104.2 kB / 0.7445 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.753e-05/0.5699, allocations: 48 kB / 0.7446 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.571, allocations: 0.6403 MB / 0.7452 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.571, allocations: 0 / 0.7452 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.095e-05/0.571, allocations: 20 kB / 0.7452 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.5711, allocations: 21 kB / 0.7452 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.5722, allocations: 0.6675 MB / 0.7459 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00359/0.5758, allocations: 2.456 MB / 0.7483 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.5773, allocations: 0.6615 MB / 0.7489 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006127/0.578, allocations: 334.4 kB / 0.7493 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002626/0.5806, allocations: 2.631 MB / 0.7518 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.5806, allocations: 50.98 kB / 0.7519 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 1.893e-06/0.5806, allocations: 0 / 0.7519 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.004146/0.5848, allocations: 2.191 MB / 0.754 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.5848, allocations: 59.91 kB / 0.7541 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004616/0.5853, allocations: 434 kB / 0.7545 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/0.5853, allocations: 37.7 kB / 0.7545 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.5855, allocations: 245 kB / 0.7548 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.5857, allocations: 234 kB / 0.755 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.5859, allocations: 110.2 kB / 0.7551 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.586, allocations: 366.8 kB / 0.7554 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004886/0.5865, allocations: 261.1 kB / 0.7557 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/0.5871, allocations: 331.7 kB / 0.756 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.5882, allocations: 0.6173 MB / 0.7566 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5882, allocations: 0 / 0.7566 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001576/0.5898, allocations: 0.8504 MB / 0.7574 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.5898, allocations: 8.156 kB / 0.7574 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.5898, allocations: 4 kB / 0.7574 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004137/0.5902, allocations: 128.8 kB / 0.7576 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000492/0.5907, allocations: 119.8 kB / 0.7577 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002802/0.5935, allocations: 2.459 MB / 0.7601 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.5938, allocations: 27.98 kB / 0.7601 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.804e-05/0.5939, allocations: 27.98 kB / 0.7601 GB, free: 14.75 MB / 0.5919 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.0002425/0.5941, allocations: 197.6 kB / 0.7603 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.5942, allocations: 63.58 kB / 0.7604 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.5962, allocations: 1.044 MB / 0.7614 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.5962, allocations: 4 kB / 0.7614 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.5962, allocations: 7.984 kB / 0.7614 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.5962, allocations: 0 / 0.7614 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/0.5989, allocations: 1.667 MB / 0.763 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-05/0.5989, allocations: 8 kB / 0.7631 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004562/0.5994, allocations: 95.81 kB / 0.7631 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003876/0.5998, allocations: 148.4 kB / 0.7633 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/0.5998, allocations: 23.97 kB / 0.7633 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002693/0.6025, allocations: 2.471 MB / 0.7657 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6025, allocations: 0 / 0.7657 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/0.6047, allocations: 1.286 MB / 0.767 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/0.6049, allocations: 200.6 kB / 0.7672 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.197e-05/0.605, allocations: 15.98 kB / 0.7672 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.6053, allocations: 19.98 kB / 0.7672 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.216e-05/0.6054, allocations: 48.44 kB / 0.7673 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.796e-05/0.6055, allocations: 27.92 kB / 0.7673 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003553/0.6058, allocations: 326.9 kB / 0.7676 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.6058, allocations: 0 / 0.7676 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008428/0.6067, allocations: 299.3 kB / 0.7679 GB, free: 6.543 MB / 0.5919 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.0006385/0.6073, allocations: 410.6 kB / 0.7683 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001628/0.6089, allocations: 0.8723 MB / 0.7691 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6089, allocations: 0 / 0.7691 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000967/0.6099, allocations: 0.5712 MB / 0.7697 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009303/0.6108, allocations: 213.5 kB / 0.7699 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/0.6133, allocations: 1.48 MB / 0.7713 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005057/0.6139, allocations: 0.8996 MB / 0.7722 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.614, allocations: 71.39 kB / 0.7723 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of SimCode: time 6.61e-07/0.614, allocations: 4 kB / 0.7723 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of Templates: time 0.01872/0.6328, allocations: 14.69 MB / 0.7866 GB, free: 3.23 MB / 0.6075 GB [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.makefile [Timeout 660] (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) [Timeout 1200] 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) [Timeout 660] [Timeout remaining time 660] Reference file matches