Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.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.0007707/0.0007707, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008404/0.0008404, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8567/0.8567, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.4993/0.4993, allocations: 80.18 MB / 340.1 MB, free: 7.555 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine") translateModel(ThermofluidStream.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.4936 GB, free: 6.367 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.967e-05, allocations: 2.281 kB / 0.4936 GB, free: 6.363 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1023/0.1023, allocations: 130.1 MB / 0.6207 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00684/0.1091, allocations: 10.23 MB / 0.6307 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.1093, allocations: 31.75 kB / 0.6307 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0004242/0.1097, allocations: 274 kB / 0.6309 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.000642/0.1104, allocations: 0.6054 MB / 0.6315 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007987/0.1112, allocations: 0.7349 MB / 0.6323 GB, free: 9.492 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0005829/0.1117, allocations: 1.038 MB / 0.6333 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.1119, allocations: 106.2 kB / 0.6334 GB, free: 8.348 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004652/0.1124, allocations: 0.5532 MB / 0.6339 GB, free: 7.793 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000374/0.1127, allocations: 442.9 kB / 0.6343 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 5.132e-05/0.1128, allocations: 52 kB / 0.6344 GB, free: 7.309 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008017/0.1136, allocations: 0.9083 MB / 0.6353 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 9.696e-05/0.1137, allocations: 167.3 kB / 0.6354 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.1138, allocations: 235.4 kB / 0.6356 GB, free: 6.004 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0008957/0.1147, allocations: 1.153 MB / 0.6368 GB, free: 4.848 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.1147, allocations: 7.938 kB / 0.6368 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1147, allocations: 3.938 kB / 0.6368 GB, free: 4.836 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.1147, allocations: 0 / 0.6368 GB, free: 4.836 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.00139/0.1161, allocations: 1.003 MB / 0.6378 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.1162, allocations: 14.06 kB / 0.6378 GB, free: 3.789 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.1163, allocations: 92.39 kB / 0.6379 GB, free: 3.699 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/0.1167, allocations: 455.3 kB / 0.6383 GB, free: 3.223 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.097e-05/0.1168, allocations: 148.4 kB / 0.6384 GB, free: 3.055 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.743e-05/0.1169, allocations: 48.33 kB / 0.6385 GB, free: 3.008 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000674/0.1176, allocations: 0.7255 MB / 0.6392 GB, free: 2.246 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1176, allocations: 0 / 0.6392 GB, free: 2.246 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.1176, allocations: 16 kB / 0.6392 GB, free: 2.23 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.1176, allocations: 21 kB / 0.6392 GB, free: 2.211 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006898/0.1183, allocations: 0.6831 MB / 0.6399 GB, free: 1.527 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1787/0.297, allocations: 1.903 MB / 0.6418 GB, free: 149.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008847/0.2979, allocations: 0.5858 MB / 0.6423 GB, free: 149.4 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.2983, allocations: 330.6 kB / 0.6426 GB, free: 149.3 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007607/0.299, allocations: 301.3 kB / 0.6429 GB, free: 149.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.2991, allocations: 42.53 kB / 0.643 GB, free: 149.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=62): time 2.284e-06/0.2991, allocations: 0 / 0.643 GB, free: 149.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=64): time 0.002668/0.3017, allocations: 1.953 MB / 0.6449 GB, free: 148.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.3017, allocations: 58.25 kB / 0.6449 GB, free: 148.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.302, allocations: 371.2 kB / 0.6453 GB, free: 148.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.302, allocations: 35.92 kB / 0.6453 GB, free: 148.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.668e-05/0.3021, allocations: 257.6 kB / 0.6456 GB, free: 148 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.078e-05/0.3022, allocations: 230.6 kB / 0.6458 GB, free: 147.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.3023, allocations: 107.7 kB / 0.6459 GB, free: 147.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.595e-05/0.3024, allocations: 365.8 kB / 0.6462 GB, free: 147.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/0.3027, allocations: 256 kB / 0.6465 GB, free: 147.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.3031, allocations: 337.4 kB / 0.6468 GB, free: 147.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006681/0.3037, allocations: 0.6159 MB / 0.6474 GB, free: 146.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3037, allocations: 2.406 kB / 0.6474 GB, free: 146.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001034/0.3048, allocations: 0.8538 MB / 0.6482 GB, free: 146.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3048, allocations: 8.609 kB / 0.6483 GB, free: 146.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.3048, allocations: 4.422 kB / 0.6483 GB, free: 146.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002664/0.3051, allocations: 137.2 kB / 0.6484 GB, free: 146.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.3053, allocations: 111.3 kB / 0.6485 GB, free: 146.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.3068, allocations: 2.313 MB / 0.6508 GB, free: 144.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.3069, allocations: 19.47 kB / 0.6508 GB, free: 144.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.307, allocations: 36.05 kB / 0.6508 GB, free: 144.7 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0001495/0.3071, allocations: 193.3 kB / 0.651 GB, free: 144.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.868e-05/0.3072, allocations: 69.22 kB / 0.6511 GB, free: 144.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.3085, allocations: 1.027 MB / 0.6521 GB, free: 144 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.3085, allocations: 6.781 kB / 0.6521 GB, free: 144 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3085, allocations: 6.188 kB / 0.6521 GB, free: 144 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3085, allocations: 3.812 kB / 0.6521 GB, free: 144 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.3101, allocations: 1.487 MB / 0.6535 GB, free: 143.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.3101, allocations: 3 kB / 0.6535 GB, free: 143.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.3103, allocations: 97.31 kB / 0.6536 GB, free: 143.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002088/0.3105, allocations: 132.7 kB / 0.6537 GB, free: 143.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.3105, allocations: 17.39 kB / 0.6538 GB, free: 143.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.3118, allocations: 2.266 MB / 0.656 GB, free: 141.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3118, allocations: 0 / 0.656 GB, free: 141.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.313, allocations: 1.262 MB / 0.6572 GB, free: 140.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.313, allocations: 48.2 kB / 0.6573 GB, free: 140.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.3131, allocations: 15.31 kB / 0.6573 GB, free: 140.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.3132, allocations: 19.22 kB / 0.6573 GB, free: 140.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.3133, allocations: 43.25 kB / 0.6573 GB, free: 140.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.3133, allocations: 26.02 kB / 0.6574 GB, free: 140.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001752/0.3135, allocations: 292.6 kB / 0.6576 GB, free: 140.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4e-08/0.3135, allocations: 1.656 kB / 0.6576 GB, free: 140.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005635/0.314, allocations: 289.5 kB / 0.6579 GB, free: 140.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (turbine.m_flow,turbine1.m_flow,turbine1.phi,turbine1.omega) * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004224/0.3145, allocations: 410.6 kB / 0.6583 GB, free: 140.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000909/0.3154, allocations: 0.8671 MB / 0.6592 GB, free: 139.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3154, allocations: 1.156 kB / 0.6592 GB, free: 139.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004648/0.3158, allocations: 0.5607 MB / 0.6597 GB, free: 139.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005993/0.3164, allocations: 231.4 kB / 0.6599 GB, free: 139.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.3178, allocations: 1.325 MB / 0.6612 GB, free: 138.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.3179, allocations: 307.4 kB / 0.6615 GB, free: 138.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.3181, allocations: 70.64 kB / 0.6616 GB, free: 138.1 MB / 0.5417 GB Notification: Performance of SimCode: time 3.71e-07/0.3181, allocations: 3.031 kB / 0.6616 GB, free: 138.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.008587/0.3266, allocations: 14.69 MB / 0.6759 GB, free: 124.6 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Turbine_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Time,turbine.m_flow,turbine1.m_flow,turbine1.omega,turbine1.phi Variables in the result:time,turbine.m_flow,turbine1.m_flow,turbine1.omega,turbine1.phi [Calling sys.exit(0), Time elapsed: 5.773757370188832]