Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001377/0.001377, allocations: 92.7 kB / 19.44 MB, free: 324 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.001536/0.001536, allocations: 161.3 kB / 22.75 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.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.052/1.052, allocations: 118.6 MB / 378.2 MB, free: 1.496 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/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_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_ThermofluidStream.Processes.Tests.Compressor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 482.9 MB, free: 8.336 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.333e-05, allocations: 2.312 kB / 482.9 MB, free: 8.332 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05641/0.05644, allocations: 44.39 MB / 0.5149 GB, free: 4.598 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01503/0.07147, allocations: 10.12 MB / 0.5248 GB, free: 10.44 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005643/0.07203, allocations: 31.69 kB / 0.5248 GB, free: 10.41 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008219/0.07285, allocations: 250.1 kB / 0.5251 GB, free: 10.16 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00173/0.07458, allocations: 0.6169 MB / 0.5257 GB, free: 9.543 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.07691, allocations: 0.7699 MB / 0.5264 GB, free: 8.77 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00138/0.07829, allocations: 1.042 MB / 0.5274 GB, free: 7.723 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000257/0.07855, allocations: 106 kB / 0.5275 GB, free: 7.617 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03356/0.1121, allocations: 12.73 MB / 0.54 GB, free: 10.79 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006674/0.1128, allocations: 363 kB / 0.5403 GB, free: 10.43 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.1129, allocations: 52 kB / 0.5404 GB, free: 10.38 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1274/0.2403, allocations: 52.67 MB / 0.5918 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003822/0.2407, allocations: 155.4 kB / 0.5919 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004914/0.2412, allocations: 235.4 kB / 0.5922 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002694/0.2439, allocations: 1.211 MB / 0.5933 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2439, allocations: 0 / 0.5933 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2439, allocations: 4 kB / 0.5934 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.2439, allocations: 0 / 0.5934 GB, free: 3.543 MB / 0.5105 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.00255/0.2465, allocations: 1.037 MB / 0.5944 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2465, allocations: 19.95 kB / 0.5944 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003843/0.2469, allocations: 132.4 kB / 0.5945 GB, free: 2.324 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009622/0.2478, allocations: 0.4914 MB / 0.595 GB, free: 1.801 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.248, allocations: 140.4 kB / 0.5951 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.2481, allocations: 60.28 kB / 0.5952 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.2495, allocations: 0.7062 MB / 0.5959 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.2495, allocations: 0 / 0.5959 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.32e-05/0.2496, allocations: 20 kB / 0.5959 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-05/0.2496, allocations: 24.98 kB / 0.5959 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.2509, allocations: 0.6713 MB / 0.5966 GB, free: 140 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004285/0.2552, allocations: 1.888 MB / 0.5984 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.257, allocations: 0.5874 MB / 0.599 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007022/0.2577, allocations: 308.9 kB / 0.5993 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001829/0.2595, allocations: 352.1 kB / 0.5996 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/0.2595, allocations: 39.06 kB / 0.5997 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=63): time 2.344e-06/0.2595, allocations: 0 / 0.5997 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65): time 0.004967/0.2645, allocations: 1.88 MB / 0.6015 GB, free: 11 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.2646, allocations: 64 kB / 0.6016 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005382/0.2651, allocations: 386 kB / 0.6019 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.43e-05/0.2652, allocations: 37.7 kB / 0.602 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.2654, allocations: 261.5 kB / 0.6022 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/0.2657, allocations: 234 kB / 0.6024 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.2659, allocations: 114.3 kB / 0.6025 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002396/0.2661, allocations: 370.7 kB / 0.6029 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005447/0.2667, allocations: 233.1 kB / 0.6031 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006188/0.2673, allocations: 300.2 kB / 0.6034 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.2685, allocations: 0.5642 MB / 0.604 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2685, allocations: 0 / 0.604 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002032/0.2706, allocations: 0.8331 MB / 0.6048 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.2706, allocations: 8 kB / 0.6048 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/0.2706, allocations: 4 kB / 0.6048 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005635/0.2712, allocations: 144.8 kB / 0.6049 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/0.2717, allocations: 115.8 kB / 0.605 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003724/0.2755, allocations: 2.326 MB / 0.6073 GB, free: 4.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/0.2759, allocations: 20.02 kB / 0.6073 GB, free: 4.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-05/0.276, allocations: 31.92 kB / 0.6073 GB, free: 4.809 MB / 0.5261 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.0003795/0.2763, allocations: 193.7 kB / 0.6075 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003279/0.2767, allocations: 95.55 kB / 0.6076 GB, free: 4.516 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/0.2789, allocations: 1.01 MB / 0.6086 GB, free: 3.492 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.279, allocations: 11.94 kB / 0.6086 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.279, allocations: 0 / 0.6086 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.279, allocations: 3.984 kB / 0.6086 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003123/0.2821, allocations: 1.414 MB / 0.61 GB, free: 2.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.2821, allocations: 4 kB / 0.61 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005273/0.2826, allocations: 95.88 kB / 0.6101 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005179/0.2832, allocations: 143.7 kB / 0.6102 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.508e-05/0.2832, allocations: 27.97 kB / 0.6103 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003646/0.2869, allocations: 2.329 MB / 0.6125 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.2869, allocations: 4.031 kB / 0.6125 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002769/0.2896, allocations: 1.242 MB / 0.6138 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003081/0.2899, allocations: 107.6 kB / 0.6139 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.916e-05/0.29, allocations: 23.92 kB / 0.6139 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.2904, allocations: 19.98 kB / 0.6139 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.2905, allocations: 44.41 kB / 0.6139 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.628e-05/0.2906, allocations: 19.98 kB / 0.614 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004244/0.291, allocations: 310.9 kB / 0.6143 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.291, allocations: 0 / 0.6143 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001019/0.292, allocations: 303.4 kB / 0.6145 GB, free: 13.24 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.0007871/0.2928, allocations: 429.5 kB / 0.615 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001875/0.2947, allocations: 0.8164 MB / 0.6158 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2947, allocations: 3.938 kB / 0.6158 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.2958, allocations: 0.5436 MB / 0.6163 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.2971, allocations: 247.3 kB / 0.6165 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.2999, allocations: 1.337 MB / 0.6178 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.3003, allocations: 313.7 kB / 0.6181 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004882/0.3008, allocations: 140.5 kB / 0.6183 GB, free: 9.324 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.301, allocations: 68.45 kB / 0.6183 GB, free: 9.258 MB / 0.5417 GB Notification: Performance of SimCode: time 1.122e-06/0.301, allocations: 0 / 0.6183 GB, free: 9.258 MB / 0.5417 GB Notification: Performance of Templates: time 0.03007/0.3311, allocations: 15.34 MB / 0.6333 GB, free: 10.18 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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.643538175034337]