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.001942/0.001942, allocations: 102.7 kB / 16.4 MB, free: 6.508 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.002287/0.002287, allocations: 199.8 kB / 19.35 MB, free: 3.73 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.451/1.451, allocations: 222.9 MB / 245 MB, free: 15 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.7401/0.7401, allocations: 89.46 MB / 386.7 MB, free: 8.449 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.002539/0.002539, allocations: 87.84 kB / 0.5229 GB, free: 3.941 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3168, allocations: 67.29 MB / 0.5886 GB, free: 16.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleAirCycle): time 0.8008/1.118, allocations: 395.2 MB / 0.9746 GB, free: 1.074 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.561/1.679, allocations: 72.64 MB / 1.046 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002596/1.681, allocations: 29.12 kB / 1.046 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.006737/1.688, allocations: 2.353 MB / 1.048 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02827/1.716, allocations: 9.393 MB / 1.057 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.02187/1.738, allocations: 7.364 MB / 1.064 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009044/1.747, allocations: 4.104 MB / 1.068 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/1.75, allocations: 1.102 MB / 1.069 GB, free: 16.1 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005872/1.756, allocations: 2.124 MB / 1.071 GB, free: 16.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004362/1.76, allocations: 1.93 MB / 1.073 GB, free: 16.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001274/1.761, allocations: 307.1 kB / 1.074 GB, free: 16.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05038/1.812, allocations: 25.38 MB / 1.098 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0021/1.814, allocations: 0.9539 MB / 1.099 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004199/1.818, allocations: 1.552 MB / 1.101 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.04519/1.863, allocations: 13.9 MB / 1.114 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.429e-05/1.863, allocations: 4 kB / 1.114 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.284e-06/1.863, allocations: 3.938 kB / 1.114 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001202/1.864, allocations: 0 / 1.114 GB, free: 11.79 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.01716/1.881, allocations: 5.65 MB / 1.12 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.881, allocations: 9.625 kB / 1.12 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/1.882, allocations: 306 kB / 1.12 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/1.884, allocations: 1.188 MB / 1.121 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007384/1.885, allocations: 0.691 MB / 1.122 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004702/1.885, allocations: 261.9 kB / 1.122 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007889/1.893, allocations: 4.35 MB / 1.127 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.18e-05/1.893, allocations: 0 / 1.127 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002417/1.894, allocations: 103.6 kB / 1.127 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002526/1.894, allocations: 208.3 kB / 1.127 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009623/1.903, allocations: 5.085 MB / 1.132 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02748/1.931, allocations: 15.58 MB / 1.147 GB, free: 7.008 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006084/1.937, allocations: 3.009 MB / 1.15 GB, free: 5.242 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004531/1.942, allocations: 2.278 MB / 1.152 GB, free: 3.844 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009538/1.951, allocations: 9.343 MB / 1.161 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/1.951, allocations: 64.08 kB / 1.161 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=309): time 9.027e-06/1.951, allocations: 2.625 kB / 1.161 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of matching and sorting (n=314): time 0.03576/1.987, allocations: 12.92 MB / 1.174 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001572/1.987, allocations: 210.4 kB / 1.174 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/1.989, allocations: 0.9382 MB / 1.175 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0007791/1.99, allocations: 82.95 kB / 1.175 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006674/1.99, allocations: 0.7272 MB / 1.176 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001522/1.992, allocations: 1.107 MB / 1.177 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/1.993, allocations: 0.5065 MB / 1.177 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.993, allocations: 305.1 kB / 1.178 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003891/1.997, allocations: 1.707 MB / 1.179 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004537/2.002, allocations: 1.917 MB / 1.181 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008754/2.01, allocations: 3.67 MB / 1.185 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/2.01, allocations: 4 kB / 1.185 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.01603/2.026, allocations: 5.259 MB / 1.19 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/2.026, allocations: 4 kB / 1.19 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.605e-05/2.027, allocations: 15.94 kB / 1.19 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003013/2.03, allocations: 0.8352 MB / 1.191 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003385/2.033, allocations: 0.619 MB / 1.191 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02196/2.055, allocations: 14.69 MB / 1.206 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/2.057, allocations: 149.4 kB / 1.206 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009442/2.058, allocations: 186.1 kB / 1.206 GB, free: 13.07 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.002087/2.06, allocations: 0.5373 MB / 1.207 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001098/2.062, allocations: 198.8 kB / 1.207 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02026/2.082, allocations: 8.23 MB / 1.215 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001046/2.082, allocations: 32 kB / 1.215 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.729e-05/2.082, allocations: 11.94 kB / 1.215 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.94e-05/2.082, allocations: 15.94 kB / 1.215 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02319/2.105, allocations: 9.233 MB / 1.224 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.84e-05/2.105, allocations: 13.97 kB / 1.224 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003589/2.109, allocations: 0.6161 MB / 1.225 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003149/2.112, allocations: 0.8485 MB / 1.225 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008572/2.113, allocations: 129.5 kB / 1.226 GB, free: 9.223 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02223/2.135, allocations: 14.68 MB / 1.24 GB, free: 9.656 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/2.135, allocations: 0 / 1.24 GB, free: 9.656 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02102/2.156, allocations: 7.711 MB / 1.247 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001994/2.158, allocations: 0.6594 MB / 1.248 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008257/2.159, allocations: 65.72 kB / 1.248 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/2.161, allocations: 146.6 kB / 1.248 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007514/2.162, allocations: 256.2 kB / 1.248 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005803/2.163, allocations: 174.5 kB / 1.249 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001368/2.164, allocations: 0.7867 MB / 1.249 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.513e-06/2.164, allocations: 0 / 1.249 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.01057/2.175, allocations: 3.294 MB / 1.253 GB, free: 12.48 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.0142/2.189, allocations: 3.976 MB / 1.257 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01458/2.204, allocations: 5.721 MB / 1.262 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.535e-06/2.204, allocations: 0 / 1.262 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.009233/2.213, allocations: 3.767 MB / 1.266 GB, free: 15.14 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00579/2.219, allocations: 0.9037 MB / 1.267 GB, free: 14.27 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/2.232, allocations: 5.934 MB / 1.272 GB, free: 8.316 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002253/2.234, allocations: 1.737 MB / 1.274 GB, free: 6.543 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.004464/2.239, allocations: 1.401 MB / 1.276 GB, free: 5.172 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/2.24, allocations: 287.3 kB / 1.276 GB, free: 4.891 MB / 0.92 GB Notification: Performance of SimCode: time 1.693e-06/2.24, allocations: 0 / 1.276 GB, free: 4.891 MB / 0.92 GB Notification: Performance of Templates: time 0.2032/2.443, allocations: 115.2 MB / 1.388 GB, free: 2.121 MB / 1.029 GB " [Timeout remaining time 658] 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: 13.038269369862974]