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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 76.61 kB / 19.76 MB, free: 2.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 163 kB / 23.01 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.389/1.389, allocations: 177.2 MB / 203.4 MB, free: 9.281 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7272/0.7272, allocations: 79.6 MB / 339.4 MB, free: 11.52 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002673/0.002673, allocations: 92.34 kB / 0.4923 GB, free: 26.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1145, allocations: 74.58 MB / 0.5652 GB, free: 6.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05731/0.1718, allocations: 42.84 MB / 0.607 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01491/0.1868, allocations: 11.34 MB / 0.6181 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005434/0.1873, allocations: 31.69 kB / 0.6181 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008167/0.1881, allocations: 250.3 kB / 0.6183 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.1897, allocations: 0.5436 MB / 0.6189 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.1917, allocations: 0.7424 MB / 0.6196 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001214/0.1929, allocations: 0.9336 MB / 0.6205 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.1932, allocations: 94.05 kB / 0.6206 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03127/0.2244, allocations: 12.68 MB / 0.633 GB, free: 452 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006732/0.2251, allocations: 374.4 kB / 0.6333 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.2253, allocations: 55.94 kB / 0.6334 GB, free: 20 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1288/0.3541, allocations: 52.65 MB / 0.6848 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002992/0.3544, allocations: 151.4 kB / 0.685 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000451/0.3548, allocations: 270.7 kB / 0.6852 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002395/0.3572, allocations: 1.121 MB / 0.6863 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3572, allocations: 4 kB / 0.6863 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3572, allocations: 0 / 0.6863 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.122e-05/0.3573, allocations: 0 / 0.6863 GB, free: 9.266 MB / 0.5919 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.002464/0.3597, allocations: 1.006 MB / 0.6873 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3598, allocations: 13.47 kB / 0.6873 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002688/0.36, allocations: 88.45 kB / 0.6874 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009219/0.361, allocations: 438.8 kB / 0.6878 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.3611, allocations: 147.8 kB / 0.6879 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.3612, allocations: 43.95 kB / 0.688 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.3625, allocations: 0.7216 MB / 0.6887 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.3626, allocations: 0 / 0.6887 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.826e-05/0.3626, allocations: 16 kB / 0.6887 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-05/0.3627, allocations: 25 kB / 0.6887 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.3639, allocations: 0.6753 MB / 0.6894 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003806/0.3677, allocations: 1.9 MB / 0.6913 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.3695, allocations: 0.6576 MB / 0.6919 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006864/0.3701, allocations: 338.5 kB / 0.6922 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00167/0.3718, allocations: 320.2 kB / 0.6925 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.3718, allocations: 43.06 kB / 0.6926 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=63): time 2.534e-06/0.3718, allocations: 0 / 0.6926 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of matching and sorting (n=65): time 0.004577/0.3764, allocations: 1.994 MB / 0.6945 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.3765, allocations: 60.06 kB / 0.6946 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004264/0.3769, allocations: 362 kB / 0.6949 GB, free: 232 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.674e-05/0.377, allocations: 45.64 kB / 0.695 GB, free: 180 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.2366/0.6136, allocations: 240.1 kB / 0.6952 GB, free: 132.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000234/0.6138, allocations: 233.9 kB / 0.6954 GB, free: 132.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.614, allocations: 109.8 kB / 0.6955 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.778e-05/0.6141, allocations: 362.8 kB / 0.6959 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005337/0.6146, allocations: 266 kB / 0.6961 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005485/0.6152, allocations: 334.5 kB / 0.6964 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.6162, allocations: 0.6203 MB / 0.697 GB, free: 132.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6162, allocations: 2.25 kB / 0.697 GB, free: 132.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001677/0.6179, allocations: 0.8573 MB / 0.6979 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.6179, allocations: 6.297 kB / 0.6979 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.6179, allocations: 8.703 kB / 0.6979 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004496/0.6184, allocations: 131.1 kB / 0.698 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/0.6189, allocations: 112.8 kB / 0.6981 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.6211, allocations: 2.322 MB / 0.7004 GB, free: 130 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.6214, allocations: 19.84 kB / 0.7004 GB, free: 130 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.6215, allocations: 27.23 kB / 0.7004 GB, free: 130 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.0002192/0.6217, allocations: 193.9 kB / 0.7006 GB, free: 129.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.6218, allocations: 71.55 kB / 0.7007 GB, free: 129.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/0.6236, allocations: 1.05 MB / 0.7017 GB, free: 129.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.6236, allocations: 5.281 kB / 0.7017 GB, free: 129.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.6236, allocations: 2.406 kB / 0.7017 GB, free: 129.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.6237, allocations: 3.281 kB / 0.7017 GB, free: 129.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.6259, allocations: 1.49 MB / 0.7032 GB, free: 128.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.6259, allocations: 7.297 kB / 0.7032 GB, free: 128.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004581/0.6264, allocations: 102.5 kB / 0.7033 GB, free: 128.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003707/0.6268, allocations: 134.9 kB / 0.7034 GB, free: 128.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.853e-05/0.6268, allocations: 22.84 kB / 0.7034 GB, free: 128.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.6288, allocations: 2.327 MB / 0.7057 GB, free: 126.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6288, allocations: 0 / 0.7057 GB, free: 126.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.6307, allocations: 1.305 MB / 0.707 GB, free: 126.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/0.6309, allocations: 116.1 kB / 0.7071 GB, free: 126.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.603e-05/0.631, allocations: 15.7 kB / 0.7071 GB, free: 126.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.6313, allocations: 20.77 kB / 0.7071 GB, free: 126.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.853e-05/0.6314, allocations: 47.56 kB / 0.7072 GB, free: 126.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/0.6315, allocations: 26.77 kB / 0.7072 GB, free: 126.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002669/0.6317, allocations: 283.1 kB / 0.7075 GB, free: 125.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6317, allocations: 1.219 kB / 0.7075 GB, free: 125.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008452/0.6326, allocations: 297.7 kB / 0.7078 GB, free: 125.9 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.0006156/0.6332, allocations: 404.7 kB / 0.7081 GB, free: 125.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001608/0.6348, allocations: 0.8781 MB / 0.709 GB, free: 125.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6348, allocations: 1.062 kB / 0.709 GB, free: 125.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009201/0.6357, allocations: 0.5836 MB / 0.7096 GB, free: 125 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007993/0.6365, allocations: 156.9 kB / 0.7097 GB, free: 125 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.6391, allocations: 1.428 MB / 0.7111 GB, free: 124.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.6394, allocations: 304.8 kB / 0.7114 GB, free: 124.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004073/0.6398, allocations: 135.5 kB / 0.7115 GB, free: 124.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.64, allocations: 60.61 kB / 0.7116 GB, free: 124.2 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.64, allocations: 0 / 0.7116 GB, free: 124.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.01751/0.6575, allocations: 13.53 MB / 0.7248 GB, free: 115.2 MB / 0.5919 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 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -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 [Calling sys.exit(0), Time elapsed: 113.36755313165486]