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.001496/0.001496, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001704/0.001704, allocations: 217.2 kB / 23.01 MB, free: 4.566 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.338/1.338, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.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.706/0.706, allocations: 100.3 MB / 413.5 MB, free: 3.684 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.002367/0.002367, allocations: 80.67 kB / 0.5645 GB, free: 35.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1151, allocations: 74.45 MB / 0.6372 GB, free: 7.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05479/0.1699, allocations: 48.03 MB / 0.6841 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01417/0.1841, allocations: 12.64 MB / 0.6964 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005033/0.1846, allocations: 31.69 kB / 0.6965 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007166/0.1853, allocations: 274.2 kB / 0.6967 GB, free: 10 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.1867, allocations: 0.5553 MB / 0.6973 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.1886, allocations: 0.7612 MB / 0.698 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001113/0.1898, allocations: 0.9298 MB / 0.6989 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.19, allocations: 97.97 kB / 0.699 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02687/0.2169, allocations: 12.54 MB / 0.7113 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006036/0.2175, allocations: 406.3 kB / 0.7117 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.672e-05/0.2175, allocations: 56 kB / 0.7117 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.355/0.5725, allocations: 52.57 MB / 0.763 GB, free: 53.03 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.5728, allocations: 153 kB / 0.7632 GB, free: 53.03 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.5731, allocations: 319.6 kB / 0.7635 GB, free: 53.03 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.575, allocations: 1.129 MB / 0.7646 GB, free: 52.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.575, allocations: 1.375 kB / 0.7646 GB, free: 52.95 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.303e-06/0.575, allocations: 0 / 0.7646 GB, free: 52.95 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.575, allocations: 0.8438 kB / 0.7646 GB, free: 52.95 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.001738/0.5767, allocations: 1.011 MB / 0.7656 GB, free: 52.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.5768, allocations: 8.312 kB / 0.7656 GB, free: 52.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.5769, allocations: 82.39 kB / 0.7657 GB, free: 52.36 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000615/0.5775, allocations: 442.5 kB / 0.7661 GB, free: 52.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.97e-05/0.5776, allocations: 142.6 kB / 0.7662 GB, free: 52.04 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.83e-05/0.5777, allocations: 54.48 kB / 0.7663 GB, free: 52.03 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009545/0.5786, allocations: 0.66 MB / 0.7669 GB, free: 51.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.5786, allocations: 0.5 kB / 0.7669 GB, free: 51.96 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/0.5787, allocations: 18.22 kB / 0.7669 GB, free: 51.96 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.25e-05/0.5787, allocations: 24.8 kB / 0.767 GB, free: 51.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.5799, allocations: 0.6784 MB / 0.7676 GB, free: 51.96 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003061/0.583, allocations: 2.401 MB / 0.77 GB, free: 51.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.5844, allocations: 0.6502 MB / 0.7706 GB, free: 50.99 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000583/0.5849, allocations: 337.3 kB / 0.7709 GB, free: 50.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001522/0.5865, allocations: 319.7 kB / 0.7712 GB, free: 50.97 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.5865, allocations: 50.59 kB / 0.7713 GB, free: 50.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 1.994e-06/0.5865, allocations: 1.312 kB / 0.7713 GB, free: 50.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.00356/0.5901, allocations: 1.975 MB / 0.7732 GB, free: 50.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.5901, allocations: 70.09 kB / 0.7733 GB, free: 50.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.5904, allocations: 422.7 kB / 0.7737 GB, free: 50.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.5905, allocations: 37.83 kB / 0.7737 GB, free: 50.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.5906, allocations: 240 kB / 0.774 GB, free: 50.28 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.5907, allocations: 239.6 kB / 0.7742 GB, free: 50.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.5908, allocations: 111.5 kB / 0.7743 GB, free: 50.11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.116e-05/0.5909, allocations: 367.1 kB / 0.7746 GB, free: 49.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/0.5913, allocations: 267.7 kB / 0.7749 GB, free: 49.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004676/0.5918, allocations: 331.5 kB / 0.7752 GB, free: 49.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009148/0.5927, allocations: 0.6298 MB / 0.7758 GB, free: 49.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5927, allocations: 1.531 kB / 0.7758 GB, free: 49.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001271/0.594, allocations: 0.8567 MB / 0.7767 GB, free: 49.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.594, allocations: 8.531 kB / 0.7767 GB, free: 49.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.594, allocations: 9.938 kB / 0.7767 GB, free: 49.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003666/0.5944, allocations: 132.1 kB / 0.7768 GB, free: 49.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004301/0.5948, allocations: 112.5 kB / 0.7769 GB, free: 49.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.5968, allocations: 2.367 MB / 0.7792 GB, free: 48.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.5971, allocations: 20.33 kB / 0.7792 GB, free: 48.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.5972, allocations: 27 kB / 0.7793 GB, free: 48.18 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.0001908/0.5973, allocations: 197.4 kB / 0.7795 GB, free: 48.06 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.5974, allocations: 60.34 kB / 0.7795 GB, free: 48.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.599, allocations: 1.049 MB / 0.7805 GB, free: 47.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.599, allocations: 5.5 kB / 0.7805 GB, free: 47.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5991, allocations: 2.75 kB / 0.7806 GB, free: 47.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.5991, allocations: 3.047 kB / 0.7806 GB, free: 47.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.6013, allocations: 1.643 MB / 0.7822 GB, free: 47.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.507e-06/0.6013, allocations: 3.219 kB / 0.7822 GB, free: 47.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/0.6017, allocations: 101 kB / 0.7823 GB, free: 47.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003159/0.602, allocations: 138.4 kB / 0.7824 GB, free: 47.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/0.602, allocations: 20.75 kB / 0.7824 GB, free: 47.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/0.6039, allocations: 2.369 MB / 0.7847 GB, free: 46.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6039, allocations: 0 / 0.7847 GB, free: 46.19 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.6056, allocations: 1.307 MB / 0.786 GB, free: 45.97 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.6058, allocations: 120.9 kB / 0.7861 GB, free: 45.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-05/0.6059, allocations: 22.27 kB / 0.7861 GB, free: 45.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.6062, allocations: 17.41 kB / 0.7862 GB, free: 45.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.105e-05/0.6062, allocations: 51.89 kB / 0.7862 GB, free: 45.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/0.6063, allocations: 22.64 kB / 0.7862 GB, free: 45.92 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002798/0.6066, allocations: 334.6 kB / 0.7865 GB, free: 45.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.6066, allocations: 0 / 0.7865 GB, free: 45.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008703/0.6074, allocations: 290.2 kB / 0.7868 GB, free: 45.8 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.0005219/0.608, allocations: 421.7 kB / 0.7872 GB, free: 45.64 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001299/0.6093, allocations: 0.8731 MB / 0.7881 GB, free: 45.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6093, allocations: 0 / 0.7881 GB, free: 45.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007451/0.61, allocations: 0.58 MB / 0.7886 GB, free: 45.24 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008556/0.6109, allocations: 198 kB / 0.7888 GB, free: 45.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.6129, allocations: 1.477 MB / 0.7903 GB, free: 44.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.6131, allocations: 0.8989 MB / 0.7911 GB, free: 43.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.6133, allocations: 73.28 kB / 0.7912 GB, free: 43.86 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.6133, allocations: 2.531 kB / 0.7912 GB, free: 43.86 MB / 0.5762 GB Notification: Performance of Templates: time 0.01357/0.6269, allocations: 14.71 MB / 0.8056 GB, free: 36.46 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: 8.917974209878594]