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.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.001596/0.001596, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00186/0.00186, allocations: 214.7 kB / 22.24 MB, free: 5.262 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7431/0.7431, allocations: 94.61 MB / 407 MB, free: 8.902 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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_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_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.002575/0.002575, allocations: 94.55 kB / 0.5554 GB, free: 38.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1158, allocations: 73.05 MB / 0.6268 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05683/0.1726, allocations: 42.91 MB / 0.6687 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01459/0.1872, allocations: 11.37 MB / 0.6798 GB, free: 9.23 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000576/0.1878, allocations: 31.69 kB / 0.6798 GB, free: 9.199 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0007928/0.1886, allocations: 242.3 kB / 0.68 GB, free: 8.961 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.1901, allocations: 0.5436 MB / 0.6806 GB, free: 8.414 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.1922, allocations: 0.7549 MB / 0.6813 GB, free: 7.656 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.001237/0.1935, allocations: 0.9258 MB / 0.6822 GB, free: 6.727 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.1937, allocations: 106 kB / 0.6823 GB, free: 6.621 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02904/0.2228, allocations: 12.5 MB / 0.6945 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000598/0.2234, allocations: 374.4 kB / 0.6949 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.2235, allocations: 52 kB / 0.6949 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1116/0.3351, allocations: 52.45 MB / 0.7461 GB, free: 4.602 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0003433/0.3354, allocations: 159.4 kB / 0.7463 GB, free: 4.445 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0004428/0.3358, allocations: 266.6 kB / 0.7465 GB, free: 4.184 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.3381, allocations: 1.109 MB / 0.7476 GB, free: 3.07 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3381, allocations: 4 kB / 0.7476 GB, free: 3.066 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.542e-06/0.3381, allocations: 0 / 0.7476 GB, free: 3.066 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.3381, allocations: 0 / 0.7476 GB, free: 3.066 MB / 0.5763 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.002191/0.3403, allocations: 1.018 MB / 0.7486 GB, free: 2.016 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3404, allocations: 8.031 kB / 0.7486 GB, free: 2.008 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.3406, allocations: 88.45 kB / 0.7487 GB, free: 1.922 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008823/0.3415, allocations: 446.8 kB / 0.7491 GB, free: 1.457 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.3417, allocations: 151.7 kB / 0.7493 GB, free: 1.285 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.583e-05/0.3417, allocations: 43.95 kB / 0.7493 GB, free: 1.242 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.343, allocations: 0.7061 MB / 0.75 GB, free: 0.5078 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.343, allocations: 4 kB / 0.75 GB, free: 0.5039 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.437e-05/0.343, allocations: 20 kB / 0.75 GB, free: 496 kB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.836e-05/0.3431, allocations: 21 kB / 0.7501 GB, free: 472 kB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2659/0.609, allocations: 0.6715 MB / 0.7507 GB, free: 126.7 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003588/0.6126, allocations: 1.911 MB / 0.7526 GB, free: 126.2 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.6142, allocations: 0.6497 MB / 0.7532 GB, free: 126 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005869/0.6147, allocations: 335.6 kB / 0.7535 GB, free: 125.9 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001493/0.6162, allocations: 321.9 kB / 0.7538 GB, free: 125.9 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.6163, allocations: 38.78 kB / 0.7539 GB, free: 125.8 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=63): time 3.055e-06/0.6163, allocations: 1.406 kB / 0.7539 GB, free: 125.8 MB / 0.5763 GB Notification: Performance of matching and sorting (n=65): time 0.003992/0.6203, allocations: 1.989 MB / 0.7558 GB, free: 124.9 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.6203, allocations: 60.38 kB / 0.7559 GB, free: 124.9 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.6207, allocations: 364.3 kB / 0.7562 GB, free: 124.7 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.6207, allocations: 40.08 kB / 0.7563 GB, free: 124.7 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.6208, allocations: 252.6 kB / 0.7565 GB, free: 124.5 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.621, allocations: 227.7 kB / 0.7567 GB, free: 124.3 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.6211, allocations: 117.3 kB / 0.7568 GB, free: 124.3 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 7.479e-05/0.6212, allocations: 363.8 kB / 0.7572 GB, free: 123.9 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/0.6217, allocations: 261.9 kB / 0.7574 GB, free: 123.8 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004823/0.6221, allocations: 335.8 kB / 0.7578 GB, free: 123.7 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009469/0.6231, allocations: 0.6303 MB / 0.7584 GB, free: 123.4 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.6231, allocations: 1.312 kB / 0.7584 GB, free: 123.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001506/0.6246, allocations: 0.8545 MB / 0.7592 GB, free: 123 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.6246, allocations: 8.5 kB / 0.7592 GB, free: 123 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.6246, allocations: 5.656 kB / 0.7592 GB, free: 123 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000406/0.625, allocations: 131.8 kB / 0.7594 GB, free: 123 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.6255, allocations: 114.7 kB / 0.7595 GB, free: 123 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.6277, allocations: 2.318 MB / 0.7617 GB, free: 121.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.628, allocations: 20.25 kB / 0.7617 GB, free: 121.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/0.6281, allocations: 30.3 kB / 0.7618 GB, free: 121.2 MB / 0.5763 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.0002329/0.6283, allocations: 188.5 kB / 0.762 GB, free: 121 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.6285, allocations: 68.27 kB / 0.762 GB, free: 121 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001841/0.6303, allocations: 1.048 MB / 0.763 GB, free: 120.5 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.6303, allocations: 10.06 kB / 0.763 GB, free: 120.5 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.6303, allocations: 2.438 kB / 0.7631 GB, free: 120.5 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.6303, allocations: 10.55 kB / 0.7631 GB, free: 120.5 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00298/0.6333, allocations: 1.488 MB / 0.7645 GB, free: 119.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.6333, allocations: 3.375 kB / 0.7645 GB, free: 119.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005161/0.6338, allocations: 102.6 kB / 0.7646 GB, free: 119.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000426/0.6343, allocations: 136.5 kB / 0.7647 GB, free: 119.8 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-05/0.6343, allocations: 22.86 kB / 0.7648 GB, free: 119.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002685/0.637, allocations: 2.324 MB / 0.767 GB, free: 118 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.637, allocations: 0 / 0.767 GB, free: 118 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.6393, allocations: 1.308 MB / 0.7683 GB, free: 117.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002861/0.6395, allocations: 119.3 kB / 0.7684 GB, free: 117.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.187e-05/0.6396, allocations: 12.53 kB / 0.7684 GB, free: 117.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.64, allocations: 19.09 kB / 0.7685 GB, free: 117.3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.6401, allocations: 51.88 kB / 0.7685 GB, free: 117.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.682e-05/0.6401, allocations: 21.38 kB / 0.7685 GB, free: 117.3 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0003048/0.6404, allocations: 286.2 kB / 0.7688 GB, free: 117.1 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6404, allocations: 0 / 0.7688 GB, free: 117.1 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0008898/0.6413, allocations: 287 kB / 0.7691 GB, free: 117.1 MB / 0.5763 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.0005705/0.6419, allocations: 416.6 kB / 0.7695 GB, free: 116.9 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.001497/0.6434, allocations: 0.8763 MB / 0.7703 GB, free: 116.5 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.6434, allocations: 0 / 0.7703 GB, free: 116.5 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0008636/0.6442, allocations: 0.5806 MB / 0.7709 GB, free: 116.1 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007951/0.645, allocations: 156.5 kB / 0.771 GB, free: 116.1 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.6473, allocations: 1.441 MB / 0.7725 GB, free: 115.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.6476, allocations: 302.7 kB / 0.7727 GB, free: 115.1 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.000374/0.6479, allocations: 128.6 kB / 0.7729 GB, free: 115 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.6481, allocations: 63.08 kB / 0.7729 GB, free: 115 MB / 0.5763 GB Notification: Performance of SimCode: time 5.81e-07/0.6481, allocations: 0 / 0.7729 GB, free: 115 MB / 0.5763 GB Notification: Performance of Templates: time 0.01828/0.6664, allocations: 14.29 MB / 0.7869 GB, free: 101.6 MB / 0.5763 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.makefile [Timeout 660] (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) [Timeout 1200] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.332856975495815]