Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 107.1 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 198.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.8812/0.8812, allocations: 90.29 MB / 393 MB, free: 4.434 MB / 302.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Examples.SimpleAirCycle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|compressor.m_flow|compressor.omega|compressor.phi|fan.m_flow|fan1.m_flow|heatExchange_CounterFlowNTU.h_out_A|heatExchange_CounterFlowNTU.h_out_B|heatExchange_CounterFlowNTU1.h_out_A|heatExchange_CounterFlowNTU1.h_out_B|heatExchange_CounterFlowNTU2.h_out_A|heatExchange_CounterFlowNTU2.h_out_B|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle") translateModel(ThermofluidStream.Examples.SimpleAirCycle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|compressor.m_flow|compressor.omega|compressor.phi|fan.m_flow|fan1.m_flow|heatExchange_CounterFlowNTU.h_out_A|heatExchange_CounterFlowNTU.h_out_B|heatExchange_CounterFlowNTU1.h_out_A|heatExchange_CounterFlowNTU1.h_out_B|heatExchange_CounterFlowNTU2.h_out_A|heatExchange_CounterFlowNTU2.h_out_B|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 81.7 kB / 0.5359 GB, free: 42.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1539, allocations: 70.83 MB / 0.605 GB, free: 280 kB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleAirCycle): time 0.978/1.132, allocations: 396.9 MB / 0.9927 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7211/1.853, allocations: 72.95 MB / 1.064 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003486/1.856, allocations: 30.09 kB / 1.064 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.007213/1.864, allocations: 2.461 MB / 1.066 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.03104/1.895, allocations: 9.509 MB / 1.076 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.02107/1.916, allocations: 7.424 MB / 1.083 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006742/1.923, allocations: 4.105 MB / 1.087 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/1.924, allocations: 0.7459 MB / 1.088 GB, free: 16.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004805/1.929, allocations: 2.142 MB / 1.09 GB, free: 16.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003861/1.933, allocations: 2.018 MB / 1.092 GB, free: 16.04 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0009604/1.934, allocations: 309.2 kB / 1.092 GB, free: 16.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05182/1.986, allocations: 26.17 MB / 1.118 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001887/1.987, allocations: 0.9706 MB / 1.118 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002741/1.99, allocations: 1.55 MB / 1.12 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.04188/2.032, allocations: 13.9 MB / 1.134 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/2.032, allocations: 0 / 1.134 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.994e-06/2.032, allocations: 0 / 1.134 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001106/2.032, allocations: 2.625 kB / 1.134 GB, free: 8.66 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.01894/2.051, allocations: 5.646 MB / 1.139 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/2.051, allocations: 8.031 kB / 1.139 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/2.052, allocations: 313.7 kB / 1.139 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/2.055, allocations: 1.184 MB / 1.141 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007757/2.055, allocations: 0.6939 MB / 1.141 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004681/2.056, allocations: 260.7 kB / 1.141 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008298/2.064, allocations: 4.319 MB / 1.146 GB, free: 15.4 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.048e-05/2.064, allocations: 10.62 kB / 1.146 GB, free: 15.39 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002369/2.064, allocations: 103.4 kB / 1.146 GB, free: 15.37 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002714/2.065, allocations: 201.5 kB / 1.146 GB, free: 15.2 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009129/2.074, allocations: 5.089 MB / 1.151 GB, free: 11.75 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02691/2.101, allocations: 15.58 MB / 1.166 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005885/2.107, allocations: 2.793 MB / 1.169 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004935/2.111, allocations: 2.083 MB / 1.171 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009948/2.121, allocations: 9.338 MB / 1.18 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/2.122, allocations: 71.02 kB / 1.18 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=309): time 7.373e-06/2.122, allocations: 4 kB / 1.18 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=314): time 0.03511/2.157, allocations: 12.91 MB / 1.193 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.449e-05/2.157, allocations: 81.84 kB / 1.193 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/2.158, allocations: 0.9382 MB / 1.194 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0006576/2.159, allocations: 75.11 kB / 1.194 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007348/2.16, allocations: 0.7194 MB / 1.195 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.00154/2.161, allocations: 1.108 MB / 1.196 GB, free: 452 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001042/2.162, allocations: 0.5071 MB / 1.196 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001555/2.162, allocations: 305.1 kB / 1.196 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003712/2.166, allocations: 1.707 MB / 1.198 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004111/2.17, allocations: 1.885 MB / 1.2 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008106/2.178, allocations: 3.67 MB / 1.203 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/2.178, allocations: 0.875 kB / 1.203 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.01373/2.192, allocations: 5.235 MB / 1.209 GB, free: 3.051 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/2.192, allocations: 10.81 kB / 1.209 GB, free: 3.043 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.038e-05/2.192, allocations: 11.98 kB / 1.209 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002789/2.195, allocations: 0.8313 MB / 1.209 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003355/2.198, allocations: 0.6171 MB / 1.21 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02073/2.219, allocations: 14.7 MB / 1.224 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/2.221, allocations: 141.8 kB / 1.225 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000596/2.222, allocations: 183.9 kB / 1.225 GB, free: 1.695 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (276): * Single equations (assignments): 251 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(2,17,100.0%), (1,3,100.0%), (3,1,88.9%), (3,1,88.9%), (2,17,100.0%), (1,1,100.0%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001356/2.223, allocations: 0.5286 MB / 1.225 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007036/2.224, allocations: 198.8 kB / 1.225 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01761/2.242, allocations: 8.215 MB / 1.233 GB, free: 8.758 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001034/2.242, allocations: 32 kB / 1.233 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.3e-05/2.242, allocations: 16 kB / 1.233 GB, free: 8.711 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.281e-05/2.242, allocations: 15.94 kB / 1.233 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02151/2.263, allocations: 9.21 MB / 1.242 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-05/2.263, allocations: 16.11 kB / 1.242 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003212/2.267, allocations: 0.6089 MB / 1.243 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002763/2.269, allocations: 0.8586 MB / 1.244 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005754/2.27, allocations: 122.6 kB / 1.244 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02101/2.291, allocations: 14.66 MB / 1.258 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/2.291, allocations: 4 kB / 1.258 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01934/2.31, allocations: 7.686 MB / 1.266 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002162/2.313, allocations: 0.6633 MB / 1.267 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005596/2.313, allocations: 71.06 kB / 1.267 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/2.315, allocations: 137.2 kB / 1.267 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006293/2.315, allocations: 262.9 kB / 1.267 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004252/2.316, allocations: 171.9 kB / 1.267 GB, free: 5.277 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001255/2.317, allocations: 0.7828 MB / 1.268 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of sort global known variables: time 8e-08/2.317, allocations: 0 / 1.268 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.01131/2.328, allocations: 3.298 MB / 1.271 GB, free: 1.184 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (heatExchange_CounterFlowNTU.h_out_A,heatExchange_CounterFlowNTU.h_out_B,heatExchange_CounterFlowNTU1.h_out_A,heatExchange_CounterFlowNTU1.h_out_B,compressor.m_flow,compressor.phi,compressor.omega,heatExchange_CounterFlowNTU2.inletA.m_flow,heatExchange_CounterFlowNTU2.h_out_A,heatExchange_CounterFlowNTU2.h_out_B,turbine1.phi,turbine1.omega,splitterT1_1.splitterN.inlet.m_flow,splitterT1_2.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 (279): * Single equations (assignments): 254 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(3,1,88.9%), (1,1,100.0%), (2,17,100.0%), (3,1,88.9%), (3,1,88.9%), (2,17,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01407/2.342, allocations: 3.976 MB / 1.275 GB, free: 13.5 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01351/2.356, allocations: 5.465 MB / 1.28 GB, free: 7.926 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/2.356, allocations: 0 / 1.28 GB, free: 7.926 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.008459/2.364, allocations: 3.594 MB / 1.284 GB, free: 4.262 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004981/2.369, allocations: 0.9133 MB / 1.285 GB, free: 3.391 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/2.382, allocations: 5.924 MB / 1.291 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00193/2.384, allocations: 1.741 MB / 1.292 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.004084/2.388, allocations: 1.399 MB / 1.294 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009755/2.389, allocations: 287.3 kB / 1.294 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of SimCode: time 1.393e-06/2.389, allocations: 0 / 1.294 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of Templates: time 0.6282/3.017, allocations: 115.6 MB / 1.407 GB, free: 0.5439 GB / 1.029 GB " [Timeout remaining time 657] make -j1 -f ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.pipe >> ../files/ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.sim & ./ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.SimpleAirCycle_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.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: 14.340490245260298]