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.001743/0.001743, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002436/0.002436, allocations: 186 kB / 20.78 MB, free: 1.547 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.604/1.604, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.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.7304/0.7304, allocations: 90.31 MB / 394.8 MB, free: 3.91 MB / 318.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.002423/0.002423, allocations: 79.88 kB / 0.5386 GB, free: 1.613 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5578/0.5602, allocations: 70.83 MB / 0.6078 GB, free: 7.398 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleAirCycle): time 1.083/1.643, allocations: 398.7 MB / 0.9971 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.09814/1.741, allocations: 73.41 MB / 1.069 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003498/1.745, allocations: 29.09 kB / 1.069 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.007784/1.752, allocations: 2.459 MB / 1.071 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.03204/1.784, allocations: 9.51 MB / 1.081 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.02372/1.808, allocations: 7.436 MB / 1.088 GB, free: 9.176 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.008334/1.816, allocations: 4.098 MB / 1.092 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/1.818, allocations: 0.645 MB / 1.092 GB, free: 4.371 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005561/1.823, allocations: 2.145 MB / 1.095 GB, free: 2.219 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004337/1.828, allocations: 2.02 MB / 1.097 GB, free: 196 kB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.00113/1.829, allocations: 308 kB / 1.097 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05193/1.881, allocations: 26.17 MB / 1.122 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002223/1.883, allocations: 0.9659 MB / 1.123 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002678/1.886, allocations: 1.552 MB / 1.125 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.04916/1.935, allocations: 13.91 MB / 1.138 GB, free: 5.195 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.935, allocations: 3.938 kB / 1.138 GB, free: 5.191 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.783e-06/1.935, allocations: 0 / 1.138 GB, free: 5.191 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001302/1.935, allocations: 0 / 1.138 GB, free: 5.191 MB / 0.795 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.02054/1.956, allocations: 5.642 MB / 1.144 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.956, allocations: 16.03 kB / 1.144 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000918/1.957, allocations: 306.2 kB / 1.144 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00229/1.959, allocations: 1.184 MB / 1.145 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007845/1.96, allocations: 0.693 MB / 1.146 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000431/1.96, allocations: 259.9 kB / 1.146 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008165/1.968, allocations: 4.323 MB / 1.151 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.675e-05/1.968, allocations: 7.891 kB / 1.151 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000246/1.969, allocations: 95.98 kB / 1.151 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000321/1.969, allocations: 208.9 kB / 1.151 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0095/1.978, allocations: 5.083 MB / 1.156 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02629/2.005, allocations: 15.59 MB / 1.171 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005627/2.01, allocations: 2.791 MB / 1.174 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003974/2.014, allocations: 2.083 MB / 1.176 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009851/2.024, allocations: 9.339 MB / 1.185 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.66e-05/2.024, allocations: 64.95 kB / 1.185 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=309): time 8.366e-06/2.024, allocations: 0 / 1.185 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of matching and sorting (n=314): time 0.4695/2.494, allocations: 12.89 MB / 1.198 GB, free: 371.7 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/2.494, allocations: 88.03 kB / 1.198 GB, free: 371.6 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/2.495, allocations: 0.9407 MB / 1.199 GB, free: 371.2 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0006554/2.496, allocations: 76.95 kB / 1.199 GB, free: 371.2 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005447/2.497, allocations: 0.7229 MB / 1.199 GB, free: 370.7 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001147/2.498, allocations: 1.109 MB / 1.2 GB, free: 369.9 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/2.499, allocations: 0.5042 MB / 1.201 GB, free: 369.7 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.801e-05/2.499, allocations: 307.2 kB / 1.201 GB, free: 369.4 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003642/2.503, allocations: 1.706 MB / 1.203 GB, free: 368.8 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004353/2.507, allocations: 1.89 MB / 1.205 GB, free: 368.1 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007399/2.514, allocations: 3.663 MB / 1.208 GB, free: 366.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/2.514, allocations: 3.938 kB / 1.208 GB, free: 366.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.0133/2.528, allocations: 5.238 MB / 1.213 GB, free: 364.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/2.528, allocations: 9 kB / 1.213 GB, free: 364.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-05/2.528, allocations: 9.922 kB / 1.213 GB, free: 364.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002807/2.531, allocations: 0.8383 MB / 1.214 GB, free: 364.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003711/2.534, allocations: 0.6234 MB / 1.215 GB, free: 364.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01651/2.551, allocations: 14.68 MB / 1.229 GB, free: 352.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/2.553, allocations: 144.8 kB / 1.229 GB, free: 352.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004936/2.554, allocations: 180.8 kB / 1.229 GB, free: 352.3 MB / 0.8419 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.001344/2.555, allocations: 0.5348 MB / 1.23 GB, free: 352 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006334/2.556, allocations: 196.8 kB / 1.23 GB, free: 351.9 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/2.57, allocations: 8.205 MB / 1.238 GB, free: 348.9 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.267e-05/2.57, allocations: 38.86 kB / 1.238 GB, free: 348.9 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/2.57, allocations: 15.81 kB / 1.238 GB, free: 348.9 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.042e-05/2.57, allocations: 14.53 kB / 1.238 GB, free: 348.9 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/2.586, allocations: 9.22 MB / 1.247 GB, free: 343.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.374e-05/2.586, allocations: 7.938 kB / 1.247 GB, free: 343.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002593/2.589, allocations: 0.608 MB / 1.248 GB, free: 343.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002173/2.591, allocations: 0.8577 MB / 1.249 GB, free: 343.2 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003061/2.591, allocations: 119.4 kB / 1.249 GB, free: 343.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01444/2.606, allocations: 14.66 MB / 1.263 GB, free: 330.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/2.606, allocations: 3.438 kB / 1.263 GB, free: 330.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01442/2.62, allocations: 7.683 MB / 1.271 GB, free: 325.6 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/2.621, allocations: 0.6712 MB / 1.271 GB, free: 325 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003695/2.622, allocations: 63.83 kB / 1.271 GB, free: 324.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/2.623, allocations: 140.4 kB / 1.272 GB, free: 324.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005903/2.624, allocations: 260.3 kB / 1.272 GB, free: 324.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003154/2.624, allocations: 175.7 kB / 1.272 GB, free: 324.3 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000845/2.625, allocations: 0.7944 MB / 1.273 GB, free: 323.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/2.625, allocations: 0 / 1.273 GB, free: 323.5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00923/2.634, allocations: 3.295 MB / 1.276 GB, free: 320.9 MB / 0.8419 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.01018/2.644, allocations: 3.982 MB / 1.28 GB, free: 317.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01001/2.654, allocations: 5.465 MB / 1.285 GB, free: 311.9 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/2.654, allocations: 0 / 1.285 GB, free: 311.9 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.006077/2.66, allocations: 3.593 MB / 1.289 GB, free: 308.2 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004039/2.664, allocations: 0.896 MB / 1.29 GB, free: 307.3 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009773/2.674, allocations: 5.942 MB / 1.295 GB, free: 301.3 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/2.676, allocations: 1.741 MB / 1.297 GB, free: 299.6 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.003511/2.679, allocations: 1.41 MB / 1.298 GB, free: 298.2 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007817/2.68, allocations: 283.3 kB / 1.299 GB, free: 297.9 MB / 0.8419 GB Notification: Performance of SimCode: time 1.573e-06/2.68, allocations: 0 / 1.299 GB, free: 297.9 MB / 0.8419 GB Notification: Performance of Templates: time 0.1394/2.819, allocations: 116.7 MB / 1.413 GB, free: 181.4 MB / 0.8419 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.17625555768609]