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.00139/0.00139, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.001505/0.001505, allocations: 163.6 kB / 22.45 MB, free: 5.375 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.433/1.433, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.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.9469/0.9469, allocations: 116.1 MB / 375.2 MB, free: 7.523 MB / 350.1 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.473e-06/1.473e-06, allocations: 0 / 0.5537 GB, free: 13.78 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.537e-05, allocations: 6.219 kB / 0.5538 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05405/0.05408, allocations: 44.36 MB / 0.5971 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01256/0.06664, allocations: 10.09 MB / 0.6069 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005232/0.06716, allocations: 35.69 kB / 0.607 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007353/0.06789, allocations: 254.1 kB / 0.6072 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.06941, allocations: 0.6053 MB / 0.6078 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.07147, allocations: 0.7698 MB / 0.6085 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001259/0.07273, allocations: 1.034 MB / 0.6096 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002351/0.07297, allocations: 102 kB / 0.6096 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03177/0.1047, allocations: 12.74 MB / 0.6221 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006208/0.1054, allocations: 351 kB / 0.6224 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.1055, allocations: 52 kB / 0.6225 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1352/0.2407, allocations: 52.66 MB / 0.6739 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003548/0.2411, allocations: 155.4 kB / 0.6741 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005568/0.2416, allocations: 231.4 kB / 0.6743 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002908/0.2445, allocations: 1.192 MB / 0.6754 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2445, allocations: 3.938 kB / 0.6754 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.604e-06/0.2445, allocations: 0 / 0.6754 GB, free: 304 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.26e-05/0.2445, allocations: 3.938 kB / 0.6754 GB, free: 300 kB / 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.002544/0.2471, allocations: 1.022 MB / 0.6764 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.2471, allocations: 12.03 kB / 0.6765 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002641/0.2474, allocations: 84.47 kB / 0.6765 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008503/0.2482, allocations: 467.2 kB / 0.677 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.2484, allocations: 148.4 kB / 0.6771 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.2485, allocations: 56.06 kB / 0.6772 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.2498, allocations: 0.7138 MB / 0.6779 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.2498, allocations: 0 / 0.6779 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.566e-05/0.2499, allocations: 24 kB / 0.6779 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/0.2499, allocations: 17 kB / 0.6779 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.2512, allocations: 0.6753 MB / 0.6786 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003616/0.2548, allocations: 1.873 MB / 0.6804 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.2564, allocations: 0.5952 MB / 0.681 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006451/0.2571, allocations: 298.5 kB / 0.6813 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001688/0.2588, allocations: 348.1 kB / 0.6816 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.2588, allocations: 43.06 kB / 0.6816 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=63): time 2.835e-06/0.2588, allocations: 0 / 0.6816 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of matching and sorting (n=65): time 0.004495/0.2633, allocations: 1.837 MB / 0.6834 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.2633, allocations: 60.06 kB / 0.6835 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004506/0.2638, allocations: 381.9 kB / 0.6839 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/0.2639, allocations: 37.7 kB / 0.6839 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.2641, allocations: 257.5 kB / 0.6841 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.2643, allocations: 233.9 kB / 0.6844 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.2645, allocations: 110.3 kB / 0.6845 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.2647, allocations: 366.8 kB / 0.6848 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005064/0.2652, allocations: 233.2 kB / 0.685 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005739/0.2657, allocations: 304.2 kB / 0.6853 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.2669, allocations: 0.5603 MB / 0.6859 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2669, allocations: 0 / 0.6859 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001746/0.2686, allocations: 0.8059 MB / 0.6867 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.2686, allocations: 8 kB / 0.6867 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.2686, allocations: 4 kB / 0.6867 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004747/0.2691, allocations: 132.3 kB / 0.6868 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005283/0.2697, allocations: 115.9 kB / 0.6869 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00295/0.2726, allocations: 2.313 MB / 0.6892 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.273, allocations: 24.02 kB / 0.6892 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.514e-05/0.273, allocations: 27.98 kB / 0.6892 GB, free: 1.777 MB / 0.5919 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.0003064/0.2733, allocations: 197.7 kB / 0.6894 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.2735, allocations: 75.55 kB / 0.6895 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.2756, allocations: 0.9988 MB / 0.6905 GB, free: 484 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.2756, allocations: 4 kB / 0.6905 GB, free: 480 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.2756, allocations: 4 kB / 0.6905 GB, free: 476 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.2757, allocations: 7.984 kB / 0.6905 GB, free: 468 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2648/0.5405, allocations: 1.391 MB / 0.6918 GB, free: 141.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.5405, allocations: 3.703 kB / 0.6918 GB, free: 141.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005189/0.541, allocations: 101.1 kB / 0.6919 GB, free: 141.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000432/0.5414, allocations: 143.5 kB / 0.6921 GB, free: 141.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.371e-05/0.5415, allocations: 22.62 kB / 0.6921 GB, free: 141.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/0.5438, allocations: 2.317 MB / 0.6944 GB, free: 139.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5438, allocations: 0.7812 kB / 0.6944 GB, free: 139.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.546, allocations: 1.204 MB / 0.6955 GB, free: 139.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/0.5462, allocations: 114.1 kB / 0.6956 GB, free: 139 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.559e-05/0.5463, allocations: 17.05 kB / 0.6957 GB, free: 139 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.5466, allocations: 24.42 kB / 0.6957 GB, free: 139 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.5467, allocations: 52.03 kB / 0.6957 GB, free: 139 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.689e-05/0.5468, allocations: 23.25 kB / 0.6957 GB, free: 139 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003272/0.5471, allocations: 301.4 kB / 0.696 GB, free: 138.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5471, allocations: 0.8125 kB / 0.696 GB, free: 138.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009083/0.548, allocations: 300.4 kB / 0.6963 GB, free: 138.8 MB / 0.5919 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.000676/0.5487, allocations: 422 kB / 0.6967 GB, free: 138.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.5504, allocations: 0.8194 MB / 0.6975 GB, free: 138.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.5504, allocations: 2.156 kB / 0.6975 GB, free: 138.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.5514, allocations: 0.5529 MB / 0.6981 GB, free: 138 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.5526, allocations: 220.8 kB / 0.6983 GB, free: 138 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.555, allocations: 1.312 MB / 0.6996 GB, free: 137.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.5553, allocations: 305.7 kB / 0.6999 GB, free: 137.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004101/0.5557, allocations: 135.8 kB / 0.7 GB, free: 137.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.5559, allocations: 67.02 kB / 0.7 GB, free: 137.2 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.5559, allocations: 1.75 kB / 0.7 GB, free: 137.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.02212/0.578, allocations: 15.04 MB / 0.7147 GB, free: 127.9 MB / 0.5919 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/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: 6.463864076882601]