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.001009/0.001009, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008939/0.0008939, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8503/0.8503, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 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.5921/0.5921, allocations: 116 MB / 376 MB, free: 4.188 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.5545 GB, free: 12.85 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.959e-05, allocations: 10.22 kB / 0.5545 GB, free: 12.84 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.03001/0.03003, allocations: 44.36 MB / 0.5978 GB, free: 332 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.006684/0.03671, allocations: 10.08 MB / 0.6076 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003126/0.03703, allocations: 35.69 kB / 0.6077 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005247/0.03755, allocations: 250.1 kB / 0.6079 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0009907/0.03854, allocations: 0.6053 MB / 0.6085 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.03981, allocations: 0.7698 MB / 0.6093 GB, free: 4.543 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007636/0.04057, allocations: 1.03 MB / 0.6103 GB, free: 3.508 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.04077, allocations: 102 kB / 0.6104 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01745/0.05821, allocations: 12.74 MB / 0.6228 GB, free: 6.582 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003363/0.05855, allocations: 359 kB / 0.6232 GB, free: 6.23 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.991e-05/0.0586, allocations: 52 kB / 0.6232 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2999/0.3585, allocations: 52.66 MB / 0.6746 GB, free: 34.66 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002835/0.3587, allocations: 162.5 kB / 0.6748 GB, free: 34.66 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003979/0.3591, allocations: 232.5 kB / 0.675 GB, free: 34.66 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002148/0.3613, allocations: 1.196 MB / 0.6762 GB, free: 34.66 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3613, allocations: 1.375 kB / 0.6762 GB, free: 34.66 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3613, allocations: 0 / 0.6762 GB, free: 34.66 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.3613, allocations: 0 / 0.6762 GB, free: 34.66 MB / 0.5573 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.00158/0.3629, allocations: 1.024 MB / 0.6772 GB, free: 34.14 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3629, allocations: 10.06 kB / 0.6772 GB, free: 34.14 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.3631, allocations: 90.11 kB / 0.6773 GB, free: 34.1 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005571/0.3637, allocations: 466.3 kB / 0.6777 GB, free: 33.89 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-05/0.3638, allocations: 144.4 kB / 0.6779 GB, free: 33.77 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.07e-05/0.3638, allocations: 61.28 kB / 0.6779 GB, free: 33.77 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000742/0.3646, allocations: 0.7014 MB / 0.6786 GB, free: 33.63 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.3646, allocations: 1.375 kB / 0.6786 GB, free: 33.63 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.3646, allocations: 21 kB / 0.6786 GB, free: 33.62 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/0.3647, allocations: 26.23 kB / 0.6786 GB, free: 33.62 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007603/0.3654, allocations: 0.6737 MB / 0.6793 GB, free: 33.62 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.3674, allocations: 1.875 MB / 0.6811 GB, free: 33.1 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008581/0.3682, allocations: 0.5931 MB / 0.6817 GB, free: 33.07 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/0.3686, allocations: 307 kB / 0.682 GB, free: 33.05 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007566/0.3693, allocations: 342.1 kB / 0.6823 GB, free: 33.04 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.3693, allocations: 37.88 kB / 0.6824 GB, free: 33 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=63): time 2.776e-06/0.3694, allocations: 4 kB / 0.6824 GB, free: 32.99 MB / 0.5573 GB Notification: Performance of matching and sorting (n=65): time 0.002694/0.372, allocations: 1.842 MB / 0.6842 GB, free: 32.68 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.3721, allocations: 60.56 kB / 0.6842 GB, free: 32.62 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.3723, allocations: 375.9 kB / 0.6846 GB, free: 32.51 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.3723, allocations: 44.02 kB / 0.6846 GB, free: 32.47 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.3724, allocations: 248.4 kB / 0.6849 GB, free: 32.35 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.074e-05/0.3725, allocations: 231.1 kB / 0.6851 GB, free: 32.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.3727, allocations: 111.8 kB / 0.6852 GB, free: 32.18 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.74e-05/0.3727, allocations: 369.9 kB / 0.6855 GB, free: 31.86 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.373, allocations: 231.7 kB / 0.6858 GB, free: 31.86 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002884/0.3733, allocations: 308.8 kB / 0.6861 GB, free: 31.71 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005839/0.3739, allocations: 0.5605 MB / 0.6866 GB, free: 31.43 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3739, allocations: 0 / 0.6866 GB, free: 31.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009106/0.3748, allocations: 0.8045 MB / 0.6874 GB, free: 31.11 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3748, allocations: 5.688 kB / 0.6874 GB, free: 31.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.3748, allocations: 3.828 kB / 0.6874 GB, free: 31.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002559/0.3751, allocations: 135.2 kB / 0.6875 GB, free: 31.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.3753, allocations: 109.3 kB / 0.6876 GB, free: 31.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.3767, allocations: 2.321 MB / 0.6899 GB, free: 29.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.3769, allocations: 19.69 kB / 0.6899 GB, free: 29.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.3769, allocations: 32.34 kB / 0.69 GB, free: 29.26 MB / 0.5573 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.0001458/0.377, allocations: 193.5 kB / 0.6901 GB, free: 29.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.633e-05/0.3771, allocations: 76.12 kB / 0.6902 GB, free: 29.07 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.3782, allocations: 1.004 MB / 0.6912 GB, free: 28.62 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3782, allocations: 13.12 kB / 0.6912 GB, free: 28.62 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3782, allocations: 3.5 kB / 0.6912 GB, free: 28.62 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3782, allocations: 3.797 kB / 0.6912 GB, free: 28.62 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.3796, allocations: 1.401 MB / 0.6926 GB, free: 27.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.3796, allocations: 8.422 kB / 0.6926 GB, free: 27.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/0.3799, allocations: 96.66 kB / 0.6927 GB, free: 27.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002227/0.3801, allocations: 131.8 kB / 0.6928 GB, free: 27.91 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.3801, allocations: 23.12 kB / 0.6928 GB, free: 27.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.3815, allocations: 2.32 MB / 0.6951 GB, free: 26.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3815, allocations: 2.109 kB / 0.6951 GB, free: 26.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.3827, allocations: 1.209 MB / 0.6963 GB, free: 25.48 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.3828, allocations: 114.1 kB / 0.6964 GB, free: 25.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.3828, allocations: 17.44 kB / 0.6964 GB, free: 25.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.383, allocations: 20.83 kB / 0.6964 GB, free: 25.37 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.383, allocations: 53.41 kB / 0.6965 GB, free: 25.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.3831, allocations: 23.39 kB / 0.6965 GB, free: 25.33 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001634/0.3832, allocations: 298.9 kB / 0.6968 GB, free: 25.15 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.3832, allocations: 0 / 0.6968 GB, free: 25.15 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006114/0.3838, allocations: 298.2 kB / 0.6971 GB, free: 25.07 MB / 0.5573 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.000461/0.3843, allocations: 426.9 kB / 0.6975 GB, free: 24.86 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008704/0.3852, allocations: 0.8248 MB / 0.6983 GB, free: 24.38 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3852, allocations: 1.75 kB / 0.6983 GB, free: 24.38 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004686/0.3856, allocations: 0.541 MB / 0.6988 GB, free: 24.02 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006077/0.3862, allocations: 229.8 kB / 0.699 GB, free: 23.89 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.3878, allocations: 1.323 MB / 0.7003 GB, free: 23.05 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.3879, allocations: 307.3 kB / 0.7006 GB, free: 22.86 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.3881, allocations: 73.11 kB / 0.7007 GB, free: 22.84 MB / 0.5573 GB Notification: Performance of SimCode: time 3.81e-07/0.3881, allocations: 0 / 0.7007 GB, free: 22.84 MB / 0.5573 GB Notification: Performance of Templates: time 0.009683/0.3977, allocations: 14.89 MB / 0.7152 GB, free: 10.64 MB / 0.5573 GB " [Timeout remaining time 660] 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/jenkins/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: 5.940584254451096]