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.001386/0.001386, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001435/0.001435, allocations: 217.5 kB / 22.99 MB, free: 4.945 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.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.781/0.781, allocations: 100.9 MB / 414.1 MB, free: 2.852 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.002633/0.002633, allocations: 91.28 kB / 0.5653 GB, free: 35.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1375, allocations: 74.61 MB / 0.6382 GB, free: 6.109 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05837/0.1959, allocations: 42.92 MB / 0.6801 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01498/0.2109, allocations: 11.38 MB / 0.6912 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006457/0.2115, allocations: 31.75 kB / 0.6912 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008617/0.2124, allocations: 234.3 kB / 0.6914 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.2141, allocations: 0.5514 MB / 0.692 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.2163, allocations: 0.7354 MB / 0.6927 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.2177, allocations: 0.9414 MB / 0.6936 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.218, allocations: 89.98 kB / 0.6937 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02789/0.2459, allocations: 12.51 MB / 0.7059 GB, free: 436 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006032/0.2465, allocations: 378.3 kB / 0.7063 GB, free: 56 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.2466, allocations: 52 kB / 0.7063 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4236/0.6702, allocations: 52.45 MB / 0.7576 GB, free: 59.17 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002865/0.6705, allocations: 147.5 kB / 0.7577 GB, free: 59.17 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003787/0.6709, allocations: 269.2 kB / 0.758 GB, free: 59.17 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00205/0.6729, allocations: 1.115 MB / 0.759 GB, free: 59.11 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6729, allocations: 1.062 kB / 0.759 GB, free: 59.11 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6729, allocations: 2.781 kB / 0.759 GB, free: 59.11 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.6729, allocations: 0 / 0.759 GB, free: 59.11 MB / 0.5762 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.001949/0.6749, allocations: 1.01 MB / 0.76 GB, free: 58.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.6749, allocations: 10.69 kB / 0.76 GB, free: 58.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.6752, allocations: 88.31 kB / 0.7601 GB, free: 58.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007969/0.676, allocations: 447.1 kB / 0.7606 GB, free: 58.33 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.6761, allocations: 144.8 kB / 0.7607 GB, free: 58.21 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-05/0.6762, allocations: 48.17 kB / 0.7607 GB, free: 58.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.6773, allocations: 0.705 MB / 0.7614 GB, free: 58.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.6773, allocations: 2.688 kB / 0.7614 GB, free: 58.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.167e-05/0.6774, allocations: 21.56 kB / 0.7614 GB, free: 58.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/0.6774, allocations: 20.28 kB / 0.7615 GB, free: 58.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.6786, allocations: 0.6758 MB / 0.7621 GB, free: 58.07 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003245/0.6819, allocations: 1.91 MB / 0.764 GB, free: 57.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.6834, allocations: 0.6497 MB / 0.7646 GB, free: 57.53 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006064/0.684, allocations: 339.6 kB / 0.7649 GB, free: 57.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/0.6855, allocations: 317.4 kB / 0.7653 GB, free: 57.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.6855, allocations: 41.89 kB / 0.7653 GB, free: 57.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.314e-06/0.6855, allocations: 0 / 0.7653 GB, free: 57.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.004184/0.6897, allocations: 1.99 MB / 0.7672 GB, free: 57.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.6897, allocations: 62.19 kB / 0.7673 GB, free: 57.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004112/0.6901, allocations: 371.2 kB / 0.7676 GB, free: 56.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/0.6902, allocations: 38.86 kB / 0.7677 GB, free: 56.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.6903, allocations: 248.5 kB / 0.7679 GB, free: 56.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.6904, allocations: 236 kB / 0.7681 GB, free: 56.67 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.6906, allocations: 110.1 kB / 0.7683 GB, free: 56.65 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.401e-05/0.6907, allocations: 362.6 kB / 0.7686 GB, free: 56.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004585/0.6911, allocations: 265.9 kB / 0.7689 GB, free: 56.33 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005009/0.6916, allocations: 335.8 kB / 0.7692 GB, free: 56.28 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.6927, allocations: 0.6213 MB / 0.7698 GB, free: 56.22 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6927, allocations: 1.219 kB / 0.7698 GB, free: 56.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001877/0.6945, allocations: 0.8575 MB / 0.7706 GB, free: 56.12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.6945, allocations: 11.19 kB / 0.7706 GB, free: 56.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.6946, allocations: 3.938 kB / 0.7706 GB, free: 56.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004124/0.695, allocations: 132.2 kB / 0.7708 GB, free: 56.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/0.6955, allocations: 117 kB / 0.7709 GB, free: 56.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/0.6978, allocations: 2.316 MB / 0.7731 GB, free: 54.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/0.6982, allocations: 21.45 kB / 0.7732 GB, free: 54.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.758e-05/0.6983, allocations: 28.5 kB / 0.7732 GB, free: 54.76 MB / 0.5762 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.0002556/0.6985, allocations: 190.1 kB / 0.7734 GB, free: 54.64 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.6987, allocations: 64.38 kB / 0.7734 GB, free: 54.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.7005, allocations: 1.055 MB / 0.7745 GB, free: 54.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.7005, allocations: 10.81 kB / 0.7745 GB, free: 54.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.7005, allocations: 1.469 kB / 0.7745 GB, free: 54.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.7005, allocations: 5.219 kB / 0.7745 GB, free: 54.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/0.7029, allocations: 1.488 MB / 0.7759 GB, free: 54.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.7029, allocations: 6.688 kB / 0.7759 GB, free: 54.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004428/0.7034, allocations: 97.16 kB / 0.776 GB, free: 54.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003798/0.7038, allocations: 144.8 kB / 0.7762 GB, free: 54.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.595e-05/0.7038, allocations: 18.95 kB / 0.7762 GB, free: 54.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002026/0.7058, allocations: 2.316 MB / 0.7784 GB, free: 52.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.7058, allocations: 2.375 kB / 0.7784 GB, free: 52.83 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/0.7079, allocations: 1.307 MB / 0.7797 GB, free: 52.62 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002915/0.7082, allocations: 111.2 kB / 0.7798 GB, free: 52.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.863e-05/0.7082, allocations: 16.03 kB / 0.7798 GB, free: 52.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003165/0.7086, allocations: 22.88 kB / 0.7799 GB, free: 52.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/0.7086, allocations: 56.31 kB / 0.7799 GB, free: 52.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.7087, allocations: 23.45 kB / 0.7799 GB, free: 52.58 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003108/0.709, allocations: 282.6 kB / 0.7802 GB, free: 52.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.709, allocations: 1.469 kB / 0.7802 GB, free: 52.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00104/0.71, allocations: 293.3 kB / 0.7805 GB, free: 52.46 MB / 0.5762 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.0006448/0.7107, allocations: 410.3 kB / 0.7809 GB, free: 52.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.7122, allocations: 0.883 MB / 0.7817 GB, free: 52.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.7123, allocations: 0 / 0.7817 GB, free: 52.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000829/0.7131, allocations: 0.5779 MB / 0.7823 GB, free: 51.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007859/0.7139, allocations: 152.1 kB / 0.7824 GB, free: 51.89 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.7162, allocations: 1.471 MB / 0.7839 GB, free: 51.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.7164, allocations: 299.7 kB / 0.7842 GB, free: 51.13 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.7166, allocations: 68.06 kB / 0.7842 GB, free: 51.12 MB / 0.5762 GB Notification: Performance of SimCode: time 7.72e-07/0.7166, allocations: 0 / 0.7842 GB, free: 51.12 MB / 0.5762 GB Notification: Performance of Templates: time 0.01491/0.7315, allocations: 14.37 MB / 0.7983 GB, free: 46.37 MB / 0.5762 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 [Calling sys.exit(0), Time elapsed: 9.360867607872933]