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.002306/0.002306, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002912/0.002912, allocations: 173.2 kB / 22.76 MB, free: 1.656 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 1.639/1.639, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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 1.086/1.086, allocations: 118.6 MB / 378.2 MB, free: 1.461 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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.693e-06/1.693e-06, allocations: 0 / 482.9 MB, free: 8.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.092e-05, allocations: 6.031 kB / 482.9 MB, free: 8.301 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.06723/0.06726, allocations: 49.72 MB / 0.5201 GB, free: 15.21 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01792/0.08517, allocations: 11.55 MB / 0.5314 GB, free: 3.625 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00093/0.0861, allocations: 31.69 kB / 0.5314 GB, free: 3.594 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009818/0.08709, allocations: 262 kB / 0.5317 GB, free: 3.336 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.08905, allocations: 0.6091 MB / 0.5323 GB, free: 2.723 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002525/0.09158, allocations: 0.7776 MB / 0.533 GB, free: 1.941 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002096/0.09368, allocations: 1.042 MB / 0.534 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002915/0.09397, allocations: 102 kB / 0.5341 GB, free: 0.793 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03804/0.132, allocations: 12.74 MB / 0.5466 GB, free: 3.953 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007336/0.1327, allocations: 359 kB / 0.5469 GB, free: 3.602 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.1329, allocations: 52 kB / 0.547 GB, free: 3.551 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1504/0.2833, allocations: 52.66 MB / 0.5984 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003496/0.2836, allocations: 163.3 kB / 0.5985 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000504/0.2841, allocations: 243.4 kB / 0.5988 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002672/0.2868, allocations: 1.207 MB / 0.6 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2868, allocations: 4 kB / 0.6 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2868, allocations: 0 / 0.6 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.2868, allocations: 0 / 0.6 GB, free: 12.71 MB / 0.5261 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.002437/0.2893, allocations: 1.18 MB / 0.6011 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.2893, allocations: 12.03 kB / 0.6011 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003638/0.2897, allocations: 136.4 kB / 0.6013 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000992/0.2907, allocations: 0.498 MB / 0.6017 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.2908, allocations: 136.4 kB / 0.6019 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.2909, allocations: 52.38 kB / 0.6019 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.2921, allocations: 0.6158 MB / 0.6025 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.2921, allocations: 0 / 0.6025 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.893e-05/0.2922, allocations: 23.94 kB / 0.6025 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-05/0.2922, allocations: 21 kB / 0.6026 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.2933, allocations: 467.7 kB / 0.603 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004379/0.2977, allocations: 2.073 MB / 0.605 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.2994, allocations: 0.5723 MB / 0.6056 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006338/0.3, allocations: 274.1 kB / 0.6059 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001826/0.3018, allocations: 356.2 kB / 0.6062 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/0.3019, allocations: 45.83 kB / 0.6062 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=63): time 2.344e-06/0.3019, allocations: 0 / 0.6062 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65): time 0.004518/0.3064, allocations: 1.739 MB / 0.6079 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.3065, allocations: 64.05 kB / 0.608 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006134/0.3071, allocations: 0.4908 MB / 0.6085 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.95e-05/0.3071, allocations: 41.7 kB / 0.6085 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.3074, allocations: 320.3 kB / 0.6088 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000258/0.3077, allocations: 245.9 kB / 0.6091 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.3079, allocations: 128 kB / 0.6092 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003693/0.3083, allocations: 0.5703 MB / 0.6097 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/0.3088, allocations: 197.2 kB / 0.6099 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/0.3093, allocations: 305.2 kB / 0.6102 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.3108, allocations: 0.5339 MB / 0.6107 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3108, allocations: 4 kB / 0.6107 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001843/0.3126, allocations: 0.7697 MB / 0.6115 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.3126, allocations: 8 kB / 0.6115 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.3126, allocations: 4 kB / 0.6115 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005165/0.3132, allocations: 134.9 kB / 0.6116 GB, free: 404 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005345/0.3137, allocations: 111.8 kB / 0.6117 GB, free: 292 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00371/0.3174, allocations: 2.891 MB / 0.6146 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.3178, allocations: 24.02 kB / 0.6146 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.526e-05/0.3179, allocations: 27.98 kB / 0.6146 GB, free: 13.23 MB / 0.5417 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.0003558/0.3182, allocations: 224.5 kB / 0.6148 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/0.3185, allocations: 107.4 kB / 0.6149 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.3208, allocations: 0.9923 MB / 0.6159 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.3208, allocations: 15.92 kB / 0.6159 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3208, allocations: 4 kB / 0.6159 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.3208, allocations: 0 / 0.6159 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003126/0.3239, allocations: 1.458 MB / 0.6173 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/0.3239, allocations: 7.984 kB / 0.6174 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004975/0.3244, allocations: 95.88 kB / 0.6174 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006696/0.3251, allocations: 155.2 kB / 0.6176 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/0.3252, allocations: 23.98 kB / 0.6176 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003547/0.3287, allocations: 2.869 MB / 0.6204 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3287, allocations: 7.938 kB / 0.6204 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.3312, allocations: 1.174 MB / 0.6216 GB, free: 5.871 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.3315, allocations: 111.5 kB / 0.6217 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.3e-05/0.3316, allocations: 27.83 kB / 0.6217 GB, free: 5.734 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.3319, allocations: 19.98 kB / 0.6217 GB, free: 5.715 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.332, allocations: 52.41 kB / 0.6218 GB, free: 5.664 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.598e-05/0.3321, allocations: 19.98 kB / 0.6218 GB, free: 5.645 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004609/0.3326, allocations: 362.8 kB / 0.6221 GB, free: 5.289 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.3326, allocations: 0 / 0.6221 GB, free: 5.289 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0009929/0.3336, allocations: 299.4 kB / 0.6224 GB, free: 4.996 MB / 0.5417 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.0007859/0.3343, allocations: 431.1 kB / 0.6228 GB, free: 4.57 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001874/0.3362, allocations: 0.8595 MB / 0.6237 GB, free: 3.672 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3362, allocations: 0 / 0.6237 GB, free: 3.672 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.3374, allocations: 0.6144 MB / 0.6243 GB, free: 3.023 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.3387, allocations: 244.6 kB / 0.6245 GB, free: 2.801 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.3414, allocations: 1.294 MB / 0.6258 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.3418, allocations: 313.7 kB / 0.6261 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004425/0.3422, allocations: 129.9 kB / 0.6262 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.3424, allocations: 68.45 kB / 0.6263 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of SimCode: time 1.193e-06/0.3424, allocations: 4 kB / 0.6263 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of Templates: time 0.03038/0.3728, allocations: 15.4 MB / 0.6413 GB, free: 1.805 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 240] 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: 7.183952879044227]